function popUpPage(url, parameters, name)
{
	var day = new Date();
        var pageName = name ? name : day.getTime();
        eval("ma"+pageName+" = window.open('"+url+"','"+pageName+"','"+parameters+"')");
        if (eval("ma"+pageName) && window.focus) eval("ma"+pageName).focus();
}
function prepareDCSLinks()
{
   var as,i;
   // only set for sdc id'd tags
   as=document.getElementsByName("dcs"); 
   for(i=0;i<as.length;i++)
   {
		 // add event code
		 as[i].onclick=function(){doDCSEvent(this)};
     as[i].onkeypress=function(){doDCSEvent(this)};
   }
}
function doDCSEvent(o)
{
	 dcsMultiTrack('DCS.dcsuri',o.href,'WT.ti',o.title,'WT.si_n','','WT.si_p','');
 	 return false;
}
function prepareGALinks()
{
   var as,i;
   // only set for google analytics tags
   as=document.getElementsByName("ga");
	 for(i=0;i<as.length;i++)
   {
		 // add event code
		 as[i].onclick=function(){doGaEvent(this)};
     as[i].onkeypress=function(){doGaEvent(this)};
   }
}
function doGaEvent(o)
{
	 var category;
	 category = o.title;
	 if(category == '')
	 {
	 		category = "Default";
	 }
	 pageTracker._trackEvent(category, 'Click', o.href);	 
 	 return false;
}