var pagina=window.location.href 
koekiestring=("adres="+pagina+"; path=/");
document.cookie=koekiestring;
var lanceerder="geen" 
if (window.opener){ 
lanceerder=window.opener.location.href;lanceerder="apporte" 
}
if ((parent.location.href == self.location.href)&&(lanceerder=="geen")) 
{ 
if (screen.width >= 900){ 
window.location.href="index.html"}else{window.location.href='index800.html'}}