if (parent.location.href == self.location.href){
window.location.href = 'http://www.hofer.nl/index.php'
}

if (window.Event)   
  document.captureEvents(Event.MOUSEUP);   
 function nocontextmenu()    
{  
 event.cancelBubble = true  
 event.returnValue = false;  
  return false;  
}  
 function norightclick(e)   
{  
 if (window.Event)   
 {  
  if (e.which == 2 || e.which == 3)  
   return false;  
 }  
 else  
  if (event.button == 2 || event.button == 3)  
  {  
   event.cancelBubble = true  
   event.returnValue = false;  
   return false;  
  }  
 }  
 document.oncontextmenu = nocontextmenu;   
document.onmousedown = norightclick;   
 function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}

// begin blanco popup
//function popUpGEEFAANWELKE(URL) {
//day = new Date();
//id = day.getTime();
//eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=700,height=600,left = 50,top = 50');");
//}
// einde blanco popup

function popUpmail(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=750,height=650,left = 200,top = 25');");
}

function popUpdonatie(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=400,left = 200,top = 200');");
}

// begin knoppen in pagina's, niet wijzigen
function change(obj,nid)
{
	obj.id=nid;
}
// einde knoppen in pagina's

// begin exit knop, niet wijzigen
function exit(){
close();
}
// einde exit knop

// begin pagina printen, niet wijzigen
function printPage() { 
  if(document.all) { 
    document.all.divButtons.style.visibility = 'hidden'; 
    window.print(); 
    document.all.divButtons.style.visibility = 'visible'; 
  } else { 
    document.getElementById('divButtons').style.visibility = 'hidden'; 
    window.print(); 
    document.getElementById('divButtons').style.visibility = 'visible'; 
  } 
} 
// einde pagina printen

