function evtLoad(){
	
}


function setForm(thisForm,thisAction){
	
	eval ("var t = document.product" + thisForm + ";");
	
	switch (thisAction) {
		case "update":
			t.form_action.value=thisAction;
			break;
			
		case "Up":
			
			t.form_action.value=thisAction;
			break;
		case "Down":
			t.form_action.value=thisAction;
			break;
		
		case "delete":
			var msg;
			msg = "Press OK to confirm you wish to delete this item (this cannot be undone!)"
			if (confirm(msg)) {
				
				t.form_action.value = "delete";				
			}else{
				return false;
			}
			break;			
	}
	eval ("document.product" + thisForm + ".submit();");
}
