var SVGscalebar;
var theScalebarFlag = true;
var theMassGesamtLength = 40;
var theRectCount = 2;
var theShowKoord = 'statusbar';
var QueryHeadText = "Query Result";
var QueryHelpTableText = "Note:<li>Move cursor over the rows to highlight the objects on the map.</li><li>Close the window with the 'Clear selection'-Button.</li>";
var QueryStatusText1 = "Table will be load, please wait ...";
var QueryStatusText2 = "Table loaded.";
var recNo = "No.";
var theHiQueryColor = 'yellow';
var QueryRecText1 = " of ";
var QueryRecText2 = " records selected:";
var QueryRecText3 = "Record";
var theHiColor = 'red';
var theBGColor = '#FFFFFF';
var theBGColor2 = 'lightgrey';
var SVGSupportText = "This site needs the Adobe SVG Viewer 3.0.\n(http://www.adobe.com/svg/viewer/install/main.html)";
var theLegMapKoeff = 945.450636265329;
var closeButText = "Clear Selection";
var QueryNoRecText = "No records selected.";
var theOverviewFlag = false;
var theLegendFlag = true;
var SVGlegend;
var theGetscaleFlag = true;
var theGeneralScaleFlag = true;
var theScaleConvert = 30.48;
var CheckStatus = 580;
var butZoomFlag = false;
var thePrecision = 0;
var theXOrigin = 349840;
var theYOrigin = 15968293;
var theProfVersion = 1;
var theProgNS = "http://www.mapviewsvg.com";

function embedHead() {
  document.write('<div id="head"><embed type="image/svg+xml" name="head" src="embfiles/head.svgz" width="1071px" height="35px"/></div>');
}
function embedLegend() {
  document.write('<div id="legend"><embed type="image/svg+xml" name="legend" src="embfiles/legend.svgz" width="299px" height="452px"/></div>');
}
function embedMap() {
  document.write('<div id="map"><embed type="image/svg+xml" name="map" src="embfiles/map.svgz" width="600px" height="450px"/></div>');
}
function embedSiteinfo() {
  document.write('<div id="siteinfo"><embed type="image/svg+xml" name="siteinfo" src="embfiles/siteinfo.svgz" width="300px" height="68px"/></div>');
}
function embedScalebar() {
  document.write('<div id="scalebar"><embed type="image/svg+xml" name="scalebar" src="embfiles/scalebar.svgz" width="225px" height="35px"/></div>');
}

