// JavaScript Document
// JavaScript Document
function bmoTracker(xmlpath, url) 
{
 	if (window.ActiveXObject)
 	{
 		btracker=new ActiveXObject("Microsoft.XMLDOM");
		btracker.async=false;
 		btracker.load(xmlpath);
	}
	else if (document.implementation && document.implementation.createDocument)
 	{
 		btracker= document.implementation.createDocument("", "", null);
 		btracker.async=false;
		btracker.load(xmlpath);
 	}
else 
	{
		//alert('Your browser does not allow this script.'); 
	}
}

//This function needs to be called to load a XML file for tracking impression on server and then load the offsite URL in new window
function customPopup_showcase3(url, wtrendsID, features)  {
	var xmlpath = "/vgn/tracker.xml?" + wtrendsID;
	bmoTracker(xmlpath, url);
	window.open(url, '', features);
}