context: function val_Empire(form) {	checkFieldsRaw(form, 'choiceBox', 'id_list');		if (form.title.value == "") {	    alert('CD title can\'t be empty');	    form.title.focus();	    return false;	}	if (form.year.value == "") {	    alert('Year can\'t be empty');	    form.year.focus();	    return false;	}	if (!IsNumeric(form.year.value)) {		alert('Year must be numeric');	    form.year.focus();	    return false;	}	var mtyp = form.mediatype.options[form.mediatype.selectedIndex].value;	var mcat = form.category.options[form.category.selectedIndex].value;	var mcds = form.cds.options[form.cds.selectedIndex].value;	if (mtyp == "null") {		alert('Select media type on your copy');		return false;	}	if (mcat == "null") {		alert('Select main category');		return false;	}	if (mcds == "null") {		alert('Select number of cd\'s on your copy');		return false;	}	return true;}
meta: 772	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/772/0f4620c9e19795d517a2b91f1e514106c0cf7898/main.js/clean/includes/js/main.js