// Author: IACATAS/Creator: MapViewSVG Professional 7.0.2 for ArcGIS by uismedia (http://www.mapviewsvg.com); 27/12/2008 11:33:01
var theScalebarFlag = false;
var ObjectLinkText = "Mayor información";
var BrowserSet = 'width=400,height=400,top=50,left=50,toolbar=no,menubar=no,location=no,hotkeys=no,resizable=yes,scrollbars=no,dependent=yes,status=no';
var infoWindowLabel = "Mostrar datos de objeto";
var CloseButText = "Cerrar consulta";
var PrintButText = "Imprimir";
var WMSLayerArray = new Array(0);
var ShareGeomArray = new Array();
var ShareGeomId = '';
var theHiColor = 'red';
var theBGColor = 'white';
var theBGColor2 = 'silver';
var SVGSupportText = "Para mostrar esta página necesita el programa gratuito Adobe SVG Viewer 3.0.\n(http://www.adobe.com/svg/viewer/install/main.html)";
var theLegMapKoeff = 77.1703703703704;
var QueryNoRecText = "No se encontraron registros.";
var SVGover;
var SVGoverRect;
var theOverviewFlag = true;
var theLegendFlag = true;
var SVGlegend;
var ScrollArray = new Array(2);
ScrollArray[0] = new Array('gesamtLeg0',-1060,0.270216962524655,25,461,0);
var theGetscaleFlag = true;
var theGeneralScaleFlag = true;
var theScaleConvert = 3393;
var CheckStatus = 'w19eHD4';
var butZoomFlag = false;
var thePrecision = 1;
var theXOrigin = 194372.6;
var theYOrigin = 2186252.8;
var maxScaleFakt = 20;
var theProfVersion = 1;
var theTileCount = 100;
var theProgNS = "http://www.mapviewsvg.com";

function OperaFlag() {
  var theFlag = false;
  if (document.implementation && document.implementation.createDocument) {
    if (navigator.userAgent.toLowerCase().indexOf('opera') != -1) theFlag = true;
  }
  return theFlag;
}
function embedHead() {
  if (OperaFlag()) {
    document.write('<div id="head"><object type="image/svg+xml" id="svgdocHead" data="embfiles/head.svg" width="978px" height="35px"><param name="src" value="embfiles/head.svg"></object></div>');
  } else {
    document.write('<div id="head"><embed type="image/svg+xml" id="svgdocHead" src="embfiles/head.svg" width="978px" height="35px"/></div>');
  }
}
function embedLegend() {
  if (OperaFlag()) {
    document.write('<div id="legend"><object type="image/svg+xml"  id="svgdocLegend" data="embfiles/legend.svg" width="330px" height="454px"><param name="src" value="embfiles/legend.svg"></object></div>');
  } else {
    document.write('<div id="legend"><embed type="image/svg+xml"  id="svgdocLegend" src="embfiles/legend.svg" width="330px" height="454px"/></div>');
  }
}
function embedMap() {
  if (OperaFlag()) {
    document.write('<div id="map"><object type="image/svg+xml"  id="svgdocMap" data="embfiles/map.svg" width="646px" height="460px"><param name="src" value="embfiles/map.svg"></object></div>');
  } else {
    document.write('<div id="map"><embed type="image/svg+xml"  id="svgdocMap" src="embfiles/map.svg" width="646px" height="460px"/></div>');
  }
}
function embedOverview() {
  if (OperaFlag()) {
    document.write('<div id="overview"><object type="image/svg+xml"  id="svgdocOverview" data="embfiles/overview.svg" width="216px" height="154px"><param name="src" value="embfiles/overview.svg"></object></div>');
  } else {
    document.write('<div id="overview"><embed type="image/svg+xml"  id="svgdocOverview" src="embfiles/overview.svg" width="216px" height="154px"/></div>');
  }
}
function embedSiteinfo() {
  if (OperaFlag()) {
    document.write('<div id="siteinfo"><object type="image/svg+xml"  id="svgdocSiteinfo" data="embfiles/siteinfo.svg" width="240px" height="116px"><param name="src" value="embfiles/siteinfo.svg"></object></div>');
  } else {
    document.write('<div id="siteinfo"><embed type="image/svg+xml"  id="svgdocSiteinfo" src="embfiles/siteinfo.svg" width="240px" height="116px"/></div>');
  }
}
function embedDataGraph() {
  if (OperaFlag()) {
    document.write('<div id="datagraph"><object type="image/svg+xml"  id="svgdocDatagraph" data="embfiles/datagraph.svg" width="500px" height="289px"><param name="src" value="embfiles/datagraph.svg"></object></div>');
  } else {
    document.write('<div id="datagraph"><embed type="image/svg+xml"  id="svgdocDatagraph" src="embfiles/datagraph.svg" width="500px" height="289px"/></div>');
  }
}

function userInit() {
//This function is for your own scripts, it will be called on loading, do not delete it
//myAlert("function userInit");
}
