function hiLite(imgName, imgStatus){
	picName=imgName+imgStatus;
	picSrc=eval("'../images/"+picName+".gif'");
	if(document.images){
	for(i=0; i<document.images.length; i++){
		if(document.images[i].name==imgName){
			document.images[i].src=picSrc;
		}
	}
	}
}


//--functie calc x_Exp_Date in ccpayment.asp
function expiration(){
	expiration_mm=window.document.frmAuthorize.mm[window.document.frmAuthorize.mm.selectedIndex].value;
	expiration_yy=window.document.frmAuthorize.yy[window.document.frmAuthorize.yy.selectedIndex].value;
	window.document.frmAuthorize.x_Exp_Date.value=expiration_mm + "/" + expiration_yy;
}


//-- functie submit apelata in my_account.asp
function doSubmit(){
	if (window.document.frm1.sdn.selectedIndex==0)
		alert("Please choose the deal No");
	else if (window.document.frm1.dd.value==0)
		alert("please enter the amount you pay !");
	else
		window.document.frm1.submit();
}
