function newImage(arg)
{
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function setMsg( msg )
{
	window.status = msg;
	return true;
}
	
function changeImage( imgName, imgOver, imgExt )
{
	var imgDir = "/login/images/navigation/";
	//images are of the form
	//imgNameimgOver.imgExt  
	//onMouseOver imgOver should be someing like "-over", "b", "on", etc 
	//onMouseOut imgOver should be "" so that the original img is put back
	
	//imgName must also be the name of the img <img name='imgName' ....
	//for this script to work properly
	eval( "document." + imgName + ".src = \"" + imgDir + imgName + imgOver + "." + imgExt + "\"" );
}