function disableForm(theform) {
	if (document.all || document.getElementById) {
		for (i = 0; i < theform.length; i++) {
			var tempobj = theform.elements[i];
			if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset")
			tempobj.disabled = true;
		}
		return true;
	}
}

function highlight(o,c) {
	o.style.backgroundColor=c;
	o.style.border=1;
}


function popup(URL, width, height) {
	window.open(URL,"popup","width="+width+",height="+height+",status=no,location=no,menubar=no,scrollbars=yes,toolbar=no,resizable=yes"); 
}

function disableForm(theform) {
if (document.all || document.getElementById) {

for (i = 0; i < theform.length; i++) {
var tempobj = theform.elements[i];
if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset")
tempobj.disabled = true;
}

}
else {

return false;
}
}


