
	

	var xmlhttp = false;
	var xmlhttp2 = false;




// ajax form processing

var req;
var target1;
var target2;
var target3;
var target4;
var isIE;
var tipOp;

var xmlHttp = false;

function initRequest() {
	try {
    req  = new ActiveXObject("Msxml2.XMLHTTP");
} catch(e) {
    try {
        req  = new ActiveXObject("Microsoft.XMLHTTP");
    } catch(e) {
        req  = false;
    }
}

if (!req  && typeof XMLHttpRequest != 'undefined') {
    req = new XMLHttpRequest();
}
}

function report(videoId){
	initRequest();
	if (req) {	
	var params="videoId="+escape(videoId);
	//alert(params);
     req.open('POST', 'report.php', true);
	 //Send the proper header information along with the request
	 req.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
	 req.setRequestHeader("Content-length", params.length);
	 req.setRequestHeader("Connection", "close");
	 //req.onreadystatechange = processRequest;
     req.send(params);
	}
}
