if(navigator.appName.indexOf("Explorer") == -1)
	document.write("<link rel='StyleSheet' type='text/css' href='css/alt.css'>");


function p1600_showErrorText(sText) {
	box = document.getElementById('errorBox');
	box.innerHTML += "- " + sText + "<br>";
	box.className = 'errorBox';
}
function p1600_clearErrorText(sText) {
	box = document.getElementById('errorBox');
	box.innerHTML = "";
}
function p1600_validate(sFields) {
	p1600_clearErrorText();
	var r = true;
	for(i=0;i<sFields.length;i++) {
		obj = document.getElementById(sFields[i]);
		if(obj.value=="") {
			p1600_showErrorText(obj.title);
			obj.style.borderColor="#D2152D";
			r = false;
		} else {
			obj.style.borderColor="#CCCCCC";
		}
	}

	return r;
}

function p1110_mark(sObj) {
	for(i=0;i<100;i++) {
		pObj = document.getElementById("p1110_thumb" + i);
		if(pObj == null) {
			break;
			return;
		}
		(sObj == pObj) ? pObj.style.borderColor='#D2152D':pObj.style.borderColor='#FFFFFF';
	}
}