
function trackDomain(){//start
var xmlHttpReq1 = false;
var self = this;
var d=new Array();
var c=new Array();
var sSrc;
		d=document.referrer.split("/");
		
		sSrc="http://shopping.expressindia.com/affiliate.php?domain_name="+d[2];
		//sSrc="http://shopping.expressindia.com/affiliate.php";
		
			//trasnfer
		if (window.XMLHttpRequest) 
    {
        self.xmlHttpReq1 = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) 
    {
        self.xmlHttpReq1 = new ActiveXObject("Microsoft.XMLHTTP");
    }
		self.xmlHttpReq1.open('GET', sSrc, true);
		
		self.xmlHttpReq1.onreadystatechange = function()
		{
       if (self.xmlHttpReq1.readyState == 4)
				{    	
						//alert(self.xmlHttpReq1.responseText);
			  }
    }
	  self.xmlHttpReq1.send(null);
		//end here
	
		
}



				