<!--
function detect()
{
 framesetpage="http://www.geo-explorer.nl/correct.html";
 thispage=window.location.href;
 if (thispage.indexOf('://')<0) {thispage="://"+thispage;};
 prefix=thispage.substring(0,thispage.lastIndexOf('://'));
 suffix=thispage.substring(thispage.lastIndexOf('://')+3,thispage.length);
 //alert('the subpage is:['+prefix+']['+suffix+']');

 if (parent.location.href==window.location.href) 
 {
  parent.location.href=framesetpage+"?"+prefix+"&&&"+suffix;
 } //passes string to url
}

function detectEN()
{
 framesetpage="http://www.geo-explorer.nl/eng/correct.html";
 thispage=window.location.href;
 if (thispage.indexOf('://')<0) {thispage="://"+thispage;};
 prefix=thispage.substring(0,thispage.lastIndexOf('://'));
 suffix=thispage.substring(thispage.lastIndexOf('://')+3,thispage.length);
 //alert('the subpage is:['+prefix+']['+suffix+']');

 if (parent.location.href==window.location.href) 
 {
  parent.location.href=framesetpage+"?"+prefix+"&&&"+suffix;
 } //passes string to url
}
//-->
