function ajaxGet(ajaxurl,formid) {
	try {
    	xmlhttp = window.XMLHttpRequest?new XMLHttpRequest(): new ActiveXObject("Microsoft.XMLHTTP");
	} catch (e) {
	    // browser doesn't support ajax. handle however you want
	}
	xmlhttp.onreadystatechange = function() {
		if ((xmlhttp.readyState == 4) && (xmlhttp.status == 200)) {
			document.getElementById(formid).style.display='block';
    		document.getElementById(formid).innerHTML = xmlhttp.responseText;
		}
	}
	xmlhttp.open("GET",ajaxurl,true);
	xmlhttp.send(null);
}

function ajaxGetvar(ajaxurl,formid) {
	try {
    	xmlhttp = window.XMLHttpRequest?new XMLHttpRequest(): new ActiveXObject("Microsoft.XMLHTTP");
	} catch (e) {
	    // browser doesn't support ajax. handle however you want
	}
	xmlhttp.onreadystatechange = function() {
		if ((xmlhttp.readyState == 4) && (xmlhttp.status == 200)) {
			document.getElementById(formid).style.display='block';
    		document.getElementById(formid).innerHTML = xmlhttp.responseText;
		}
	}
	xmlhttp.open("GET",ajaxurl+'&random='+Math.random(),true);
	xmlhttp.send(null);
}

function mouseOver()
{
document.getElementById("moreinfo").src ="images/moreinfo2.png"
}
function mouseOut()
{
document.getElementById("moreinfo").src ="images/moreinfo.png"
}

function submitOver()
{
document.getElementById("moreinfo").src ="images/submit2.png"
}
function submitOut()
{
document.getElementById("moreinfo").src ="images/submit.png"
}


