iens6=document.all||document.getElementById
ns4=document.layers
function surfto(target)
{
navigating = 1
window.location.href = target;
}
//var linkArray = new Array
//linkArray['laender']="
|
"
//linkArray['laender']+=" |
"
//linkArray[0]+=" |
"
//linkArray[0]+=" |
"
//linkArray[0]+=" |
"
//linkArray[0]+=" |
"
//linkArray[0]+=" |
"
//linkArray['preise']=" |
"
//linkArray['preise']+=" |
"
//linkArray['preise']+=" |
"
//linkArray['preise']+=" |
"
//linkArray['preise']+=" |
"
//linkArray['preise']+=" |
"
//linkArray['preise']+=" |
"
//linkArray['preise']+=" |
"
//linkArray[2]=" |
"
//linkArray[2]+=" |
"
//linkArray[2]+=" |
"
//linkArray[2]+=" |
"
//linkArray[2]+=" |
"
//linkArray[2]+=" |
"
//linkArray[2]+=" |
"
//linkArray[2]+=" |
"
//linkArray[2]+=" |
"
//linkArray[2]+=" |
"
//linkArray[2]+=" |
"
//linkArray[3]=" |
"
//linkArray[3]+=" |
"
//linkArray[3]+=" |
"
//linkArray[3]+=" |
"
//linkArray[4]=" |
"
//linkArray[4]+=" |
"
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 = ""
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()
}
}