﻿// NoEdit
var oPopup = window.createPopup();
function openPopup()
{
    var oPopBody = oPopup.document.body;
    oPopBody.innerHTML = '<DIV id="NoEditPopUp"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.#version=7,0,19,0" height="225" width="350"><param name="movie" value="http://www.herwijnenzoetermeer.nl/script/NoEdit.swf"><param name="quality" value="high"><param name="play" value="true"><param name="menu" value="false"><param name="loop" value="false"><embed height="225" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" src="http://www.herwijnenzoetermeer.nl/script/NoEdit.swf" type="application/x-shockwave-flash" width="350" quality="high" play="true" menu="false" loop="false"></object></DIV>'
    // Parameters of the show method are in the following order: x-coordinate,
    // y-coordinate, width, height, and the element to which the x,y 
    // coordinates are relative.
    oPopBody.style.border = "solid red 2px";
    var CenterPopH = event.offsetX;
    var CenterPopV = event.offsetY;
    oPopup.show(CenterPopH, CenterPopV, 350, 225, document.body);
}

isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;

if (isIE||isNN){
document.oncontextmenu=checkV;
}else{
document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
document.onmousedown=checkV;}

function checkV(e){
if (isN4){
if (e.which==2||e.which==3){
dPUW=openPopup();
return false;
}}else{
dPUW=openPopup();
return false;}}