function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function ConfirmDel()
{
    if (confirm('Are you sure you want to delete this record?'))
    {
        return true;
    }
    else
    {
        return false;
    }
}
var flag=false; 
function DrawImage(ImgD,l_width,l_hight){ 
var image=new Image(); 
image.src=ImgD.src; 
if(image.width>0 && image.height>0){ 
flag=true; 
if(image.width/image.height>= l_width/l_hight){ 
if(image.width>l_width){ 
ImgD.width=l_width; 
ImgD.height=(image.height*l_width)/image.width; 
}else{ 
ImgD.width=image.width; 
ImgD.height=image.height; 
} 
/*ImgD.alt=image.width+"?ив"+image.height;*/ 
} 
else{ 
if(image.height>l_hight){ 
ImgD.height=l_hight; 
ImgD.width=(image.width*l_hight)/image.height; 
}else{ 
ImgD.width=image.width; 
ImgD.height=image.height; 
} 
/*ImgD.alt=image.width+"?ив"+image.height;*/ 
} 
} 
/*else{ 
ImgD.src=""; 
ImgD.alt="" 
}*/ 
} 