function trim_all(strObjName){ 
	//this function removes the spaces from the variables
        var strObj = strObjName;
        var strRet = "";
        for (i = 0;i < strObj.length;i++)
        {
                if(strObj.charAt(i) != " " && strObj.charAt(i) != "")
                        strRet = strRet+strObj.charAt(i);
        }
		
        return strRet;
}


function checkmeserch(){
//alert("a");
	var search = document.junk.s;
	
			
	if(trim_all(search.value) == "Search"  || trim_all(search.value) == ""){
	
		document.getElementById('searchalert').style.display='block';
		search.focus();
		return false;
	}else{
		document.getElementById('searchalert').style.display='none';
	}
	
	
	
	
	
	return true;
	
}
