 function checkframeset()
{
if((window.location.protocol == "http:")  && (!parent.df) && (window.location!='auc.dfd.dlr.de')) 
 {    
 ThisPage = '' + location.href;
   if (ThisPage.indexOf('www.uni-koeln') !=-1)   
   {
   location.href="http://www.uni-koeln.de/math-nat-fak/geomet/eurad/index.html?" + location.pathname;
   }
   else 
   {   
   location.href="http://www.eurad.uni-koeln.de/index.html?" + location.pathname;
   }
 }
}

 function checkframeset_e()
{
if((window.location.protocol == "http:")  && (!parent.df) && (window.location!='auc.dfd.dlr.de'))  
   {
 ThisPage = '' + location.href;
 if (ThisPage.indexOf('www.uni-koeln') !=-1)   
   {
   location.href="http://www.uni-koeln.de/math-nat-fak/geomet/eurad/index_e.html?" + location.pathname;
   }
   else 
   {   
   location.href="http://www.eurad.uni-koeln.de/index_e.html?" + location.pathname;
   }
 }
}

function chkorigin()
{
if (window.location!='auc.dfd.dlr.de' && window.location.indexOf('uni-koeln.de')!=0)
	{
	location.replace='http://www.eurad.uni-koeln.de/'
	}
}

function chkorigin_e()
{
if (window.location!='auc.dfd.dlr.de' && window.location.indexOf('uni-koeln.de')!=0)
	{
	location.replace='http://www.eurad.uni-koeln.de/index_e.html'
	}
}