		 //Menu Mouse Over
		var strUrl;
		strUrl=location.href;
		//alert(strUrl)		
		nav1off = new Image(47,67);
		nav1off.src="/images/menu_mover2.jpg";		
		
		function menuOver(id,obj)
			{
				if(obj!="undefined")
				{
					if(id=="div1" ||id=="div2" ||id=="div3"||id=="div4") 
					{
						//if the mouse is over aboutus
						if(strUrl.indexOf("/aboutus/")!=-1){
							document.all["div1"].style.display="none";
							document.all["div1"].style.color="cccccc";
						}								
						//if the mouse is over services
						if(strUrl.indexOf("/services/")!=-1){
							document.all["div2"].style.display="none";
						}								
						//if the mouse is over modules
						if(strUrl.indexOf("/modules/")!=-1){
							document.all["div3"].style.display="none";
						}
						//if the mouse is over news
						if(strUrl.indexOf("/news")!=-1){
							document.all["div4"].style.display="none";
						}												
						//if it is the home page
						if(strUrl=="http://www.mikrofax.com/default.aspx"||strUrl=="http://www.mikrofax.com/"){
						//if(strUrl=="http://localhost:8002/default.aspx"||strUrl=="http://localhost:8002/"){

							document.all["div3"].style.display="none";
						}																																

						document.all[id].style.display="inline";
					}	
					obj.className="menu_mouseover_bg";

					if (obj != "" )
						ChangeLinkColor(id.charAt(3), "black")
				}
			}
			
			function ChangeLinkColor(sID, sColor)
			{
				//alert(sID)
				document.all["lnk" + sID].style.color=sColor;
			}
			
			function menuOut(id,obj)
			{
				if(!obj!="undefined")
				{
					if(id=="div1" ||id=="div2" ||id=="div3"||id=="div4") 
					{
						document.all[id].style.display="none";
						
						//if the mouse is over aboutus
						if(strUrl.indexOf("/aboutus/")!=-1){
							document.all["div1"].style.display="inline";
						}								
						//if the mouse is over services
						if(strUrl.indexOf("/services/")!=-1){
							document.all["div2"].style.display="inline";
						}								
						//if the mouse is over modules
						if(strUrl.indexOf("/modules/")!=-1){
							document.all["div3"].style.display="inline";
						}												
						//if the mouse is over news
						if(strUrl.indexOf("/news")!=-1){
							document.all["div4"].style.display="inline";
						}
						//if it is the home page
						if(strUrl=="http://www.mikrofax.com/default.aspx"||strUrl=="http://www.mikrofax.com/"){
						//if(strUrl=="http://localhost:8002/default.aspx"||strUrl=="http://localhost:8002/"){
							document.all["div3"].style.display="inline";
						}												

					}	
					obj.className="menu_mouseout_bg";
					if (obj != "" )
						ChangeLinkColor(id.charAt(3), "white")
				}	
				
			}						

			function openImg(imgName,title,varWidth,varHeight)
			{
				varHeight= varHeight+20
				window.open("/ShowLargeImage.aspx?imgName="+imgName+"&title="+title,"LargeImage","width="+varWidth+", height="+varHeight+", top=0, left=0, scrollbars=yes")
			}
			function openWin(win)
			{
				if(win==1)
				{
					window.open("/privacy_statement.htm","PrivacyStatement", "width=550 height=600 scrollbars=yes")
				}
				else
				{
					window.open("/terms.htm","PrivacyStatement", "width=550 height=600 scrollbars=yes")
				}
			}

			function validateEmail(oSrc, args)
			{
				var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
				args.IsValid = filter.test(args.Value)
			}
			
			// For checking the maximum limit of the control and stopping the more character inputs.
			// Can be used for Textboxes and Textarea
			function textCounter(field, maxlimit)
			{
				if (field.value.length > maxlimit)
				{
					field.value = field.value.substring(0, maxlimit);
				}
			}
    			