function SendImpressionGlobal(event, value, subid1, subid2) { if (subid1 === undefined) subid1 = ""; if (subid2 === undefined) subid2 = ""; try { var subId = typeof subid != 'undefined' ? subid : ""; var impression = "//imp.hworldeventstoday.com/impression.do?event=" + event + "&user_id=09a842ce-fcbf-4b8a-b6df-532cb432dd08" + "&source=-lp0" + "&traffic_source=" + "&subid=" + subid1 + "&subid2=" + subid2 + "&implementation_id=" + sptpn.imp + "&page=" + encodeURIComponent(document.referrer) + "&referrer=https%3a%2f%2fwww.todayonlinenews.org%2f"; var img = document.createElement("img"); img.src = impression; img.width = 1; img.height = 1; img.style.display = 'none'; document.body.appendChild(img) } catch (err) { } }

//function SendImpressionGlobal(event, value) {
//    try {
//        var subId = typeof subid != 'undefined' ? subid : "";

//		var impression =
//			"//imp.hworldeventstoday.com/impression.do?event=" + event +
//			"&user_id=09a842ce-fcbf-4b8a-b6df-532cb432dd08" +
//			"&source=-lp0" +
//			"&traffic_source=" +
//			"&subid=" + subId +
//			"&implementation_id=todayonlinenews.org" +
//			"&page=todayOnlineNews_v1" + 
//			"&referrer=https%3a%2f%2fwww.todayonlinenews.org%2f"
//		;

//		var img = document.createElement("img");
//		img.src = impression;
//		img.width = 1;
//		img.height = 1;
//		img.style.display = 'none';

//		document.body.appendChild(img);
//	}
//	catch (err) {}
//}


//function SendImpressionGlobal(event, value) {
//    try {
//        var subId = typeof subid != 'undefined' ? subid : "";

//        var impression = "//imp.hworldeventstoday.com/impression.do?event=" + event +
//			    "&user_id=09a842ce-fcbf-4b8a-b6df-532cb432dd08" +
//			    "&source=-lp0" +
//			    "&traffic_source=" +
//			    "&subid=" + subId +
//			    "&implementation_id=todayonlinenews.org" +
//			    "&page=todayOnlineNews_v1" +
//			    "&referrer=https%3a%2f%2fwww.todayonlinenews.org%2f"
//        ;

//        var request = new XMLHttpRequest();
//        request.open("GET", impression, true);
//        request.send(null);
//    }
//    catch (err) {}
//}
