var show=false; function Vorschau(showBild) { //alert(document['hauptbild'].src); //alert("document['hauptbild'].src = \"" + showBild +"\""); eval("document['hauptbild'].src = \"" + showBild +"\""); } function screenSize() { document.cookie="ScreenSize=" + screen.width; } function screenSizeReload() { document.cookie="ScreenSize=" + screen.width; var cookies = document.cookie.split(";"); var boMenu = false; for(var i=0; i < cookies.length; i++) { var vals = cookies[i].split("="); if(vals[0]=="MenuShow" || vals[0].replace(" ","")=="MenuShow") { boMenu=true; } } if(!boMenu) { document.cookie="MenuShow=false"; } if (navigator.cookieEnabled == true) { location.reload(true); } } function showMenu() { var cookies = document.cookie.split(";"); var boMenu = false; for(var i=0; i < cookies.length; i++) { var vals = cookies[i].split("="); if(vals[0]=="MenuShow" || vals[0].replace(" ","")=="MenuShow") { boMenu=true; if(vals[1].replace(" ","")=="true") { show=true; } } } if(!boMenu) { document.cookie="MenuShow=false"; } } function ShowHide() { if(!show) { document.getElementById("Kategorien").innerHTML= ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+"
"+ ""+ ""+ "Andantino"+ "
"+ ""+ ""+ "Anlage"+ "
"+ ""+ ""+ "Arbeit"+ "
"+ ""+ ""+ "Fahren"+ "
"+ ""+ ""+ "Nachwuchs"+ "
"+ ""+ ""+ "Pferde"+ "
"+ ""+ ""+ "Reiten"+ "
"+ ""+ ""+ "Rinderarbeit"+ "
"+ ""+ ""+ "Winter"+ "
"; show=true; } else { document.getElementById("Kategorien").innerHTML=""; show=false; } document.cookie="MenuShow=" + show; }