function runSlideShow() {
     if (document.all){
      document.getElementById('logos01').style.filter="blendTrans(duration=1)"
      document.getElementById('logos01').filters.blendTrans.Apply();
	  document.getElementById('logos02').style.filter="blendTrans(duration=1)"
      document.getElementById('logos02').filters.blendTrans.Apply();
     }
     document.getElementById('logos01').src = '/'+preLoad01[j];
	 document.getElementById('logos02').src = '/'+preLoad02[j];
     if (document.all){
        document.getElementById('logos01').filters.blendTrans.Play();
		document.getElementById('logos02').filters.blendTrans.Play();
     }
     j = j + 1
     if (j > (p01-1)) j=0
     t = setTimeout('runSlideShow()', slideShowSpeed)
}
function module6_validation(formname) {
	var emailaddress=formname.emailaddress.value;
	var firstname=formname.firstname.value;
	var telephone=formname.telephone.value;
	var emailconfirm=isValidEmail(emailaddress);
	if ((emailconfirm)&&(firstname.length>2)&&(telephone.length>2)) {
		return true;
	} else {
		if (!emailconfirm) {
			alert('כתובת הדואר האלקטרוני אינה תקינה');
		} else {
			alert('חובה למלא את השדות המסומנים בכוכבית');
		}
		return false;
	}
}
function module4_validation(formname) {
	var emailaddress=formname.emailaddress.value;
	var firstname=formname.firstname.value;
	var lastname=formname.lastname.value;
	var emailconfirm=isValidEmail(emailaddress);
	if ((emailconfirm)&&(firstname.length>2)&&(lastname.length>2)) {
		return true;
	} else {
		if (!emailconfirm) {
			alert('כתובת הדואר האלקטרוני אינה תקינה');
		} else {
			alert('חובה למלא שם מלא');
		}
		return false;
	}
}
function isValidEmail(str) {
   return (str.indexOf(".") > 1) && (str.indexOf("@") > 0);
}
