/**
 * CP-X
 * Sammlung der Funktionen
 * Copyright (c) 2006 MOORYD Inc.
 *
 */
 
function LadeOben(wert){

if (wert == 0){top.topFrame.topRubrik.location = "oben/rubrik_index.htm";}

if (wert == 1){top.topFrame.topRubrik.location = "oben/rubrik_gemeinde.htm";}

if (wert == 2){top.topFrame.topRubrik.location = "oben/rubrik_tourismus.htm";}

if (wert == 3){top.topFrame.topRubrik.location = "oben/rubrik_aktuell.htm";}

if (wert == 4){top.topFrame.topRubrik.location = "oben/rubrik_erleben.htm"; }

if (wert == 5){top.topFrame.topRubrik.location = "oben/rubrik_leben.htm"; }

if (wert == 6){top.topFrame.topRubrik.location = "oben/rubrik_kontakt.htm"; }
}

function LadeInsFenster (wert){
if (wert == 1)
   {top.middleFrame.mainFrame.location="dateien/gemeinde/gemeinde.htm";}
   if (wert == 11)
      {top.middleFrame.mainFrame.location="dateien/gemeinde/behoerde.htm";}
	  if (wert == 110)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/kommunalpolitik.htm";}
      if (wert == 111)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/gemeindeverwaltung.htm";}
	  if (wert == 112)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/aemter.htm";}
	  if (wert == 113)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/aussenstellen.htm";}
	  if (wert == 114)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/gewerbeamt.htm";}
	  if (wert == 115)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/ordnungsamt.htm";}
	  if (wert == 116)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/schiedsstelle.htm";}
	  if (wert == 117)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/standesamt.htm";}
	  if (wert == 118)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/formularuebersicht.htm";}
	  if (wert == 119)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/telefonverzeichnis.htm";}
   if (wert == 12)
      {top.middleFrame.mainFrame.location="dateien/gemeinde/historie.htm";}
	  if (wert == 121)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/historieolb.htm";}
	  if (wert == 122)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/historietag.htm";}
	  if (wert == 123)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/ameisenberg.htm";}
	  if (wert == 124)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/hungerbrunnen.htm";}
	  if (wert == 125)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/suehnekreuz.htm";}
   if (wert == 13)
      {top.middleFrame.mainFrame.location="dateien/gemeinde/wissenswert.htm";}
	  if (wert == 131)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/lage.htm";}
	  if (wert == 132)
	     {window.open("http://www.findcity.de/cgi-bin/start.pl?M=02785pd");}
	  if (wert == 133)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/olbsee.htm";}
	  if (wert == 134)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/ortsrecht.htm";}
	  if (wert == 135)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/landesrecht.htm";}
	  if (wert == 136)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/vereine.htm";}
	  if (wert == 137)
	     {top.middleFrame.mainFrame.location="dateien/gemeinde/zahlen.htm";}
	if (wert == 14)
      {top.middleFrame.mainFrame.location="dateien/gemeinde/kommunalpolitik.htm";} 
if (wert == 2)
   {top.middleFrame.mainFrame.location="dateien/tourismus/tourismus.htm";}
   if (wert == 21)
   	  {top.middleFrame.mainFrame.location="dateien/tourismus/busbahn.htm";}
   if (wert == 22)
   	  {top.middleFrame.mainFrame.location="dateien/tourismus/gastgeber.htm";}
	  if (wert == 221)
   	     {top.middleFrame.mainFrame.location="dateien/tourismus/camping.htm";}
	  if (wert == 222)
   	     {top.middleFrame.mainFrame.location="dateien/tourismus/ferienwohnung.htm";}
	  if (wert == 223)
   	     {top.middleFrame.mainFrame.location="dateien/tourismus/hotels.htm";}
	  if (wert == 224)
   	     {top.middleFrame.mainFrame.location="dateien/tourismus/privatzimmer.htm";}
   if (wert == 23)
   	  {top.middleFrame.mainFrame.location="dateien/tourismus/sehenswert.htm";}
	  if (wert == 231)
   	     {top.middleFrame.mainFrame.location="dateien/tourismus/ausflugsziele.htm";}
	  if (wert == 232)
   	     {top.middleFrame.mainFrame.location="dateien/tourismus/bimmelbahn.htm";}
	  if (wert == 233)
   	     {top.middleFrame.mainFrame.location="dateien/tourismus/olbseesehenswert.htm";}
	  if (wert == 234)
   	     {window.open("http://www.freizeitknueller.de");}
	  if (wert == 235)
   	     {top.middleFrame.mainFrame.location="dateien/tourismus/uhrenhof.htm";}
   if (wert == 24)
   	  {top.middleFrame.mainFrame.location="dateien/tourismus/wandern.htm";}
	  if (wert == 241)
   	     {window.open("http://www.oberlausitz.com/radwandern");}
	  if (wert == 242)
   	     {top.middleFrame.mainFrame.location="dateien/tourismus/wandernolbsee.htm";}
	  if (wert == 243)
   	     {top.middleFrame.mainFrame.location="dateien/tourismus/gebirgslauf.htm";}
   if (wert == 25)
   	  {top.middleFrame.mainFrame.location="dateien/tourismus/aktivregion.htm";}
	  if (wert == 251)
   	     {window.open("http://www.o-see-challenge.de");}
	  if (wert == 252)
   	     {window.open("http://www.gebirgslauf.de");} 
	  if (wert == 253)
   	     {window.open("http://www.neuland-oppach.de");}
if (wert == 3)
   {top.middleFrame.mainFrame.location="dateien/aktuelles/aktuell.htm";}
   if (wert == 31)
   	  {window.open("http://www.oberlausitz.com");}
   if (wert == 32)
   	  {window.open("http://www.sachsen.de/de/kf/index.html");}
   if (wert == 33)
   	  {top.middleFrame.mainFrame.location="dateien/aktuelles/kultolb.htm";}
	  if (wert == 331)
   	     {top.middleFrame.mainFrame.location="dateien/aktuelles/akkordeon.htm";}
if (wert == 4)
   {top.middleFrame.mainFrame.location="dateien/erleben/erleben.htm";}
   if (wert == 41)
   	  {top.middleFrame.mainFrame.location="dateien/erleben/finnhuette.htm";}
   if (wert == 42)
   	  {top.middleFrame.mainFrame.location="dateien/erleben/freizeitoase.htm";}
   if (wert == 43)
   	  {top.middleFrame.mainFrame.location="dateien/erleben/kegelbahn.htm";}		
   if (wert == 44)
   	  {top.middleFrame.mainFrame.location="dateien/erleben/sportlerheim.htm";}
   if (wert == 45)
   	  {top.middleFrame.mainFrame.location="dateien/erleben/tennisplatz.htm";}	
   if (wert == 46)
   	  {top.middleFrame.mainFrame.location="dateien/erleben/volksbad.htm";}			 
if (wert == 5)
   {top.middleFrame.mainFrame.location="dateien/leben/leben.htm";}
   if (wert == 51)
   	  {top.middleFrame.mainFrame.location="dateien/leben/pflegeheim.htm";}
   if (wert == 52)
   	  {top.middleFrame.mainFrame.location="dateien/leben/postbank.htm";}
   if (wert == 53)
   	  {top.middleFrame.mainFrame.location="dateien/leben/bibliothek.htm";}
   if (wert == 54)
   	  {top.middleFrame.mainFrame.location="dateien/leben/bildung.htm";}
   if (wert == 55)
   	  {top.middleFrame.mainFrame.location="dateien/leben/kita.htm";}
   if (wert == 56)
   	  {top.middleFrame.mainFrame.location="dateien/leben/friedhof.htm";}
   if (wert == 57)
   	  {top.middleFrame.mainFrame.location="dateien/leben/tierfriedhof.htm";}
   if (wert == 58)
   	  {top.middleFrame.mainFrame.location="dateien/leben/kirchen.htm";}
   if (wert == 59)
   	  {top.middleFrame.mainFrame.location="dateien/leben/wohnen.htm";}
if (wert == 6)
   {top.middleFrame.mainFrame.location="dateien/kontakt/kontakt.htm";}		 		 
   if (wert == 61)
	  {top.middleFrame.mainFrame.location="http://www.olbersdorf.de/dateien/kontakt/gaestebuch/gaestebuch.php";}
   if (wert == 62)
	  {top.middleFrame.mainFrame.location="dateien/kontakt/galerie.htm";}
	  if (wert == 621)
   	     {top.middleFrame.mainFrame.location="dateien/kontakt/galhistorie_1.htm";}
	  if (wert == 622)
   	     {top.middleFrame.mainFrame.location="dateien/kontakt/galoase.htm";}
	  if (wert == 623)
   	     {top.middleFrame.mainFrame.location="dateien/kontakt/galtagebau.htm";}
	  if (wert == 624)
   	     {top.middleFrame.mainFrame.location="dateien/kontakt/galimpression.htm";}
	  if (wert == 625) 
	     {top.middleFrame.mainFrame.location="dateien/kontakt/galkleinbahn.htm";}
	  if (wert == 626) 
	     {top.middleFrame.mainFrame.location="dateien/kontakt/galwinter_1.htm";}
	  if (wert == 627)
	   	  {top.middleFrame.mainFrame.location="dateien/kontakt/galzittau.htm";}
   if (wert == 63) 
	  {top.middleFrame.mainFrame.location="dateien/kontakt/impressum.htm";}
   if (wert == 64) 
	  {top.middleFrame.mainFrame.location="dateien/kontakt/link.htm";}
   if (wert == 65) 
	  {top.middleFrame.mainFrame.location="dateien/kontakt/gemblatt.htm";}
   if (wert == 66) 
	  {top.middleFrame.mainFrame.location="dateien/kontakt/sitemap.htm";}
   if (wert == 67) 
	  {top.middleFrame.mainFrame.location="dateien/kontakt/telefonverzeichnis.htm";}
		 
if (wert == 7)
   {top.middleFrame.location="http://amt24.sachsen.de/ZFinder/behoerden.do?action=showdetail&modul=BHW&id=14944!0";}
}

