<!--
/*function wtxt_chk()
{	
	var w=document.forms[0].wtxt.value;
	if(validate_isempty(w)){
		alert("Enter city name or ZIP code");
		document.forms[0].wtxt.focus();}
	if(w.length > 0)
	{window.open("http://www.weather.com/weather/local/"+ w +"?lswe="+ w +"&lwsa=WeatherLocalUndeclared&from=whatwhere");}
}

function srch_chk()
{	
	var s=document.forms[0].srchtxt.value;
	if(validate_isempty(s)){
		alert("Enter Search text");
		document.forms[0].srchtxt.focus();}	
	if(s.length > 0)
	{window.open("http://www.google.com/search?hl=en&lr=&q=site%3Achildswish.com+"+ s +"&btnG=Search");}
}*/

   
   function isValid_tel(Strval)
       {
//         if (Strval == "") return false;	
		 if (i=0)
			{
				if ( Strval.charAt(i) < "0" && (Strval.charAt(i) != "-" && Strval.charAt(i) != " " && Strval.charAt(i) != "+"))return false;
			}
			i= i+1;
		 for (i=1; i < Strval.length; i++)		
           {
		        if ( Strval.charAt(i) < "0" && (Strval.charAt(i) != "-" && Strval.charAt(i) != " "))return false;
				if ( Strval.charAt(i) > "9") return false;										
	        }			
	       return true;
       }
function isNumber(Strval)
       {
		 for (i=0; i < Strval.length; i++)		
           {
		        if ( (Strval.charAt(i)>= "0") && (Strval.charAt(i) <= "9")){					
				}
				else{
					return false;
				}
	        }				       
	   return true;
       }

function validate_isempty(val)
{
	if(val == "")
         {	return true;}
    return false;
}

function validate_mail(val)
{
		
		index_at = val.indexOf("@",0);     	
        index_at=index_at+1;
		//alert("index_at :" + index_at);
		index_dot = val.indexOf(".",index_at);
		//alert("index_dot :" + index_dot);
		subst = val.substring(index_at,index_dot);       
		//alert("subst :" + subst);
        index = val.substring(index_dot+1);
		//alert("index :" + index);
			 if(index_at == -1 || index_at == 0 || index_dot == -1 || subst == ""  || index == "")
            { return false;}         
		return true;
}	

function isAlpha(Strval)
{
	if(Strval.length>0){
	str = Strval.toUpperCase();
		 for (i=0; i < str.length; i++)		
           {
		        if ( ((str.charAt(i) >= "A") && (str.charAt(i) <= "Z")) || (str.charAt(i)=="_"))
			   {}
					else{
					return false
				}
	        }
	}
	else{
		return false;
	}
return true;
}
-->