// (C) 2003 CodeLifter.com
// Source: CodeLifter.com
// Do not remove this header

// Set the message for the alert box
am = "This Web Site and all of it's content are owned by Fort Dodge Pool and Spa Supply LLC\n\nContents & Graphics Copyright&copy;  Fort Dodge Pool and Spa Supply LLC\nOur work is not public domain, and should <strong>NOT</strong> be taken from this site.\n\nSome graphics, images and pictures on our site have been purchased or borrowed with owners permission.";

// do not edit below this line
// ===========================
bV  = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function Play(sound) {
	$("#sound_").remove()     
	$('body').append('<embed id="sound_" autostart="true" hidden="true" src="/static/sound/' + sound + '.wav" />'); 
} 

function nrc(e) {
   if (bNS && e.which > 1){
      //$.alerts.dialogClass = 'style_1';
	  $(this).bind("contextmenu", function(e) {
	  	e.preventDefault();
	  });
	  Play('Windows_ XP_ Error.wav');
	  jAlert(am,'Right Click Menu Blocked On This Website');
	  //Windows_ XP_ Error.wav
	  
	  //alert(am)
      return false
   } else if (bIE && (event.button >1)) {
     //alert(am)
	 //$.alerts.dialogClass = 'style_1'; 
	 $(this).bind("contextmenu", function(e) {
	  	e.preventDefault();
	  });
	  Play('Windows_ XP_ Error.wav');
	  jAlert(am,'Right Click Menu Blocked On This Website');
	 return false;
   }
}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;

