panovisi = false;
function CIDo(peb,plogo,pnewwind) {
 var meb = "";
 var mlogo = "";
 var mnewwind = "";
 switch(peb) {
  case 1:
   meb = "../"
   break;
  case 2:
   meb = "../../";
   break;
  }
 switch(plogo) {
  case 2:
   mlogo = "2"
   break;
  }
 if (pnewwind == "Y") {
   mnewwind = "target=\"_top\"";
   }
 document.write("  <style type=\"text/css\">");
 document.write("   <!--");
 document.write("   a.fue {color:#FFFFFF; text-decoration:none; font-size:9pt;}");
 document.write("   a.pan {color:#FFFFFF; text-decoration:none; font-size:9pt;}");
 document.write("   -->");
 document.write("   </style>");
 document.write(" <table width=\"743\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
 document.write("  <tr>");
 document.write("   <td><img src=\"" + meb + "graphics/oben_logo_english.gif\" width=\"218\" height=\"84\"><img src=\"" + meb + "graphics/oben_menu_english.gif\" width=\"281\" height=\"84\" border=\"0\" usemap=\"#oben\"><img src=\"" + meb + "graphics/oben_hauser" + mlogo + ".gif\" width=\"244\" height=\"84\"></td>");
 document.write("   </tr>");
 document.write("  </table>");
 document.write(" <map name=\"oben\">");
 document.write("  <area shape=\"rect\" coords=\"106,62,270,75\" href=\"" + meb + "Jugend/index.htm\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"106,50,270,61\" href=\"" + meb + "FreizeitSport/index.htm\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"106,38,270,48\" href=\"" + meb + "http://www.stadtmarketing-wels.at/stmwels/site/207600147905904795_0_0,en.html\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"106,22,270,34\" href=\"" + meb + "orgplan-englisch.pdf\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"105,6,270,20\" href=\"" + meb + "englisch.htm\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"9,50,95,61\" href=\"" + meb + "wirtschaft/index.htm\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"11,64,92,75\" href=\"" + meb + "verkehr/index.htm\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"8,36,94,48\" href=\"" + meb + "magistrat/magistrat/formulare/Wirtschaftsdatenblatt_Stadt_Wels_englisch.pdf\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"10,22,94,34\" href=\"" + meb + "politik/politiker_english.htm\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"11,6,92,19\" href=\"" + meb + "index.htm\" " + mnewwind + "> </map>");
 }
function CIDss1(peb) {
 var meb = "";
 switch(peb) {
  case 1:
   meb = "../"
   break;
  case 2:
   meb = "../../";
   break;
  }
 document.write(" <table width=\"743\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
 document.write("  <tr>");
 document.write("   <td width=\"743\"><img src=\"" + meb + "graphics/oben_leiste2.gif\" width=\"743\" height=\"24\" border=\"0\" usemap=\"#oben_leiste\"></td>");
 document.write("   </tr>");
 document.write("  </table>");
 document.write(" <map name=\"oben_leiste\">");
 document.write("  <area shape=\"rect\" coords=\"512,1,648,21\" href=\"" + meb + "englisch.htm\">");
 document.write("  <area shape=\"rect\" coords=\"388,1,505,22\" href=\"" + meb + "franz.htm\">");
 document.write("  <area shape=\"rect\" coords=\"332,1,380,19\" href=\"" + meb + "links.htm\">");
 document.write("  <area shape=\"rect\" coords=\"242,1,325,20\" href=\"" + meb + "impressum.htm\">");
 document.write("  <area shape=\"rect\" coords=\"169,1,235,22\" href=\"" + meb + "sitemap.htm\">");
 document.write("  <area shape=\"rect\" coords=\"74,2,161,21\" href=\"" + meb + "gaestebuch_wels.htm\">");
 document.write("  <area shape=\"rect\" coords=\"11,2,67,21\" href=\"" + meb + "forum.htm\"> </map>");
 }
function CIDss2(peb) {
 var meb = "";
 switch(peb) {
  case 1:
   meb = "../"
   break;
  case 2:
   meb = "../../";
   break;
  }
 document.write(" <table width=\"743\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
 document.write("  <tr> ");
 document.write("   <td width=\"743\" bgcolor=\"#2D5D02\"> <a href=\"" + meb + "index.htm\"><img src=\"" + meb + "buttons/startseite.gif\" width=\"95\" height=\"19\" border=\"0\"></a><img src=\"" + meb + "buttons/trennlinie.gif\" width=\"2\" height=\"19\"><a href=\"" + meb + "news/news.asp\"><img src=\"" + meb + "buttons/aktuelles.gif\" width=\"79\" height=\"19\" border=\"0\"></a><img src=\"" + meb + "buttons/trennlinie.gif\" width=\"2\" height=\"19\"><a href=\"" + meb + "news/news.asp?kat=4\"><img src=\"" + meb + "buttons/rathauskorrespondenz.gif\" width=\"172\" height=\"19\" border=\"0\"></a><img src=\"" + meb + "buttons/trennlinie.gif\" width=\"2\" height=\"19\"><a href=\"http://www.stadtmarketing-wels.at/veranstaltungen\" target=\"_blank\"><img src=\"" + meb + "buttons/veranstaltungen.gif\" width=\"119\" height=\"19\" border=\"0\"></a><img src=\"" + meb + "buttons/trennlinie.gif\" width=\"2\" height=\"19\"><a href=\"" + meb + "wels-leistungen/leistungen.asp\"><img src=\"" + meb + "buttons/ausschreibungen.gif\" width=\"137\" height=\"19\" border=\"0\"><img src=\"" + meb + "buttons/trennlinie.gif\" width=\"2\" height=\"19\" border=\"0\"></a><a href=\"" + meb + "main_suchen.asp\"><img src=\"" + meb + "buttons/suchen.gif\" width=\"64\" height=\"19\" border=\"0\"><img src=\"" + meb + "buttons/trennlinie.gif\" width=\"2\" height=\"19\" border=\"0\"></a></td>");
 document.write("   </tr>");
 document.write("  </table>");
 document.write(" <img src=\"" + meb + "buttons/trennlinie.gif\" width=\"2\" height=\"2\"><br>");
 }
function CIDr(peb,pvpos,phpos) {
 var meb = "", mebb = "", mvpos = 358, mhpos = 608;
 switch(peb) {
  case 1:
   meb = "../"
   break;
  case 2:
   meb = "../../";
   break;
  }
 if (pvpos > "") {
   mvpos = pvpos + 66;
  }
 if (phpos > "") {
   mhpos = phpos
  }
 mebb = meb + "buttons/"
 document.write("   <td width=\"150\" valign=\"top\" align=\"right\">");
 document.write("    <p align=\"right\">");
 document.write("     <a href=\"" + meb + "gesundheit/einsatzorganisationen.htm\"><img src=\"" + mebb + "button_einsatzorganisation.gif\" width=\"145\" height=\"23\" border=\"0\"></a><br>");
 document.write("     <A HREF=\"#\" ONCLICK=\"window.open('http://gemeinden.gisdat.at/wels4600/addressfinder/addressbox.asp?WCI=AddressBox&WCE=Search&ortid=7109&wsi=s&wso=a','Stadtplan','width=550,height=550,scrollbars=yes')\";return true;><IMG SRC=\"" + mebb + "stadtplan2.gif\" BORDER=\"0\"></A><br>");

 document.write("     <A HREF=\"" + meb + "marktplatz.htm\"><IMG SRC=\"" + mebb + "marktplatz1.gif\" BORDER=\"0\"></A><br>");
 document.write("     <a href=\"" + meb + "KulturBildung/welsinzahlen.htm\"><img src=\"" + mebb + "button_welsinzahlen.gif\" border=\"0\"></a><br>");
 document.write("     <a href=\"" + meb + "KulturBildung/geschichte.htm\"><img src=\"" + mebb + "stadtgeschichte.gif\" border=\"0\"></a><br>");
 document.write("     <a href=\"javascript:;\" onClick=\"showfueb()\"><img src=\"" + mebb + "GruenesWels.gif\" border=\"0\"></a><br>");

 document.write("     <a href=\"" + meb + "wetter.htm\"  ><img src=\"" + mebb + "wetter.gif\" border=\"0\"></a><br>");

 document.write("     <a href=\"" + meb + "webcamsf.htm\" target=\"_blank\"><img src=\"" + mebb + "Webcams.gif\" border=\"0\"></a><br>");
 document.write("     <a href=\"" + meb + "welsfilmLFrame.htm\" target=\"_blank\"><img src=\"" + mebb + "welsfilm.gif\" border=\"0\"></a><br>");

 document.write("     <a href=\"javascript:;\" onClick=\"showpanb()\"><img src=\"" + mebb + "panoramas.gif\" border=\"0\"></a><br>");

 document.write("     <a href=\"" + meb + "partnerstaedte.htm\" ><img src=\"" + mebb + "partnerstaedte.gif\" border=\"0\"></a></p>");
 document.write("    </td>");
 document.write("   </tr>");
 document.write("  </table>");
 document.write(" <div id=\"Panoramas\" style=\"position:absolute; left:" + mhpos + "px; top:" + mvpos + "px; width:145px; visibility: hidden; z-index:6; background-color:rgb(3,67,0); font-weight:bold; font-family:Arial; line-height:14pt;\">");
 document.write("  &nbsp;<br>");
 document.write("  <a class=\"pan\" href=\"javascript:;\" onClick=\"showpan('Baeckergasse')\">&nbsp;Bäckergasse</a><br>");
 document.write("  <a class=\"pan\" href=\"javascript:;\" onClick=\"showpan('Burggarten')\">&nbsp;Burggarten</a><br>");
 document.write("  <a class=\"pan\" href=\"javascript:;\" onClick=\"showpan('GoesserGastgarten')\">&nbsp;Gösser-Gastgarten</a><br>");
 document.write("  <a class=\"pan\" href=\"javascript:;\" onClick=\"showpan('KJ')\">&nbsp;Kaiser-Josef-Platz</a><br>");
 document.write("  <a class=\"pan\" href=\"javascript:;\" onClick=\"showpan('Ringstrasse')\">&nbsp;Ringstraße</a><br>");
 document.write("  <a class=\"pan\" href=\"javascript:;\" onClick=\"showpan('Schmidtgasse')\">&nbsp;Schmidtgasse</a><br>");
 document.write("  <a class=\"pan\" href=\"javascript:;\" onClick=\"showpan('StadtplatzOst')\">&nbsp;Stadtplatz ost</a><br>");
 document.write("  <a class=\"pan\" href=\"javascript:;\" onClick=\"showpan('StadtplatzWest')\">&nbsp;Stadtplatz west</a><br>");
 document.write("  &nbsp;");
 document.write("  </div>");

 document.write(" <div id=\"fuehrer\" style=\"position:absolute; left:" + mhpos + "px; top:280px; width:145px; visibility: hidden; z-index:6; background-color:rgb(3,67,0); font-weight:bold; font-family:Arial; line-height:14pt;\">");
 document.write("  &nbsp;<br>");
 document.write("  <a class=\"fue\" href=\"javascript:;\" onClick=\"showfue('architekturfuehrer/archindex')\">&nbsp;Architekturführer</a><br>");
 document.write("  <a class=\"fue\" href=\"javascript:;\" onClick=\"showfue('freiraumfuehrer/freiraumindex')\">&nbsp;Freiraumführer</a><br>");
 document.write("  <a class=\"fue\" href=\"javascript:;\" onClick=\"showfue('kga/kgaindex')\">&nbsp;Kleingartenführer</a><br>");
 document.write("  &nbsp;");
 document.write("  &nbsp;");
 document.write("  </div>");


 }
function CIDhmen2(peb,pnewwind) {
 var meb = "";
 var mnewwind = "";
 switch(peb) {
  case 1:
   meb = "../"
   break;
  case 2:
   meb = "../../";
   break;
  }
 if (pnewwind == "Y") {
   mnewwind = "target=\"_blank\"";
   }
 document.write(" <table width=\"743\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
 document.write("  <tr>");
 document.write("   <td width=\"743\"><img src=\"" + meb + "graphics/oben_leiste.gif\" width=\"743\" height=\"24\" border=\"0\" usemap=\"#oben_leiste\"></td>");
 document.write("   </tr>");
 document.write("  </table>");
 document.write(" <map name=\"oben_leiste\">");
 document.write("  <area shape=\"rect\" coords=\"332,1,380,19\" href=\"" + meb + "links.htm\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"242,1,325,20\" href=\"" + meb + "impressum.htm\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"169,1,235,22\" href=\"" + meb + "sitemap.htm\" " + mnewwind + ">");

 document.write("  <area shape=\"rect\" coords=\"74,2,161,21\" href=\"" + meb + "gaestebuch_wels.htm\" " + mnewwind + ">");
 document.write("  <area shape=\"rect\" coords=\"11,2,67,21\" href=\"" + meb + "forum.htm\" " + mnewwind + "> </map>");
 }
function showpanb() {
 if (panovisi) {
   document.getElementById("Panoramas").style.visibility = "hidden";
   }
  else {
   document.getElementById("Panoramas").style.visibility = "visible";
   }
 panovisi = !panovisi;
 }
function showpan(ppan) {
 window.open("http://www.wels.at/" + ppan + ".htm");
 showpanb();
 }

function showfueb() {
 if (panovisi) {
   document.getElementById("fuehrer").style.visibility = "hidden";
   }
  else {
   document.getElementById("fuehrer").style.visibility = "visible";
   }
 panovisi = !panovisi;
 }
function showfue(pfue) {
 window.open("http://www.wels.at/st/" + pfue + ".htm" );
 showfueb();
 }

function showsmb(pvisi) {
 if (pvisi) {
   document.getElementById("SMButtons").style.visibility = "visible";
   }
  else {
   document.getElementById("SMButtons").style.visibility = "hidden";
   }
 }