function getElementAbsoluteCoords(aElement){
      aLeft = 0;
      aTop  = 0;
      if (aElement.offsetParent)
      {
            aLeft = aElement.offsetLeft;
            aTop  = aElement.offsetTop;
            while (aElement = aElement.offsetParent)
            {
                  aLeft += aElement.offsetLeft;
                  aTop  += aElement.offsetTop;
            }
      }
      point=Array(2);
      point[0]=aLeft;
      point[1]=aTop;
      return point;
}
function checkFormcontact(){	
	if(document.contactForm.First_Name.value.length<2){
		alert("אנא הזן שם ");
		document.contactForm.First_Name.focus();
		return false;
	} 
	if(!isValidEmail(document.contactForm.Email.value)){
		alert("אנא הזן כתובת דואל חוקית");
		document.contactForm.Email.focus();
		return false;
	}
	return true;
}
function checkForm(){	 
	if(document.joinMailingList.Name.value.length<2){
		alert("נא להזין שם");
		document.joinMailingList.Name.focus();
		return false;
	} 
	if(!isValidEmail(document.joinMailingList.Email.value)){
		alert("נא להזין כתובת דואל חוקית");
		document.joinMailingList.Email.focus();
		return false;
	}
	if(document.joinMailingList.Phone.value.length<9){
		alert("נא להזין מספר טלפון/נייד");
		document.joinMailingList.Phone.focus();
		return false;
	}
	return true;
}
