// JavaScript Document
var _gRootPath = "https://www.vks.com/";
//var _gRootPath = "http://localhost/vks2008/";
//var _gRootPath = "file://///Sunshine/website/Client/vks2008/website/";
//var _gRootPath = "E:/nirav/Karrox/website";
function MM_openBrWindow(theURL,winName,features) { //v2.0
openURL="../enlarged_image.asp?img_link="+theURL
  window.open(openURL,winName,features);
}


/*var message="Right Click Disabled!";

///////////////////////////////////
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(document.location.href);
try
   {
		// window.open(theURL,winName,features);
		//document.location.href = theURL;
		document.writeln("<scr" + "ipt language='jscript'>");
		document.write("window.open('"+theURL+"','"+winName+"','"+features+"');");
		document.writeln("</scr" + "ipt>");
		//alert(_gCurrPage);	
		//if(_gCurrPage.length > 0)
			document.location.href = document.location.href; //_gCurrPage;
       // }
   }
catch(err)
   {
	   txt="There was an error on this page.\n\n"
	   txt+="Error description: " + err.description + "\n\n"
	   txt+="Click OK to continue.\n\n"
	   alert(txt)
   }
*/   
