// JScript source code

<!--

// Don't edit below!

function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// --> 

var message="Sorry, right-click has been disabled"; 
/////////////////////////////////// 
function clickIE() {if (document.all) { alert(message);return false;}} 
function clickNS(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=clickNS;} 
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} 
document.oncontextmenu=new Function("return false") 

function showcategory(divname,filename,divleft,divtop,divheight,divzindex)
{
	var xmlHttp = null 	
	if (typeof window.ActiveXObject != 'undefined' ) 
	{
		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	} 
	else
	{
		xmlHttp = new XMLHttpRequest();
	}

	xmlHttp.open("GET", filename, false);
	xmlHttp.send(null);

	if (xmlHttp.readyState == 4 || xmlHttp.readyState=="complete")
	{
		document.getElementById(divname).innerHTML=xmlHttp.responseText;
	}
	
	document.getElementById(divname).style.left = divleft;
	document.getElementById(divname).style.top = divtop;
	document.getElementById(divname).style.display = "block";
}


function showproducts(divname,filename,divleft,divtop,divheight,divzindex)
{
	
	var xmlHttp1 = null 	
	if (typeof window.ActiveXObject != 'undefined' ) 
	{
		xmlHttp1 = new ActiveXObject("Microsoft.XMLHTTP");
	} 
	else
	{
		xmlHttp1 = new XMLHttpRequest();
	}

	xmlHttp1.open("GET", filename, false);
	xmlHttp1.send(null);

	if (xmlHttp1.readyState == 4 || xmlHttp1.readyState=="complete")
	{
		document.getElementById(divname).innerHTML=xmlHttp1.responseText;
	}
	
	document.getElementById(divname).style.left = divleft;
	document.getElementById(divname).style.top = divtop;
	document.getElementById(divname).style.display = "block";
}

function closediv(divname)
{
	//alert(divname);
	document.getElementById(divname).style.display = 'none';
	//document.getElementById(divname).style.visibility = "hidden";
}

// call this function from form of html 
function create_div_dynamic(divname,divleft,divtop,divheight)
{

dv = document.createElement('div'); // create dynamically div tag
dv.setAttribute('id',divname);       //give id to it
//dv.className="top";                 // set the style classname  
//set the inner styling of the div tag 
//dv.style.position="absolute";
dv.style.left=divleft;
dv.style.top=divtop;
dv.style.height=divheight;
dv.style.backgroundColor="#dcdcdc";
document.body.appendChild(dv);
}