function log(id)
{

var get="click_log.php?log="+id;
var req = new ajaxObject(); 
req.open('GET', get, false); 
req.send(null);
var rs=req.responseText;
if (rs!=1 && rs!=2 && rs!=3  )
{
	alert ("Click logging fails. \n Error: " + rs);
}
}


function ajaxObject() 
 {
	try {return new ActiveXObject("Msxml2.XMLHTTP.6.0"); } catch(e){
			try { return new ActiveXObject("Msxml2.XMLHTTP.3.0"); } catch(e){
	try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch(e){
	try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch(e){
	try { return new XMLHttpRequest() } catch(e){
	throw new Error( "This browser does not support XMLHttpRequest." );
}}}}}}
