function ShowMenu(objMenu)
{
		if (objMenu.className == "show_more") 
			{
			
            objMenu.className = "hide_more";
			}
        else 
			{
            objMenu.className = "show_more";
			}
}




function HideMenu(objMenu)
{
		if (objMenu.className == "show_more") 
			{
			
            objMenu.className = "show_more";
			}
        else 
			{
            objMenu.className = "show_more";
			}
}


function CheckForm1 () { 
	//Initialise variables
	var errorMsg = "";
	//Check for a first name
	if (document.Search.query.value == ""){
		errorMsg += "\n";	
	}		
	//If there is aproblem with the form then display an error
	if (errorMsg != ""){
		msg = "\n\נא הזן ערך לחיפוש\n";		
		errorMsg += alert(msg + errorMsg);
		return false;
	}	
	document.Search.query.value =document.Search.query.value.replace(/\'/g,"");
	document.Search.submit();
}
function CheckForm () { 
	//Initialise variables
	var errorMsg = "";
	//Check for a first name
	if (document.Search.query.value == ""){
		errorMsg += "\n";	
	}		
	//If there is aproblem with the form then display an error
	if (errorMsg != ""){
		msg = "\n\נא הזן ערך לחיפוש\n";		
		errorMsg += alert(msg + errorMsg);
		return false;
	}	
	document.Search.query.value =document.Search.query.value.replace(/\'/g,"");
	document.Search.submit();
}

function CheckForm2 () { 

	//Initialise variables
	var errorMsg = "";

	//Check for a first name
	if (document.Search2.query.value == ""){
		errorMsg += "\n";	
	}
		
	//If there is aproblem with the form then display an error
	if (errorMsg != ""){
		msg = "\n\נא הזן ערך לחיפוש\n";
		
		errorMsg += alert(msg + errorMsg);
		return false;
	}
	
	document.Search2.query.value =document.Search2.query.value.replace(/\'/g,"");
	document.Search2.submit();
}

