function simpleTrack (sID) {	
//alert("TRACK: " + sID);
	// disney tracking code
	_hbflash(sID,'n','n','n');

	// google tracking code
	setTimeout("urchinTracker('" + sID + "')", 2000);

}

function popUpAndTrack (sID, sUrl, nWidth, nHeight, sType) {
	// and the opening of the link
	if(sType == "self"){
	//	alert('self');
		document.location = sUrl;
		
	}else if(sType=="download"){
		//window.open(sUrl,"pirates",'width=' + nWidth + ',height=' + nHeight + ',scrollbars=1');
	}else{
	//	alert('no bars');
		window.open(sUrl,"pirates",'width=' + nWidth + ',height=' + nHeight + ',scrollbars=1,resizable=1');
	}
	
	setTimeout('simpleTrack(\''+sID+'\')',2000);
}

	

function mailtoAndTrack (sID, sBody, sSubject) {
	
	// and the opening of the mail window
	document.location = "mailto:?body=" + sBody + "&subject=" + sSubject;
	
	simpleTrack(sID);
	
}

function changeIframe(ns){
	document.getElementById('convtrackingiframe').src = ns;
}

