iens6=document.all||document.getElementById ns4=document.layers function surfto(target) { navigating = 1 window.location.href = target; } //var linkArray = new Array //linkArray['laender']="Baden" //linkArray['laender']+="Bordeaux" //linkArray[0]+="Burgund" //linkArray[0]+="Elsass" //linkArray[0]+="Frankreich" //linkArray[0]+="Italien" //linkArray[0]+="Neue Welt" //linkArray['preise']="10 - 50 Euro" //linkArray['preise']+="50 - 100 Euro" //linkArray['preise']+="100 - 150 Euro" //linkArray['preise']+="150 - 200 Euro" //linkArray['preise']+="200 - 300 Euro" //linkArray['preise']+="300 - 400 Euro" //linkArray['preise']+="400 - 500" //linkArray['preise']+="Ab 500 Euro" //linkArray[2]="1900 - 1910" //linkArray[2]+="1911 - 1920" //linkArray[2]+="1921 - 1930" //linkArray[2]+="1931 - 1940" //linkArray[2]+="1941 - 1950" //linkArray[2]+="1951 - 1960" //linkArray[2]+="1961 - 1970" //linkArray[2]+="1971 - 1980" //linkArray[2]+="1981 - 1990" //linkArray[2]+="1991 - 2000" //linkArray[2]+="Ab 2000" //linkArray[3]="Burgunder" //linkArray[3]+="Regent" //linkArray[3]+="La Mancha Tinto" //linkArray[3]+="Merlot" //linkArray[4]="Riesling" //linkArray[4]+="Grauburgunder" var navigating = 0 var thename var theparentname var theparentparentname var theobj var theparentparentobj var thetext var winWidth var boxPosition var timerID var seconds=3 var x=0 var y=0 function buildText(value) { text = "" text += linkArray[value]+"" return text } function setObj(textelement,inwidth,boxpos,fixed,theObject,theCont) { clearTimeout(timerID) boxPosition=boxpos winWidth=inwidth thetext=buildText(textelement) if (boxPosition == "right") { // Right el=theObject x=130 y=-20 while (el) { y+=el.offsetTop x+=el.offsetLeft el=el.offsetParent } y -= document.body.scrollTop; x+=theObject.offsetWidth+2; if (fixed > 0) { x = fixed } } if (boxPosition == "bottom") { // Top el=theObject x=80 y=-20 while (el) { y+=el.offsetTop x+=el.offsetLeft el=el.offsetParent } y -= document.body.scrollTop; y+=theObject.offsetHeight+2; if (fixed > 0) { y = fixed } } if(iens6){ thename = "viewer"+theCont if(theCont=="2"){ theparentname="viewer"+(theCont-1) theparentobj=document.getElementById? document.getElementById(theparentname):document.all.theparentname } if(theCont=="3"){ theparentparentname="viewer"+(theCont-1) theparentparentobj=document.getElementById? document.getElementById(theparentparentname):document.all.theparentparentname } theobj=document.getElementById? document.getElementById(thename):document.all.thename theobj.style.width=winWidth theobj.style.left=x if(iens6&&document.all) { theobj.style.top=document.body.scrollTop+y theobj.innerHTML = "" theobj.insertAdjacentHTML("BeforeEnd",thetext) } if(iens6&&!document.all) { theobj.style.top=window.pageYOffset+y theobj.innerHTML = "" theobj.innerHTML=thetext } } if(ns4){ thename = "nsviewer"+theCont theobj = eval("document."+thename) theobj.left=x theobj.top=y theobj.width=winWidth theobj.clip.width=winWidth theobj.document.write("thetext") theobj.document.close() } if (navigating == 0) viewIt() } function viewIt() { if(iens6) { theobj.style.visibility="visible" } if(ns4) { theobj.visibility = "visible" } clearTimeout(timerID); timer(3); } function stopIt() { if(theobj) { if(iens6) { theobj.innerHTML = "" theobj.style.visibility="hidden" if(theparentobj){ theparentobj.innerHTML = "" theparentobj.style.visibility="hidden" } if(theparentparentobj){ theparentparentobj.innerHTML = "" theparentparentobj.style.visibility="hidden" } } if(ns4) { theobj.document.write("") theobj.document.close() theobj.visibility="hidden" } } } function timer(sec) { seconds=parseInt(sec) if(seconds>0) { seconds-- timerID=setTimeout("timer(seconds)",1000) }else{ stopIt() } }