<!-- Hide from older browsers

//Show default message in the staus bar of the window
window.status = "Welcome to Gayatri Engineers";

//Function to display new image on the mouseover event
function changeimage(imagepath, overimage, imagename, statusmsg)
	{
	var overimagepath = imagepath + overimage;				//Variable to store relative image path

	window.status = statusmsg;								//Display message in the status bar

	if (document.images)
		{

//If "overimagepath" is not blank, then display the mouseover image
		if (overimagepath != "")
			{
			var inimg = new Image();								//Instantiate new image
			inimg.src = overimagepath;
			document.images[imagename].src = inimg.src;				//Retrieve new image from the stored image path
			}
		}
	}

//Function to restore image on the mouseout event
function restoreimage(imagepath, outimage, imagename)
	{
	var outimagepath = imagepath + outimage;				//Variable to store relative image path

	window.status = "Welcome to Gayatri Engineers";					//Replace welcome message in the status bar

	if (document.images)
		{

//If "outimagepath" is not blank, then display the mouseout image
		if (outimagepath != "")
			{
			var exitimg = new Image();								//Instantiate new image
			exitimg.src = outimagepath;
			document.images[imagename].src = exitimg.src;			//Retrieve new image from the stored image path
			}
		}
	}

//Function to replace / add new text message to the windows status bar
function changeText(replacetext)
	{
	window.status = replacetext;
	}

//Function launchnews - launches a smaller window for displaying news / events at SoftEdge
function launchnews(newslink) 
{
	window.open(newslink,'SoftEdge_News','height=400,width=530,menubar=1,resizable=1,scrollbars=1,status=0,titlebar=1,toolbar=0');
}

//Function launchwapnews - launches a smaller window for displaying wap news at SoftEdge
function launchwapnews(newslink) 
{
	window.open(newslink,'SoftEdge_News','height=150,width=250,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0');
}

//Function to print documents at the client side
function printdoc() 
{
	var bIsValidNetscape = (document.layers);
	var bCanBrowserPrint;
	var strAgent = window.navigator.userAgent;
	var iAgentStrLocation;
	
	if (bIsValidNetscape)
	{
		bCanBrowserPrint = true;
	}
	else
	{
		iAgentStrLocation = strAgent.indexOf("MSIE ")+5;
		bCanBrowserPrint = parseInt(strAgent.substr(iAgentStrLocation)) >= 5 && strAgent.indexOf("5.0b1") < 0;
	}
	
	if (!bCanBrowserPrint)
	{
		alert('Please use the Print function of your browser instead.  Your browsers Print function can usually found under the File menu.');
	}
	else
	{
		print();
	}
}

// End Hide -->
