
function trackOn24Link() 
{
	//alert(this.id + " - " + this.href + " - " + this.className);
	//alert(this.className)
	//alert(this.className.indexOf("requirereg")!=-1)
	//alert(this.className && this.className.indexOf("requirereg")!=-1)
	if (this.className && this.className.indexOf("requirereg")!=-1)
	{
	
		if (email==null || email=="null") {
			email = getUserEmail();
		}
		//alert(email)
		if (email==null || email=="null")
		{
			launchRegPage(this.id);
			return false;
		}
	}
	//alert(objSessionObject.displayplayer);
	
	//alert(getDPID(this.id));
	trackHit(this.id,0,getDPID(this.id));
	
	//alert("ms.js here");
	document.all.vp.src = "blank.html";
	document.all.pupTitle.innerHTML = "";
	
	return true;
	
}

//added by kamal to emulate click on Mozilla, edited by Avi to work with no specified target
function MozillaLinkClick(plnkNode)
{
	var bolFollowLink = true;
	var strTarget = null;
	
	// Run the link onClick event.
	if (plnkNode.onclick)
	{
		if (plnkNode.onclick() == false)
		{
		bolFollowLink = false;
		}
	}
	
	// Get the link target.
	if (plnkNode.target)
	{
		strTarget = plnkNode.target;
	}
	if (bolFollowLink)
	{
		if (strTarget == null)
		{
			// Open using location.href not window.open! -- AR
			document.location.href = plnkNode.href;
		} else {
			// Open using the link target.
			window.open(plnkNode.href, strTarget);
		}
	}
}