﻿  function SearchKeywordFocus(obj)
    {
        if(obj.value=="Enter Search Keywords Here")
            obj.value="";       
    }
    function SearchKeywordBlur()
    {        
        t=document.getElementById("Search_Keyword");
        if(t.value=="")
        t.value="Enter Search Keywords Here";           
    }
     function HrefProduct(str)
    {
        if(str=="all")
        {
            location.href="ViewAllProduct.aspx"+location.search;
        }
        if(str=="new")
        {
             location.href="ViewAllNew.aspx";
        }
    }
    function CheckEmail(testValue)
    {
    	    
        blogpatrn=/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/
        if (!blogpatrn.test(testValue)) return false;
        return true;
    }