//<!--
//spa new right click

//<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var today = new Date();
yr = "2001";
 
nextyr = today.getFullYear().toString();
var message='Thank you for visiting!\n Copyright Dental West';

///////////////////////////////////
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")


//spa
function PopUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'width=630,height=471,left=10,top=10,toolbar=no,location=no,status=no,menubar=no,resizable=no');");
}

function CreateFlashControl(CLSID, WIDTH, HEIGHT, URL)
{
	strLocation=location.href;
	if(strLocation.search("https://") >=0 )
	{
		URL = URL.replace("http://","https://")
	}
      document.write ("<object classid='" + CLSID + "' codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='" + WIDTH + "' height='" + HEIGHT + "'><param name='movie' value='" + URL + "' /> <param name='quality' value='high' /> <embed src='" + URL + "' quality='high' pluginspage='https://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='" + WIDTH + "' height='" + HEIGHT + "'></embed> </object>");	  
}
// --> 