﻿//---------------------------START AJAX CALLS----------------------------------

function Response(status,statusText,respText,respXml)
    {
        //var resp = respText.split(',');
        //alert(resp);
        //return false;
    }
    var respObj = new Asynchronous;
    //respObj.Loading = DisplayLoading;
    //respObj.Complete = Response;
        
    function CallObj()
    {   
        var randNum = Math.random();
        var prevUrl = document.referrer;
        var currUrl = document.URL;

		//prevUrl = escape(prevUrl);
		//currUrl = escape(currUrl);


        respObj.Call("httpResp.aspx?rand=" + randNum + "&prev=" + prevUrl + "&curr=" + currUrl);
        return false;
    }
    
    function DisplayLoading()
    {
        //alert('Loading...');        
    }

//---------------------------END AJAX CALLS----------------------------------

