cursel = "";
function changeBg(layername) {
	if(layername != ""){
		if (document.all){ document.all(layername).style.backgroundColor="#E95A0C";}
	}
}
function changeback(layername){
	if (cursel != layername){
		if (document.all){
			document.all(layername).style.backgroundColor="#EAE4CA";
		}
	}
}


function makeRequest1(sUrl, oParams) {
	for (sName in oParams) {
		if (sUrl.indexOf("?") > -1) {
			sUrl += "&";
		} else {
			sUrl += "?";
		}
		sUrl += encodeURIComponent(sName) + "=" + encodeURIComponent(oParams[sName]);
	}

	var oScript = document.createElement("script");
	oScript.src = sUrl;
	document.body.appendChild(oScript);
}

function getInfo1(inum) {
	var oParams = {
		"idnum": inum
	};
	makeRequest1("/updtclick1.php", oParams);
}
