<!--
var value = null;
function OpenWin(value,wval,hval) 
{
	window.open(value,'popup','resizable=yes,width=' + wval + ',height=' + hval + ',status=no,location=no,toolbar=no,menubar=no,scrollbars=yes');
}		

function confirmSubmit()
{
	var agree = confirm("Are you sure you wish to continue?");
	if (agree)
		return true ;
	else
		return false;
}

function ResizeToFit()
{
	var imgWidth;
	var imgHeight;

	imgWidth = document.imgAlt.width + 100;
	imgHeight = document.imgAlt.height + 80;

	window.resizeTo(imgWidth, imgHeight);
}

function imgswap(primary, imgname1, secondary, imgname2)
{
	eval("document." + primary + ".src = '" + imgname1 + "'");
	eval("document." + secondary + ".src = '" + imgname2 + "'");	
}

//if (window == top) top.location.href = "default.asp";

function changeColors(subcatcell)
{
	subcatcell.style.backgroundColor = "#CFCBC2";
}
function restoreColors(subcatcell)
{
	subcatcell.style.backgroundColor = "";
}

//Disable right click
//function click()
//{
	//if (event.button==2)
	//{
		//alert('Sorry the right button has been disabled!');
	//}
//}
//document.onmousedown=click;
// -->
