function setPage(strURL,divID,returnFunction) {
	var xmlHttpReq;
	try {
		xmlHttpReq = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch (e) {
		try {
			xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch (e) {
			try {
				xmlHttpReq = new XMLHttpRequest();
			}
			catch (e) {
			}
		}
	}
	try {
	    if(divID!="") document.getElementById(divID).innerHTML="Loading..";
		xmlHttpReq.open("POST", strURL, true);
		xmlHttpReq.setRequestHeader("Content-Type","text/html");
		xmlHttpReq.onreadystatechange =
		function() {
		    if (xmlHttpReq.readyState == 4) {
			    if (xmlHttpReq.status == 200) {
			        if(divID!=""){
			            document.getElementById(divID).innerHTML=xmlHttpReq.responseText;
			        }
			        if(typeof returnFunction!="undefined"){
			            eval(returnFunction);
			        }
				}
			}
		};
		xmlHttpReq.send(strURL);		
	}
	catch (e) {
	}
}
function setPage2(strURL,divID,returnFunction) {
	var xmlHttpReq;
	try {
		xmlHttpReq = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch (e) {
		try {
			xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch (e) {
			try {
				xmlHttpReq = new XMLHttpRequest();
			}
			catch (e) {
			}
		}
	}
	try {
	    //if(divID!="") document.getElementById(divID).innerHTML="Loading..";
		xmlHttpReq.open("POST", strURL, true);
		xmlHttpReq.setRequestHeader("Content-Type","text/html");
		xmlHttpReq.onreadystatechange =
		function() {
		    if (xmlHttpReq.readyState == 4) {
			    if (xmlHttpReq.status == 200) {
			        if(divID!=""){
			            document.getElementById(divID).innerHTML=document.getElementById(divID).innerHTML+xmlHttpReq.responseText;
			        }
			        if(typeof returnFunction!="undefined"){
			            eval(returnFunction);
			        }
				}
			}
		};
		xmlHttpReq.send(strURL);		
	}
	catch (e) {
	}
}

function vote_pic(id,caller){
	
	window.location="count.asp?id="+id+"&caller="+caller;
}