function ZeigeMenu (wert) {
document.getElementById(1).style.display="none";
document.getElementById(2).style.display="none";
document.getElementById(3).style.display="none";
document.getElementById(4).style.display="none";
document.getElementById(5).style.display="none";
document.getElementById(6).style.display="none";

document.getElementById(wert).style.display="inline";}

function ZeigeUMenu (wert)
{ document.getElementById(11).style.display="none";
  document.getElementById(12).style.display="none";
  document.getElementById(13).style.display="none";
  document.getElementById(21).style.display="none";
  document.getElementById(22).style.display="none";
  document.getElementById(23).style.display="none";
  document.getElementById(24).style.display="none";
  document.getElementById(31).style.display="none";
  document.getElementById(32).style.display="none";
  document.getElementById(33).style.display="none";
  document.getElementById(61).style.display="none";
  document.getElementById(62).style.display="none";
  document.getElementById(63).style.display="none";
  document.getElementById(64).style.display="none";
  document.getElementById(65).style.display="none";
  document.getElementById(66).style.display="none";
    
  document.getElementById(wert).style.display="inline";}

function SchliesseMenu() {
document.getElementById(1).style.display="none";
document.getElementById(2).style.display="none";
document.getElementById(3).style.display="none";
document.getElementById(4).style.display="none";
document.getElementById(5).style.display="none";
document.getElementById(6).style.display="none";
}


