<!-- Image Flip -->
var imagePath;
imagePath = "/tehila1/Images/";

function on(a){
	if (document.images){ 
	document.images[a].src =  imagePath + a + "_on.gif" ;
	}
}

function off(a){ 
	if (document.images){	
	document.images[a].src =  imagePath + a + ".gif" ;
	}
}
//roll-over images
// params: a - gif's file-name ; b - img's form-id
function on1(a,b){
	if (document.images){ 
	document.images[b].src =  imagePath + a + "_on.gif" ;
	}
}
//roll-over images
// params: a - gif's file-name ; b - img's form-id
function off1(a,b){ 
	if (document.images){	
	document.images[b].src =  imagePath + a + ".gif" ;
	}
}

//roll over for serverside images
//roll-over images
// params: a - gif's file-name ; b - img's form-id
function onServerImage(a,b){
	b.src =  imagePath + a + "_on.gif" ;	
}
//roll-over images
// params: a - gif's file-name ; b - img's form-id
function offServerImage(a,b){ 
	b.src =  imagePath + a + ".gif" ;
}


<!--right menu on/off -->
function classOnSide(a){
var linkId="SideNav1_L"+a;
var tdId="pst"+a; 

document.getElementById(tdId).className="rigthMenu_on";
document.getElementById(linkId).className="rigthMenu_on";

}
function classOffSide(a){
var linkId="SideNav1_L"+a;
var tdId="pst"+a; 

document.getElementById(tdId).className="rigthMenu";
document.getElementById(linkId).className="rigthMenu";
}

function employeePopup(url){
window.open(url,"","width=510, height=450, status=yes, resizable=no scrollbars=yes top=200 left="+screen.width/4);
}

function full_screen(){
//window.moveTo(0,0);
//window.resizeTo(screen.width,screen.height);
window.resizeBy(200,100);
}

function resizeMe(x,y){
window.moveTo(screen.width/4,200);//screen.width,screen.height
window.resizeTo(x,y);
}

function confirmDelete(msg){
	if (confirm(msg)){
		 __doPostBack(params);
	}
}
