
<!-- START ONMOUSE OVER COLOR IN TABLE -->
 

var ns6=document.getElementById&&!document.all
var ie=document.all

function changeto(e,highlightcolor){
source=ie? event.srcElement : e.target
if (source.tagName=="TR"||source.tagName=="TABLE")
return
while(source.tagName!="TD"&&source.tagName!="HTML")
source=ns6? source.parentNode : source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function contains_ns6(master, slave) { //check if slave is contained by master
while (slave.parentNode)
if ((slave = slave.parentNode) == master)
return true;
return false;
}

function changeback(e,originalcolor){
if
(ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")||source.tagName=="TR"||source.tagName=="TABLE")
return
else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
return
if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
source.style.backgroundColor=originalcolor
source.style.backgroundColor=originalcolor
}
<!-- END ONMOUSE OVER COLOR IN TABLE -->



function writeFlash (flashID, flashMovie, width, height) {

	var t ="";
	t += '<object ';
	t += '	id="' + flashID + '"';
	t += '	classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
	t += '	codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" ';
	t += '	width="' + width + '" ';
	t += '	height="' + height + '">';
	t += '		<param name="movie" value="' + flashMovie + '">';
	t += '		<param name="quality" value="high">';
    t += '     <param name="wmode" value="transparent" />';
    t += '		<embed src="' + flashMovie + '" ';
	t += '			name="' + flashID + '"';
	t += '			quality="high" ';
	t += '			pluginspage="http://www.macromedia.com/go/getflashplayer" ';
	t += '			type="application/x-shockwave-flash" ';
	t += '			width="' + width + '" ';
	t += '			height="' + height + '">';
	t += '		</embed>';
	t += '</object>';
	
	document.write (t);
}


function popadfree() {

        window.open('PopAdFree.asp','EANITHING','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,width=403,height=588');

self.name="main"}


function popsilvester() {

        window.open('PopSilvester.asp','EANITHING','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,width=603,height=503');

self.name="main"}


<!-- START MAILER FORM CHECK -->

function Reset_mailform(){
document.contact.reset();
}



function check_mailform() {

      if (document.contact.FirstName.value==""){
		window.alert("! נא להזין שם פרטי");
		contact.FirstName.focus();
		return false;
	}
	if (document.contact.LastName.value==""){
		window.alert("! נא להזין שם משפחה");
		contact.LastName.focus();
		return false;
	}
	
	
	if (document.contact.Email.value=="" || document.contact.Email.value.indexOf('@')==-1){
		window.alert("! נא להזין דואר אלקטרוני תקין");
		contact.Email.focus();
		return false;
	}
	
	document.contact.ACTION='MailSend.asp'
	
	document.contact.submit();
	
	}
	
<!-- END MAILER FORM CHECK -->




<!-- START MAILER FORM CHECK -->

function Reset_orders(){
document.order.reset();
}



function check_orders() {

      if (document.order.FirstName.value==""){
		window.alert("! נא להזין שם פרטי");
		order.FirstName.focus();
		return false;
	}
	if (document.order.LastName.value==""){
		window.alert("! נא להזין שם משפחה");
		order.LastName.focus();
		return false;
	}
	
	
	if (document.order.Email.value=="" || document.order.Email.value.indexOf('@')==-1){
		window.alert("! נא להזין דואר אלקטרוני תקין");
		order.Email.focus();
		return false;
	}
	
	
	
	document.order.submit();
	
	}
	
<!-- END MAILER FORM CHECK -->


<!-- START CHECK join FORM -->

function cleanform(){
document.join.reset();
}


function checkcontact(){
     if (document.join.FirstName.value==""){
		window.alert("! נא להזין שם פרטי");
		join.FirstName.focus();
		return false;
	}
	if (document.join.LastName.value==""){
		window.alert("! נא להזין שם משפחה");
		join.LastName.focus();
		return false;
	}
	
			
	if (document.join.email.value=="" || document.join.email.value.indexOf('@')==-1){
		window.alert("! נא להזין דואר אלקטרוני תקין");
		join.email.focus();
		return false;
	}
	

 document.join.submit();
	
	}
	
<!-- END CHECK join FORM -->


<!-- START WINDOW POPUP -->
var win = null;


function NewWindow(mypage,myname,w,h,scroll){
LeftPosition =  0;
TopPosition =  0;

settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}


<!-- END WINDOW POPUP -->


<!-- START WINDOW POPUP -->


function PopRegistry(){


settings ='height=163,width=252,top=0,left=0,scrollbars=yes,resizable'
Page='PopRegistry.asp'
win1 = window.open(Page,'Registryname',settings)

}



function PopJobs(){


settings ='height=560,width=560,top=0,left=0,scrollbars=yes,resizable'
Page='PopJobs.asp'
win1 = window.open(Page,'Jobsname',settings)

}



function  GoRegistryLocation() {

fetchRegistryLocation();
theKeeper=window.close()
}

function fetchRegistryLocation() {
var root;
if (opener.closed) {
root=window.open();
root.location.href="Registration.asp"; 
}

 else {
opener.location.href="Registration.asp"; 
   }
}





<!-- END WINDOW POPUP -->


<!-- START CHECK join FORM -->
function ResetUser(){
document.join.reset();
}
function checkUser(){
     if (document.join.FirstName.value==""){
		window.alert("! נא להזין שם פרטי");
		join.FirstName.focus();
		return false;
	}
	if (document.join.LastName.value==""){
		window.alert("! נא להזין שם משפחה");
		join.LastName.focus();
		return false;
	}
	if (document.join.NickName.value==""){
		window.alert("! נא להזין שם כינוי");
		join.NickName.focus();
		return false;
	}
			
	if (document.join.Email.value=="" || document.join.Email.value.indexOf('@')==-1){
		window.alert("! נא להזין דואר אלקטרוני תקין");
		join.Email.focus();
		return false;
	}
	
	
	 if (document.join.Password.value==""){
 		window.alert("! נא להזין סיסמא בין 6 ל 8 תווים ");
		join.Password.focus();
		return false;
	}
	
 if (document.join.Password.value!=""){
 	if (document.join.Password.value.length<6 || document.join.Password.value.length>8){
		window.alert("! נא להזין סיסמא בין 6 ל 8 תווים ");
		join.Password.focus();
		return false;
	}
}
 
 if (document.join.Password2.value==""){
		window.alert("! נא לאשר סיסמה")
		document.join.Password2.focus();
		return false;
	}


if (document.join.Password.value!=document.join.Password2.value){
		window.alert("סיסמאות לא זהות!");
		document.join.Password2.value="";
		document.join.Password2.focus();	
		return false;	
	}
    document.join.submit();
}

<!-- END CHECK join FORM -->

<!-- START LOGIN -->

function CheckLogin(){

if (document.Login.LogginEmail.value ==""){
		window.alert("! נא להזין כתובת דואר אלקטרוני");
		document.Login.LogginEmail.focus()	
		return false;
	}
	
	if (document.Login.LogginPassword.value ==""){
		window.alert("! נא להזין סיסמה");
		document.Login.LogginPassword.focus()	
		return false;
	}

	document.Login.submit()	


}


<!-- END LOGIN -->





<!-- START WINDOW POPUP -->


var win1 = null;  

function forgotpass(){
settings ='height=120,width=350,top=0,left=0,scrollbars=yes,resizable'
Page='PopForgotPass.asp'
win1 = window.open(Page,'newname',settings)

}

<!-- END WINDOW POPUP -->



<!-- START  FORGOTPASS-->

function CheckEmail(){
if (document.form.Email.value ==""  || document.form.Email.value.indexOf('@')==-1 ){
		window.alert("! נא להזין כתובת דואר אלקטרוני חוקית")
		document.form.Email.focus()	
		return false;
	}
	document.form.submit()	
}
<!-- END FORGOTPASS  -->



<!-- START contact  -->

function Reset_mailform(){
document.contact.reset();
}



function check_mailform() {

      if (document.contact.FirstName.value==""){
		window.alert("! נא להזין שם פרטי");
		contact.FirstName.focus();
		return false;
	}
	if (document.contact.LastName.value==""){
		window.alert("! נא להזין שם משפחה");
		contact.LastName.focus();
		return false;
	}
	
	
	if (document.contact.Email.value=="" || document.contact.Email.value.indexOf('@')==-1){
		window.alert("! נא להזין דואר אלקטרוני תקין");
		contact.Email.focus();
		return false;
	}
	
	document.contact.ACTION='MailSend.asp'
	document.contact.submit();
	
	}

<!-- END contact  -->




function showVideo(j){

  object=document.all.PlayVideo(j);
 
if (object.style.display=='none')
   { 

  object.style.display='';
  
   }
else
   { 
    object.style.display='none';
    }   
}	


