if(typeof s != 'undefined')
{
	//You may give each page an identifying name, server, and channel on the next lines. 

//s=s_gi(s_account); 

// only set page type if error page 
var script_filename = window.location.pathname;
if (script_filename.search("404-error.php") > 0)
{
	s.pageType="errorPage";
}
else 
{ 
    // only set pagename if not error page 
    s.pageName= pagename; 
} 

if(om_server != null)
{
    s.server = om_server;
}
 
s.prop9=om_reg;
s.eVar24=om_contactID;
s.visitorID=om_contactID;
s.prop12=om_contactID;
s.eVar11 = s.prop9;
s.channel = om_channel;
s.prop1 = om_prop1;
s.prop2 = om_prop2;

if(om_prop3 != null)
{
	s.prop3 = om_prop3;
	s.evar4 = om_prop3;
}

//With top questions search implementation, we can't track # of results - comment out for now.
//if(om_prop3 != null)	
//s.prop4 = om_prop4;

if(om_prop10 != null) 
{
    s.prop10 = om_prop10;
}

s.prop11 = window.location.hostname;
//Hierarchy Variables 
s.hier1 = om_hier.replace(":", "|");
 
if(om_events != null || om_evar1 != null || om_prod != null) 
{
	//commerce stuff 
    if(om_events != null)
	{
    	s.events = om_events;
    } 
    if(om_evar1 != null)
	{ 
    	s.eVar1 = om_evar1;
    } 
    if(om_evar2 != null)
	{ 
    	s.eVar2 = om_evar2;
    } 

    if(om_prod.length > 0) 
	{ 
	
	  prodstring += ";" + om_prod[0];
	  prodstring += ";;;;evar12=" + om_prod[2];
	}
	
    s.products = prodstring; 
}


// set evar26 on all conversion points
if(om_events != null)
{
   if(om_events.search("event2") > 0)
   {
      s.eVar26=s.pageName;
   }
}
 
//************* DO NOT ALTER ANYTHING BELOW THIS LINE (in Omniture code) ! **************
var s_code=s.t();if(s_code)document.write(s_code)
//************* DO NOT ALTER ANYTHING ABOVE THIS LINE ! **************
 
// End SiteCatalyst code version: H.14. 
}
