var browName = navigator.appName;
var browVer = "";
var isIE = "";
var isFF = "";

    if(browName=="Microsoft Internet Explorer")
		{
        browVer = navigator.appVersion.charAt(22)
        	if((browVer == "5")||(browVer == "6")||(browVer == "7")||(browVer == "8"))
			{
        	isIE = true;
			isFF = false;
			browVer = 5;
    		}	
		}

    else if(browName=="Netscape")
		{ 
		agent = navigator.userAgent
		count1 = agent.length
		count2 = agent.substr(count1-34,7)
		if(count2 == "Firefox")
			{
        	isFF = true;
			isIE = false;
			browName = "Firefox"
				version = navigator.userAgent
				verNum_1 = version.length
				verNum_2 = version.substr(verNum_1-10,1)
				if(verNum_2 == 3)
					{
						browVer = 3;
					}
				else
					{
						browVer = 2;
					}
				
    		}
		 }

function setStyle(){

	var w=screen.width;

		if(isIE)
			{

				document.write("<link rel='stylesheet' type='text/css' href='./common/vss_hp_ie.css'>");
			}

		else if(isFF)
			{

				document.write("<link rel='stylesheet' type='text/css' href='./common/vss_hp.css'>");
			}
		
		else
			{
				document.write("<link rel='stylesheet' type='text/css' href='./common/vss_hp.css'>"); 
			}
}

setStyle();

//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="Please contact Vermont Stone Sculpturing, LLC for a copy.";

///////////////////////////////////
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();
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")


