// JavaScript Document
function fullScreen() {
	self.moveTo(0,0);
	self.resizeTo(screen.width,screen.height);
}

/* User Agent (Browserkennung) auf einen bestimmten Browsertyp prüfen */  
 function checkBrowserName(name){  
   var agent = navigator.userAgent.toLowerCase();  
   if (agent.indexOf(name.toLowerCase())>-1) {  
     return true;  
   }  
   return false;  
 } 


function cms_setClass(wo,URL)
{
	for (j=0;j<document.links.length;j++)
	{
		document.links[j].className="normal";
	};
		document.links[wo-1].className="aktiverLink";
		if (URL) parent.content.location.href=URL;
	
};


function MM_openBrWindow(theURL,winName,features) {
  	window.open(theURL,winName,features);
};
	 
function winOpen(url, breite, hoehe) {
  // Errechnet Koordinaten, um das Popup zentriert zu platzieren
	links = (screen.width/2)-(breite/2);
	oben = (screen.height/2)-(hoehe/2);
    window.open(url,"popup","height="+hoehe+",width="+breite+",status = no,toolbar = no,menubar = no,location = no,resizable = no,titlebar = no,scrollbars = yes,fullscreen = no,top ="+oben+",left ="+links);
  }
