mSuzy = function(yForm) {
	for (gI = 0; gI < yForm.crossSaleItemIds.length; gI++)
		if (yForm.crossSaleItemIds[gI].checked)
			return true;
	alert("Please select an item");
	return false;
}

function swapMenu(section, submenu) {
	if (document.getElementById) {
			if (section!="") {
				document.getElementById("nav_home").style.backgroundPosition = "0 -35px";
				}
			//if (submenu!="") {
				//document.getElementById(submenu).className = 'active';
			//}
		}

} 


function openBrWindow(theURL,winName,features) { //v2.0
 	 window.open(theURL,winName,features);
	}


function subscribeUser(saleItemId,theForm){
	document.getElementById(theForm).saleItemId.value=saleItemId;
	document.getElementById(theForm).submit();

}


function signupUser(flag,thisForm){

	if(flag=='YES'){
		thisForm.confirm.value=flag;
	}else{
		thisForm.confirm.value=flag;
	}
	
	thisForm.submit();
		
}