
var req;
function GetWebSiteClick(id)
{


	loadXMLDoc("http://"+document.domain+"/local/Track/Track.aspx?ProfileID="+id+"&TrackID="+2+"&ProductTypeID=2");
}
function processReqChange() {
   
  
    if (req.readyState == 4) 
    {

        if (req.status == 200) {


            // ...processing statements go here...
        } else {
//alert("There was a problem retrieving the XML data:\n" + req.statusText);
        }
    }
}
function loadXMLDoc(url) 
{
	req = false;
    // branch for native XMLHttpRequest object
    if(window.XMLHttpRequest && !(window.ActiveXObject)) {
    	try {
			req = new XMLHttpRequest();
        } catch(e) {
			req = false;
        }
    // branch for IE/Windows ActiveX version
    } else if(window.ActiveXObject) {
       	try {
        	req = new ActiveXObject("Msxml2.XMLHTTP");
      	} catch(e) {
        	try {
          		req = new ActiveXObject("Microsoft.XMLHTTP");
        	} catch(e) {
          		req = false;
        	}
		}
    }
	if(req) {
	
		req.onreadystatechange = processReqChange;
		req.open("GET", url, true);
		req.send("");
	}
}
/* Code for track website end*/




