function cookiemon () {
	var myresult = document.form2.mycountry.value;
	if (document.cookie && document.cookie != "") {
	var nameEQ = "country=";
	myresult = "ALL";
	document.form2.mycountry.value = myresult;
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) myresult = c.substring(nameEQ.length,c.length);
	}
	if (myresult != "undefined") document.form2.mycountry.value = myresult;
}
}
function cookiem () {
	var myresult = document.form1.country.value;
	if (document.cookie && document.cookie != "") {
	var nameEQ = "country=";
	myresult = "ALL";
	document.form1.country.value = myresult;
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) myresult = c.substring(nameEQ.length,c.length);
	}
	if (myresult != "undefined") document.getElementById("country").value = myresult;
}
}
function setCountryCookie() {
	var name = "country";
	var value = document.form2.mycountry.value;
	var days = 200;
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}function clearv() {
	document.getElementById('js').style.backgroundColor = '#FFFFE1';
	document.getElementById("fleming").style.display = "inline";
	if(document.getElementById("js").value == "ALL") document.getElementById("js").value = "";
}function unhighlight(div) {
	document.getElementById(div).style.backgroundColor = '';
	document.getElementById("fleming").style.display = "none";
	if(document.getElementById("js").value == "") document.getElementById("js").value = "ALL";
}function job() { window.open("https://www.acmecontracts.com/contractor/signina.asp");}
function jobby(num) { window.open("http://www.acmecontracts.com/job.asp?ID=" + num); }
function emailjob() {
document.getElementById("showtab").style.display = 'none';
document.getElementById("hidtab").style.display = 'inline';
document.getElementById("greentick").style.display = 'none';
 var frmvalidator = new Validator("myform");
 frmvalidator.addValidation("email","maxlen=50");
 frmvalidator.addValidation("email","req");
 frmvalidator.addValidation("email","email");
document.getElementById("email").focus();
} function eggjob(num) {
document.getElementById("hidtab").style.display = 'none';
document.getElementById("showtab").style.display = 'none';
document.getElementById("seethatnow").style.display = 'inline';		
hidethis.location = ("http://www.acmecontracts.com/emailjob.asp?ID=" + num + "&Email=" + document.getElementById("email").value);
} function rss() { window.open("http://www.acmecontracts.com/rss/jobs-by-rss.asp"); }