function opwin()
{
	window.open("http://www.gingerwebs.com/mysite/chatdesign/prestatus.asp","_blank","scrollbars=1,top=50,width=650,height=470");
}


function opwincal()
{
	window.open("calculator.php","_blank","scrollbars=1,top=50,width=670,height=484");
}


submiton = new Image;
submiton.src = "images/butt_submit_h.gif";
submitout = new Image;
submitout.src = "images/butt_submit.gif";

learnon = new Image;
learnon.src = "images/butt_lern_more_h.gif";
learnout = new Image;
learnout.src = "images/butt_lern_more.gif";

function Check_Null()
	{
	
	if (document.frmname.txtname.value == "")  	
	   {
	     alert("Name Cannot be Empty")
	     document.frmname.txtname.focus()
	     return false
	      document.location.href="index.php"
	    }
	    
	    
	    if (document.layers||document.getElementById||document.all)
	{
		var str=document.frmname.txtemail.value
		var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
		if (filter.test(str)==false)
		{
			alert("Please input a valid email address!")
			document.frmname.txtemail.value=""
			document.frmname.txtemail.focus()
			return false
		}
	}

	    
	    /*
	 if (document.frmname.txtemail.value == "")  	
	   {
	     alert("Email Cannot be Empty")
	     document.frmname.txtemail.focus()
	     return false
	      document.location.href="index.php"
	    }
	    */
	    
	 if (document.frmname.txtquery.value == "")  	
	   {
	     alert("Query Cannot be Empty")
	     document.frmname.txtquery.focus()
	     return false
	      document.location.href="index.php"
	    }
	  if (document.frmname.txtcode.value != document.frmname.imagetext.value)  	
	   {
	     alert("Code is not matching")
	     document.frmname.txtcode.focus()
	     return false
	      document.location.href="index.php"
	    }
	 
	 }

homeon = new Image;
homeon.src = "images/butt_home_h.gif";
homeout = new Image;
homeout.src = "images/butt_home.gif";

abouton = new Image;
abouton.src = "images/butt_about_h.gif";
aboutout = new Image;
aboutout.src = "images/butt_about.gif";

productson = new Image;
productson.src = "images/butt_products_h.gif";
productsout = new Image;
productsout.src = "images/butt_products.gif";

serviceson = new Image;
serviceson.src = "images/butt_services_h.gif";
servicesout = new Image;
servicesout.src = "images/butt_services.gif";

portfolioon = new Image;
portfolioon.src = "images/butt_portfolio_h.gif";
portfolioout = new Image;
portfolioout.src = "images/butt_portfolio.gif";

testion = new Image;
testion.src = "images/butt_testi_h.gif";
testiout = new Image;
testiout.src = "images/butt_testi.gif";

quoteon = new Image;
quoteon.src = "images/butt_quote_h.gif";
quoteout = new Image;
quoteout.src = "images/butt_quote.gif";

contacton = new Image;
contacton.src = "images/butt_contact_h.gif";
contactout = new Image;
contactout.src = "images/butt_contact.gif";

