function _KIE(){this.LadeElemente=new Array;this.Elemente=new Array;this.Ebenen=new Array;this.ElemZeitgeber=null;this.Sprache='';

if (document.getElementById) 

document.IgetElementById=function(pID){ vElem=document.getElementById(pID); if (vElem==null) vElem = document[pID];return(vElem);};

else if (document.all) document.IgetElementById=function(pID){return(document.all[pID]);};

else if (document.layers) {document.IgetElementById=function(pID,pDoc){if (pDoc==null)pDoc=document;var i=0;var vLayer=pDoc[pID];for(i=0;vLayer==null&&i<pDoc.layers.length;i++)vLayer=document.IgetElementById(pID,pDoc.layers[i].document);return(vLayer);};}

else document.IgetElementById=function(pID){ vElem = document[pID];return(vElem);};



if (!Array.prototype.push){Array.prototype.push = function(pElement){this[this.length] = pElement;};}

if (!Array.prototype.exists){Array.prototype.exists = function(pElement){var i=0; for(i=0;i<this.length;i++) if(this[i] == pElement) return(true);return(false);};}

String.prototype.rAll=function(){a=arguments;t=this.toString();for(var i=0;i<a.length;i+=2)t=t.replace(a[i],a[i+1]);return(t);};

Date.prototype.addDays = function(d){this.setTime(this.getTime()+(d*3600*24*1000));};

posNS=navigator.userAgent.lastIndexOf('Netscape6');posOP=navigator.userAgent.lastIndexOf('Opera');posIE=navigator.userAgent.lastIndexOf('MSIE');posMZ=navigator.userAgent.lastIndexOf('Gecko');

if (posOP>-1) this.BrowserName = "OP";else if (posNS>-1) this.BrowserName = "NS6";else if (posMZ>-1) this.BrowserName = "MOZ";else if (posIE>-1) this.BrowserName = "IE";else if (navigator.appName=='Netscape') this.BrowserName = "NS";else this.BrowserName = navigator.appName;

this.SText='Willkommen bei Panoramacamping in Westendorf/Tirol';

window.defaultStatus=this.SText;

};

_KIE.prototype.eventDazu=function(pElement,pEvent,pMeth){x='pElement.on'+pEvent+'=function(){'+pMeth+'.'+pEvent+'();}';eval(x);};

_KIE.prototype.iScrollX=function(){if(window.scrollX) return(window.scrollX);else if(window.pageXOffset) return(window.pageXOffset);else if(document.body)if(document.body.scrollLeft)return(document.body.scrollLeft);else return(0);};

_KIE.prototype.FensterAbmessungen=function(){if (window.innerHeight) {window.iHeight=window.innerHeight;window.iWidth=window.innerWidth;}else {window.iHeight=document.body.clientHeight;window.iWidth=document.body.clientWidth;}};

_KIE.prototype.resize=function(){KIE.FensterAbmessungen();if(KIE.BrowserName == 'NS') location.reload();var e=KIE.Ebenen;for (i=0; i<e.length; i++) {if (e[i].VolleBreite) e[i]._volleBreite();if (e[i].Zentrieren) e[i]._zentrieren();}};

_KIE.prototype.init=function(){};

var KIE;

function jsi(p){KIE.RPfad=p;var x=p+'js/';js(x,'KIE_Element');js(x,'KIE_Ebene');js(x,'KIE_ElementKtrl');js(x,'KIE_Bild');js(x,'menu');var i; for (i=1;i<arguments.length;i++){if (arguments[i]=='js')js('',arguments[i]); else js(x,arguments[i]);}};function js(p,n,d){s='<SCRIPT LANGUAGE="JavaScript" SRC="#p##n#.js"></SCRIPT>';s=s.replace(/#p#/,p);s=s.replace(/#n#/,n);if(d)d.write(s);else document.write(s);};

function initDOM(){if(KIE)return(true);KIE=new _KIE();window.onresize=KIE.resize;};

function Trace(){};

initDOM();

