function preload(ImgName,ImgSrc) {
eval(ImgName+' = new Image()')
eval(ImgName+'.src = "'+ImgSrc+'"')
}

function Bildwechsel(ImgName,ImgSrc) {
document.images[ImgName].src = eval(ImgSrc + ".src");

}

var child;
	  function popup(page, title, hoehe, breite ) {
  		child=window.open(page, title,'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+breite+',height='+hoehe+',screenX=100,screenY=100');
 		setTimeout('child.focus()', 0);
}

var check = "div"; 

function browser_ver(){

	if(navigator.appName == "Netscape" && navigator.appVersion.substring(0,3) < 5){
	check = "tabellen"; 
	} 
	if(navigator.appName == "Microsoft Internet Explorer" && navigator.userAgent.substr(navigator.userAgent.lastIndexOf("MSIE") + 5, 1) < 6) {
	check = "tabellen"; 
	} 
	return check; 
} 


function pos_start(){
	if (check == "tabellen") {
	document.write("<table width='100%' height='100%' cellpadding='0' cellspacing='0'><tr><td width='100%' height='100%' valign='middle' align='center'>");
	}
	else {
	document.write("<div style='position:absolute;left:50%;top:50%; width:846px;height:455px;margin-left:-423px;margin-top:-227px; text-align:left'>");
	}
	}
	
function pos_end(){
	if (check == "tabellen") {
	document.write("</td></tr></table>");
	}
	else {
	document.write("</div>");
	}
	}
	
	
