
			function validatsearch()
			{
				var strd;
					if (document.frmsearch.search.value == "")
					{
						strd=document.frmsearch.MRF1.value;
						alert (strd);
						document.frmsearch.search.focus();
						return false;
					}
					if (document.frmsearch.search.value == "Enter search item")
					{
						strd=document.frmsearch.MRF1.value;
						alert (strd);
						document.frmsearch.search.focus();
						return false;
					}
			}
			
			function validatlogin()
			{
				var strd;
					if (document.frm5.username.value == "")
					{d
						strd=document.frm5.MRF3.value;
						alert (strd);
						document.frm5.username.focus();
						return false;
					}
					if(document.frm5.password.value == "")
					{
						strd=document.frm5.MRF4.value;
						alert (strd);
						document.frm5.password.focus();
						return false;
					}
					return true;
			}
			function clearTip(field)
			{
				if(field.defaultValue == field.value)
				field.value = "";
			}

			function writeTip(field)
			{
				if(field.value == "")
					field.value = field.defaultValue;
			}
			function openpage()
			{
				window.parent.location="projects.aspx";
			}
			function openpage1()
			{
				window.parent.location="Insidepages.aspx";
			}
			
			function popitup(url)
			{
				newwindow=window.open(url,'name','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=270,height=145,left = 350,top = 400');
				if (window.focus) {newwindow.focus()}
			}

