	var h;
	var w;
	function maximize()
	{
		w=screen.availWidth;
		h=screen.availHeight;
		self.moveTo(0,0);
		self.window.resizeTo(w,h);
		//location.href="ie3sized.html";
	}

		img0_on = new Image(47,12);
		img0_on.src="./images/home.gif";
		img1_on = new Image(44,15);
		img1_on.src="./images/login.gif";
		img2_on = new Image(59,15);
		img2_on.src="./images/update.gif";
		img3_on = new Image(104,15);
		img3_on.src="./images/fapplications.gif";
		img4_on = new Image(97,13);
		img4_on.src="./images/ssrchome.gif";
		img5_on = new Image(90,13);
		img5_on.src="./images/contactus.gif";
		img6_on = new Image(116,15);
		img6_on.src="./images/privacy.gif";

		img0_off = new Image(47,12);
		img0_off.src="./images/home1.gif";
		img1_off = new Image(44,15);
		img1_off.src="./images/login1.gif";
		img2_off = new Image(59,15);
		img2_off.src="./images/update1.gif";
		img3_off = new Image(104,15);
		img3_off.src="./images/fapplications1.gif";
		img4_off = new Image(97,13);
		img4_off.src="./images/ssrchome1.gif";
		img5_off = new Image(90,13);
		img5_off.src="./images/contactus1.gif";
		img6_off = new Image(116,15);
		img6_off.src="./images/privacy1.gif";

		function limitlength(formobj, e, size)
		{
			returnvalue=true;
			if (!e.which && formobj.value.length>=size) //IE
			returnvalue=false;
			else if (e.which && e.which!=8 && formobj.value.length>=size) //NS4, NS6+ (allow backspace key)
			returnvalue=false;
			return returnvalue
		}
		function checklimit(formobj, e, size, message)
		{
			returnvalue=true;
			if (!e.which && formobj.value.length > size) //IE
			{
				//alert('Length is:' + formobj.value.length);
				//alert('Maximum Length is:' + size);
				alert(message);
				formobj.focus();
				return false;
			}
			else if (e.which && e.which!=8 && formobj.value.length > size) //NS4, NS6+ (allow backspace key)
			{
				//alert('Length is:' + Trim(formobj.value).length);
				//alert('Maximum Length is:' + size);
				alert(message);
				formobj.focus();
				returnvalue=false;
			}
			return returnvalue
		}
		function off_image(parm_name)
		{
			document[parm_name].src = eval(parm_name + "_on.src");
			
		}
		function over_image(parm_name)
		{
			document[parm_name].src = eval(parm_name + "_off.src");
		}
		function colorRow(srcElement, color)
		{
			srcElement.style.backgroundColor = color;
		}
		function colorRow1(srcElement)
		{
			srcElement.style.backgroundColor = "#e0ffff";
		}
		function colorRow2(srcElement)
		{
			srcElement.style.backgroundColor = "#eeeeee";
		}
		function openwindowlink(str) 
		{
			newwin = window.open(str,"windowname"," height=650,width=820,top=10,left=100,scrollbars,status,resizable")
		}
		function openwindowApplink(str) 
		{
			newwin = window.open(str,"windownameApp","left=0,top=0,height=700,width=900,scrollbars,status,resizable")
		}
		function openwindowlinkwithstatus(str) 
		{
			newwin1 = window.open(str,"windowname1","height=350,width=800,top=220,left=130,scrollbars,status,resizable")
		}
		function openwindowprivacypolicy(str) 
		{
			privacy= window.open(str,"privacy"," height=440,width=620,top=180,left=160,scrollbars=yes,status=no,resizable,titlebar=no")
		}

