
function high(whichMenuItem){
theobject=whichMenuItem
highlighting=setInterval("highlightit(theobject)",60)
}

function low(whichMenuItem){
clearInterval(highlighting)
whichMenuItem.filters.alpha.opacity=100
}

function highlightit(currentMenuItem){
if (currentMenuItem.filters.alpha.opacity>60) currentMenuItem.filters.alpha.opacity-=20
else if (window.highlighting)
clearInterval(highlighting)
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function Enquiry()
{
	var strError='';
	if (EmptyCheckFails(document.forms[0].txtName))
		strError+='- Enter Name.\n';
		
	if (EmptyCheckFails(document.forms[0].txtEmail))
		strError+='- Enter Email.\n';
	
	if (EmptyCheckFails(document.forms[0].txtComments))
		strError+='- Enter Comments.\n';
			
	if (strError)
	{
		alert('The following error(s) occured:\n' + strError);
		return;
	}
	
	document.forms[0].UserAction.value=1;
	document.forms[0].submit();

}


function EmptyCheckFails(strCtrl)
{

	var strSearch = strCtrl.value ;
	for( var i = 0 ; i < strSearch.length; i++)
		if (strSearch.charCodeAt(i) != 32)
		{
			//textbox is not empty
			return false;
			break;
		}
	return true; //textbox is empty
}//end of function

if (document.images) {
image1 = new Image
image2 = new Image

image1.src = "Images/animBookOnline.gif"
image2.src = "Images/animBookOnline_Static.gif"

}