// Author: IACATAS/Creator: MapViewSVG Professional 7.0.23 for ArcGIS by uismedia (http://www.mapviewsvg.com); 16/02/2009 12:09:14
var theScalebarFlag = false;
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 CloseButText = "Cerrar consulta";
var ChartArray = new Array();
ChartArray['th1'] = new Array(3);
ChartArray['th1'][0] = new Array(275,339,70,147);
ChartArray['th1'][1] = new Array('29','34','35');
ChartArray['th1'][2] = '14';
ChartArray['th0'] = new Array(3);
ChartArray['th0'][0] = new Array(279,339,140,147);
ChartArray['th0'][1] = new Array('29','30','31');
ChartArray['th0'][2] = '14';
var WMSLayerArray = new Array(0);
var ShareGeomArray = new Array();
ShareGeomArray['th0'] = 'inline';
ShareGeomArray['th1'] = 'none';
var ShareGeomId = 'th0_30_2_db';
var theHiQueryColor = 'yellow';
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 = 623.292307692308;
var theOverviewFlag = false;
var theLegendFlag = true;
var SVGlegend;
var ScrollArray = new Array(2);
ScrollArray[1] = new Array('gesamtLeg1',15,0.782608695652174,25,176,0);
var theGetscaleFlag = false;
var theGeneralScaleFlag = true;
var theScaleConvert = 3393;
var CheckStatus = 'a08eHD8';
var butZoomFlag = false;
var thePrecision = 0;
var theXOrigin = 1807092;
var theYOrigin = 2325741;
var maxScaleFakt = 20;
var theProfVersion = 1;
var theTileCount = 100;
var theProgNS = "http://www.mapviewsvg.com";
var dbExt = 'php';

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="985px" 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="985px" height="35px"/></div>');
  }
}
function embedLegend() {
  if (OperaFlag()) {
    document.write('<div id="legend"><object type="image/svg+xml"  id="svgdocLegend" data="embfiles/legend.svg" width="320px" height="400px"><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="320px" height="400px"/></div>');
  }
}
function embedMap() {
  if (OperaFlag()) {
    document.write('<div id="map"><object type="image/svg+xml"  id="svgdocMap" data="embfiles/map.svg" width="648px" height="470px"><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="648px" height="470px"/></div>');
  }
}
function embedSiteinfo() {
  if (OperaFlag()) {
    document.write('<div id="siteinfo"><object type="image/svg+xml"  id="svgdocSiteinfo" data="embfiles/siteinfo.svg" width="305px" height="104px"><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="305px" height="104px"/></div>');
  }
}

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

function userToolbar(thisTask,objButton) {
//This function is for your own toolbar buttons, do not delete it
//  switch(thisTask) {
//    case "mybutton":
//      objButton.click = "myFunction()";
//      objButton.state = 1;  //this button is a radio button
//      break;
//  }
}