function FarbeEin_gem(wert) {
wert.style.color = "#FFFFFF";
wert.style.backgroundColor = "#639D48";}

function FarbeAus_gem(wert) {
wert.style.color = "#000000";
wert.style.backgroundColor = "#E3FDA8";}

function FarbeEin_tour(wert) {
wert.style.color = "#FFFFFF";
wert.style.backgroundColor = "#CF970D";}

function FarbeAus_tour(wert) {
wert.style.color = "#000000";
wert.style.backgroundColor = "#FFE79D";}

function FarbeEin_akt(wert) {
wert.style.color = "#FFFFFF";
wert.style.backgroundColor = "#9F6124";}

function FarbeAus_akt(wert) {
wert.style.color = "#000000";
wert.style.backgroundColor = "#FFC184";}

function FarbeEin_erl(wert) {
wert.style.color = "#FFFFFF";
wert.style.backgroundColor = "#814848";}

function FarbeAus_erl(wert) {
wert.style.color = "#000000";
wert.style.backgroundColor = "#E1A8A8";}

function FarbeEin_leb(wert) {
wert.style.color = "#FFFFFF";
wert.style.backgroundColor = "#58589F";}

function FarbeAus_leb (wert) {
wert.style.color = "#000000";
wert.style.backgroundColor = "#B8B3FF";}

function FarbeEin_kon(wert) {
wert.style.color = "#FFFFFF";
wert.style.backgroundColor = "#00607F";}

function FarbeAus_kon(wert) {
wert.style.color = "#000000";
wert.style.backgroundColor = "#91BDFF";}
