	
		function PopWinStart(SectionList,w,h) 
			{
			var popupx = (screen.width/2)-(w/2);
			var popupy = (screen.height/2)-(h/2);	
			var popwin = window.open(SectionList, 'PopWin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width='+w+',height='+h+',left='+popupx+',top='+popupy+'');
			if (window.focus) popwin.focus();
		}
		function PopWin(SectionList,WinName,scroller,w,h) 
			{
			var popupx = (screen.width/2)-(w/2);
			var popupy = (screen.height/2)-(h/2);	
			var popwin = window.open(SectionList, WinName,'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars='+scroller+',resizable=no,width='+w+',height='+h+',left='+popupx+',top='+popupy+'');
			if (window.focus) popwin.focus();
		}		
		function PopWinEcat(SectionList,WinName,scroller,w,h) 
			{
			var popupx = (screen.width)-(w);
			var popupy = 0;	
			popecat = window.open(SectionList, WinName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scroller+',resizable=no,width='+w+',height='+h+',left='+popupx+',top='+popupy+'');
			if (window.focus) popecat.focus();
		}		
		
		function PopWinTicker() 
			{
			var SectionList = '/custom/templates/main/pop_ticker.php3';
			var WinName		= 'ticker';
			var scroller 	= 'yes';
			var w			= 202;
			var h			= 300;
			var popupx = 0;
			var popupy = 0;	
			var popwin = window.open(SectionList, WinName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scroller+',resizable=no,width='+w+',height='+h+',left='+popupx+',top='+popupy+'');
			if (window.focus) popwin.focus();
		}		

		//Funktion zum oeffnen der Kit Web Popup Windows
		function popkitweb(url) 
			{
			var w	   = 780;	//breite
			var h	   = 600;	//hoehe
			var popupx = (screen.width/2)-(w/2);
			var popupy = (screen.height/2)-(h/2);	
			var popwin = window.open(url, 'PopKitWeb','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width='+w+',height='+h+',left='+popupx+',top='+popupy+'');
			if (window.focus) popwin.focus();
		}

		// Bilder preload 
		function preload() {
		        this.length = preload.arguments.length;
		        for (var i = 0; i < this.length; i++) {
		                this[i+1] = new Image();
		                this[i+1].src = preload.arguments[i];
		        }
		}
	
	function surfto(val) {
		location.href = val;
	}
	
	// 0ver für 1 Wechsel
	function over(id,bgClass) 
	{ 
		if(navigator.appName.indexOf("Netscape") != -1) {
			document.getElementById(id).className  = bgClass;
		} else {
			document.getElementById(id).className  = bgClass;
		}
	}	
	function out(id,bgClass) 
	{ 
		if(navigator.appName.indexOf("Netscape") != -1) {
			document.getElementById(id).className = bgClass;
		} else {
			document.getElementById(id).className = bgClass;
		}
	}
	
	// Over für 2 Wechsel
	function over2(id,bgClass,id2,bgClass2) { 
		if(navigator.appName.indexOf("Netscape") != -1) {
			document.getElementById(id).className  = bgClass;
			if (bgClass2!="") {
				document.getElementById(id2).className = bgClass2;
			}
		} else {
			document.getElementById(id).className  = bgClass;
			if (bgClass2!="") {
				document.all.tags('a')[id2].className = bgClass2;
			}
		}
	}
	function out2(id,bgClass,id2,bgClass2) { 
		if(navigator.appName.indexOf("Netscape") != -1) {
			document.getElementById(id).className = bgClass;
			if (bgClass2!="") {
				document.getElementById(id2).className = bgClass2;
			}
		} else {
			document.getElementById(id).className = bgClass;
			if (bgClass2!="") {
				document.all.tags('a')[id2].className = bgClass2;
			}
		}
	}	
