if(top.frames.length > 0) top.location.href=self.location;

// ################################### //

ie4 = (document.all) ? 1 : 0
n4 = ((navigator.userAgent.indexOf("Mozilla/4") >= 0) && (navigator.appName=="Netscape")) ? 1 : 0
nodom = 0;

dom = (document.getElementById) ? 1 : 0 ;
if(dom){
	ie4 = 0;
} else {
	nodom = 1;
}

// ################################### //

timo = 3333;


function noflash(){
	if(!n4 && !nodom){
		self.name = "noflash";
		this.location.href = "html/index.php"
	}
}

function noflashK(){
	if(!n4 && !nodom){
		self.name = "noflash";
		this.location.href = "kalenderNoF.php"
	}
}

function noflashF(){
	if(!n4 && !nodom){
		self.name = "noflash";
		this.location.href = "flashNoF.php"
	}
}

// ################################### //

function prep(pObj,pSrc){
	if(document.images){
		eval(pObj+' = new Image()')
		eval(pObj+'.src = "'+pSrc+'"')
	}
}

prep('P11','../p/xx.gif')
prep('P10','../p/xo.gif')

// ###################################### //

function px(id,st){
	document.images["P"+id].src = eval("P"+id+st).src
}

// ################################### //

function swfl(){

fl= ""
if(!n4){

fl+="<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0\" width=\"1\" height=\"1\">";
fl+="<param name=\"movie\" value=\"flash_detection.swf?flashContentURL=flash/index.php&altContentURL=html/index.html&contentVersion=7&contentMajorRevision=0&contentMinorRevision=0&allowFlashAutoInstall=false\" />";
fl+="<param name=\"quality\" value=\"low\" />";
fl+="<embed src=\"flash_detection.swf?flashContentURL=flash/index.php&altContentURL=html/index.html&contentVersion=7&contentMajorRevision=0&contentMinorRevision=0&allowFlashAutoInstall=false\" quality=\"low\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"1\" height=\"1\" />";


fl+="</object>"

}

return fl

}

// ################################### //