/*if (parent.location.href == self.location.href)
 {
  window.location.href = 'http://www.pim-fortuyn.nl';
 }*/

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 mouseDown(e) {
 var shiftPressed=0;
 if (parseInt(navigator.appVersion)>3) {
  if (navigator.appName=="Netscape")
       shiftPressed=(e.modifiers-0>3);
  else shiftPressed=event.shiftKey;
  if (shiftPressed)
 {
   window.blur()
   window.focus()
   return false;
  }
 }
 return true;
}
if (parseInt(navigator.appVersion)>3) {
 document.onmousedown = mouseDown;
 if (navigator.appName=="Netscape") 
  document.captureEvents(Event.MOUSEDOWN);
}

 window.status='Pim-Fortuyn.nl - een heftige discussie...'

function MM_openBrWindow(theURL,winName,features)
{
 window.open(theURL,winName,features);
}
