var ie; if("Netscape" == navigator.appName){ie = 0;} else{ie = 1;} function geladen(){ objhide("loading1"); objhide("loading2"); } function scrollLayer(layerName, range, layerTop, artikelCount){ var height=37; if ( ((layerTop- range) <= document.layers[layerName].top) && range > 0 )return;//top abfrage if ( (layerTop > document.layers[layerName].top+artikelCount*height ) && range < 0 )return;//top abfrage document.layers[layerName].pageY = parseInt(document.layers[layerName].pageY)+ range; document.layers[layerName].clip.bottom = document.layers[layerName].clip.bottom - range; document.layers[layerName].clip.top = document.layers[layerName].clip.top - range; } function zoomBild(sid,art,height){ bild1=open("http://www.chalon.de/zoombild.php4?PHPSESSID="+sid+"&art="+art, "bild1","width=750,height="+height+",screenX=0,screenY=0,resizable=no,scrollbars=yes,menubar=no"); bild1.moveTo(0,0); bild1.outerHeight = height; bild1.focus(); } function detail(sid,art,cat,height){ bild1=open("http://www.chalon.de/detail.php4?PHPSESSID="+sid+"&art="+art+"&cat="+cat, "bild1","width=700,height="+height+",screenX=0,screenY=0,resizable=no,scrollbars=yes,menubar=no"); bild1.moveTo(0,0); bild1.outerHeight = height; bild1.focus(); } function openPWVergessen(sid){ var width="395"; var height="445"; if(ie==0){ width="465"; height="465"; } pwv=open("http://www.chalon.de/pwvergessen.php4?PHPSESSID="+sid, "emp","width="+width+",height="+height+",screenX=0,screenY=0,resizable=no,menubar=no,frameborder=0"); pwv.moveTo(100,100); pwv.focus(); } function mailEmpfehlung(sid,art){ var width="395"; var height="445"; if(ie==0){ width="465"; height="465"; } emp=open("http://www.chalon.de/empfehlung.php4?PHPSESSID="+sid+"&art="+art, "emp","width="+width+",height="+height+",screenX=0,screenY=0,resizable=no,menubar=no,frameborder=0"); emp.moveTo(100,100); emp.focus(); } function fragenArtikel(sid,art){ var width="395"; var height="445"; if(ie==0){ width="465"; height="465"; } ques=open("http://www.chalon.de/questionArtikel.php4?PHPSESSID="+sid+"&art="+art, "emp","width="+width+",height="+height+",screenX=0,screenY=0,resizable=no,menubar=no,frameborder=0"); ques.moveTo(100,100); ques.focus(); } function openAGB(sid){ var width="395"; var height="445"; if(ie==0){ width="465"; height="465"; } ques=open("http://www.chalon.de/agb.php4?PHPSESSID="+sid, "agb","width="+width+",height="+height+",screenX=0,screenY=0,resizable=no,menubar=no,frameborder=0, scrollbars=yes"); ques.moveTo(100,100); ques.focus(); } function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function mausOver(i,a){ if(ie==0){ a[i].src= "http://213.160.69.225/medianess.de/images/"+i+"2.gif"; } if(ie==1){ document.images[i].src= "http://213.160.69.225/medianess.de/images/"+i+"2.gif"; } } function mausOut(i,a){ if(ie==0){ a[i].src= "http://213.160.69.225/medianess.de/images/"+i+"1.gif"; } if(ie==1){ document.images[i].src= "http://213.160.69.225/medianess.de/images/"+i+"1.gif"; } } function menuover(a,b){ if(ie==0){ a.src= 'menu_over.gif'; } if(ie==1){ document.images[a].src= 'menu_over.gif'; } b.style.fontWeight=800; b.style.color="FF3300"; } function menuout(a,b){ if(ie==0){ a.src= 'menu_out.gif'; } if(ie==1){ document.images[a].src= 'menu_out.gif'; } b.style.fontWeight=100; b.style.color="#FFFFFF"; } function menuobenover(a){ if(ie==0){ a.src= 'top_over.gif'; } if(ie==1){ a.src= 'top_over.gif'; } } function menuobenout(a){ if(ie==0){ a.src= 'top_out.gif'; } if(ie==1){ a.src= 'top_out.gif'; } } function untermenuover(a){ if(ie==1){ a.style.fontWeight=800; a.style.color="#DE0029"; } } function untermenuout(a){ if(ie==1){ a.style.fontWeight=100; a.style.color="red"; } } function objshow(showobj){ if (ie == 0) {document.layers[showobj].visibility = "show";} if (ie == 1) {document.all[showobj].style.visibility = "visible";} } function objhide(hideobj){ if (ie == 0) {hideobj.visibility = "hide";} if (ie == 1) {document.all[hideobj].style.visibility = "hidden";} }