// Author: uismedia/Creator: Mappetizer  8.3.2 for ArcGIS by uismedia (http://www.mappetizer.de); 03.06.2010 10:37:58
dojo.addOnLoad(function() {
  //Do not delete or change this function
  var map = mv_embedSVGNode(dojo.doc,"MVmapDoc","450px","455px","embfiles/map.svg");
  dojo.byId("MVmap").appendChild(map);

  if (dojo.isIE) {
    checkAndGetSVGViewer();
  }
  mv_checkLoaded();
});

function mv_DocSettings() {
  //Do not delete or change this function;
  mv_Doc.userSettings("#DCEEC9","#C0DFA7","coral","yellow","#CDE6B7",false,false);
  mv_Doc.txtIESupport = "This site needs the Adobe SVG Viewer 3.0.\n(http://www.adobe.com/svg/viewer/install/main.html)";
  mv_Doc.CheckStatus = "a02uMR4";
  new MV.ZoomObject("MVlistZoomObject",0);
}

function mv_MapSettings() {
  //Do not delete or change this function;
  new MV.Layer("th0",false,true,true,true,false,"FeatureLayer","");
  new MV.Layer("th1",false,true,true,true,false,"FeatureLayer","");
  new MV.Layer("th2",false,true,true,true,false,"FeatureLayer","","th2txt0");
  new MV.Layer("th3",false,true,true,true,false,"FeatureLayer","");
  new MV.Layer("th4",false,true,true,true,false,"FeatureLayer","");
  mv_Map.userSettings(4273011,5608922,815.624444444444,0,true,3393,"");
}

function mv_initializeLegend() {
  //Do not delete or change this function;
}

function mv_initializeShareGeomLegend() {
  //Do not delete or change this function;
}

function mv_ScalebarSettings() {
  //Do not delete or change this function;
  mv_Scalebar.userSettings(2,61,50);
}

function mv_initializeSettings() {
  //Do not delete or change this function;
  mv_Doc.Toolbars = new MV.List();
  mv_declareClassToolbar();
  mv_createToolbar();
  mv_Doc.Toolbars.item("MVtoolbar").item("MVtoolbar.identify").click();
}

function mv_initializeSettings2() {
 //Do not delete or change this function;
}


function mv_showHelp() {
  var theWin = window.open("embfiles/help.html","MVHelp", "width=475,height=332,top=50,left=50,toolbar=no,menubar=no,location=no,hotkeys=no,resizable=yes,scrollbars=yes,dependent=yes,status=no");
  theWin.focus();
}


function mv_userInit() {
//This function is for your own scripts, it will be called on loading, do not delete it
//  mv_alert("function mv_userInit()");
}

function mv_userMVDocToolbar(objButton) {
//This function is for your own toolbar buttons, do not delete it
//  switch(objButton.id) {
//      case "MVtoolbar.mybutton":
//          objButton.Function = "testFunc('hier',2)";
//          objButton.State = 1;  //this button is a radio button
//          break;
//  }
}


