function omniture_openDownloadLink(obj, linkName, url, winWidth, winHeight, winName, openFullWindow){
	// This function opens a PDF file and tags Omniture with a File Download hit.  This function is normally used on content pages
	// when directly opening a PDF link.  If opening from the left-hand nav menu, use the "omniture_flagDownloadLink()"
	// function instead.
	if (WebTrackingEnabled==null | WebTrackingEnabled=="N"){
		//- Open the PDF in a new window....
		openWindow(url, winWidth, winHeight, winName, openFullWindow);	
		return;
	}

	if (linkName==null || linkName=="" ){
		linkName = obj.nameProp;
		
		// In case this PDF was open using the openWindow() function, check for and strip out
		// any parameters associated with that function to return just the filename ONLY.
		endFileNamePos = linkName.indexOf(",");
		linkName = linkName.substring(0,endFileNamePos-1);
	}

	var s=s_gi(s_account);
	s.linkTrackVars='prop1,prop2';
	s.linkTrackEvents='';
	var lt=obj.href!=null?s.lt(obj.href):"";
	if (lt==""){
		s.tl(obj,'d',linkName);
	}

	//- Open the PDF in a new window....
	openWindow(url, winWidth, winHeight, winName, openFullWindow);	
}

function omniture_flagDownloadLink(obj, linkName) {
	// This function is the same as the omniture_OpenDownloadLink(), except that it doesn't open the PDF.  This function is 
	// normally called by the dynamic left-hand menu code.  The clase "nav-as-pop" automatically opens the link in a new window.
	// This function is merely called to 'flag' the PDF open in Omniture. For all other methods of opening a PDF, the regular
	// omniture_openDownloadLink() function is used.
	if (WebTrackingEnabled==null | WebTrackingEnabled=="N"){
		return;
	}

	if (linkName==null || linkName=="" ){
		linkName = obj.nameProp;
		
		// In case this PDF was open using the openWindow() function, check for and strip out
		// any parameters associated with that function to return just the filename ONLY.
		endFileNamePos = linkName.indexOf(",");
		linkName = linkName.substring(0,endFileNamePos-1);
	}

	var s=s_gi(s_account);
	s.linkTrackVars='prop1,prop2';
	s.linkTrackEvents='';
	var lt=obj.href!=null?s.lt(obj.href):"";
	if (lt==""){
		s.tl(obj,'d',linkName);
	}
}


