function _GET(key){
	key = key.replace(/[\[]/,'\\\[').replace(/[\]]/,'\\\]');
	var regexS = '[\\?&]'+key+'=([^&#]*)';
	var regex = new RegExp(regexS);
	var results = regex.exec(window.location.href);
	if(results == null){
		return '';
	}else{
		return results[1];
	}
}


//Atlas Function

function AtlasFunction(atlasTrackingURL) {

    var atlasURL = atlasTrackingURL;

    //alert(atlasTrackingURL);

    if (!atlasURL) return;

    //Build a cache busting mechanism

    var timestamp = new Date();

    var queryString = "?random=" + Math.ceil(Math.random() * 999999999999) +

timestamp.getUTCHours() + timestamp.getUTCMinutes() + timestamp.getUTCSeconds();

    //Build the final URL

    atlasURL = atlasURL + queryString;

    if (!document.getElementsByTagName || !document.createElement

|| !document.appendChild)

    { return false; }

    else { //Activate the JACTION call

        var script = document.createElement("script");

        script.type = "text/javascript";

        script.src = atlasURL;

        document.getElementsByTagName("head")[0].appendChild(script);

        return true;

    }

}

