//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Chase Web Design copyright 2001-2008. You right clicked on this page. This function is disabled! Use only your left click.";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

//Alert because detected popup blocker software
if(popUpsBlocked)
  alert('***********************URGENT WARNING*****************************************************  We have detected that you are using popup blocking software.  NONE of our popups are annoying advertisements. Our popups warn you when your session is about to expire, give you important instructions and links to download forms to use offline, give you the ability to view brochures, get instant quotes, read sample policies, and much more. ************************URGENT WARNING**************************************************                                                                                                                                                                                                        YOU MUST DISABLE YOUR POPUP BLOCKER; OTHERWISE, YOU WILL HAVE COMPLICATIONS USING OUR WEBSITE.  Open up a new browser window and type this URL to learn how to disable your popup blocker: http://www.ChaseAgency.com/PopUpOff.asp.                                                                                                                                                                                                                                                                                                               SOME PEOPLE HAVE MORE THAN ONE POPUP BLOCKER OPERATING ON THEIR COMPUTER AT THE SAME TIME. MAKE SURE YOU DISABLE ALL YOUR POPUP BLOCKERS.                                                                                                               *******************************************************************************************************************************************************************************************************************************************************************************************************CLICK THE BUTTON BELOW TO CONTINUE TO THE NEXT PAGE***************************  THEN OPEN A NEW BROWSER WINDOW AND GO TO HTTP://www.ChaseAgency.com/PopUpOff.asp TO LEARN HOW TO TURN OFF YOUR POPUP BLOCKER*');
