// sets the account variable for Omniture metrics
//Last edited May 17, 2010 - Jim Humphrys
s_account="wlggoremedical"

//a separate file allows the account to be changed without republishing the site.
//this also provides the flexibility to use the same metrics code for microsites, but put the data in other report suites. 


//Read Meta values, other useful values, URL parameters
// Meta values



var temppagename="";
var tempcontenttype="";
var tempregion="";
var tempsearchterm="";


function checkMeta() {
  var metas = document.getElementsByTagName('meta');
  var i;
  for (i = 0; i < metas.length; i++)
    if (metas[i].getAttribute('name') == "pagename")
       temppagename= metas[i].getAttribute('content');
    else if (metas[i].getAttribute('name') == "contenttype")
       tempcontenttype= metas[i].getAttribute('content');
    else if (metas[i].getAttribute('name') == "region")
       tempregion= metas[i].getAttribute('content');
    else if (metas[i].getAttribute('name') == "searchterm")
       tempsearchterm= metas[i].getAttribute('content');
    
       
}
checkMeta();

