/* This is custom code for Omniture */

//
// Clear Omniture variables
//
function o_clearOmniture() {
	s.pageName='';
	s.server='';
	s.channel='';
	s.pageType='';
	s.prop1=''; s.prop2='';	s.prop3='';	s.prop4='';	s.prop5='';	s.prop6=''; s.prop7=''; s.prop8='';	s.prop9='';	s.prop10='';
	s.hier1='';
	s.campaign='';
	s.state='';
	s.zip='';
	s.events='';
	s.products='';
	s.purchaseID='';
	s.eVar1='';	s.eVar2='';	s.eVar3='';	s.eVar4='';	s.eVar5='';	s.eVar6='';	s.eVar7='';	s.eVar8='';	s.eVar11=''; s.eVar12='';
	s.eVar13=''; s.eVar14=''; s.eVar15=''; s.eVar16=''; s.eVar17=''; s.eVar18='';	s.eVar19=''; s.eVar20=''; s.eVar21=''; s.eVar22='';
	s.eVar26='';
}

function o_clearOnClicks(s) {
	s=s_gi(s_account);
	s.prop30=''; s.prop31=''; s.prop32=''; s.prop33=''; s.prop34=''; s.prop35=''; s.prop36=''; s.prop37=''; s.prop38=''; s.prop39='';
	s.prop40=''; s.prop41=''; s.prop42='';
}

//
// Set OnClicks
//
function o_trackHotTopics(HTID) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop30";
	s.linkTrackEvents="None";
	s.prop30=HTID;
	s.tl(this,'o','Hot Topics');
}

function o_trackShowCase(SCID) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop31";
	s.linkTrackEvents="None";
	s.prop31=SCID;
	s.tl(this,'o','Showcase');
}

function o_trackFAQ(FAQID) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop32";
	s.linkTrackEvents="None";
	s.prop32=FAQID;
	s.tl(this,'o','Showcase');
}

function o_trackSearch(SearchID) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop33";
	s.linkTrackEvents="None";
	s.prop33=SearchID;
	s.tl(this,'o','Search Button');
}

function o_trackArticleRating(RATING) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop34";
	s.linkTrackEvents="None";
	s.prop34=RATING;
	s.tl(this,'o','Article Rating');
}

function o_trackKBTab(KBTAB) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop35";
	s.linkTrackEvents="None";
	s.prop35=KBTAB;
	s.tl(this,'o','KB Tab');
}

function o_trackKBFocus(KBFOCUS) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop36";
	s.linkTrackEvents="None";
	s.prop36=KBFOCUS;
	s.tl(this,'o','KB Focus');
}

function o_trackProductAd(ProductAd) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop37";
	s.linkTrackEvents="None";
	s.prop37=ProductAd;
	s.tl(this,'o','KB Product Ad');
}

function o_trackSAlert(SAlert) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop38";
	s.linkTrackEvents="None";
	s.prop38=SAlert;
	s.tl(this,'o','Support Alert');
}

function o_trackRWBExit(ExitPoint) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop39";
	s.linkTrackEvents="None";
	s.prop39=ExitPoint;
	s.tl(this,'o','RWB Exit Point');
}

function o_trackSolution(SolutionID) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop40";
	s.linkTrackEvents="None";
	s.prop40=SolutionID;
	s.tl(this,'o','Solution Change');
}

function o_trackEmail(EmailCode) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop41";
	s.linkTrackEvents="None";
	s.prop41=EmailCode;
	s.tl(this,'o','Email Sent');
}

function o_trackArticleUpdate(UArticleID) {
	s=s_gi(s_account);
	o_clearOnClicks(s);
	s.linkTrackVars="prop42";
	s.linkTrackEvents="None";
	s.prop42=UArticleID;
	s.tl(this,'o','Updated Article');
}



/* Legacy */

function o_hottopics(h,t) {
	s=s_gi('esupport-sony');
	s.linkTrackVars="eVar3,events";
	s.eVar3=h;
	s.events="event3";
	s.tl(this,'o',t);
}
// var o.hottopics=o_hottopics;

/// Add this to the Model home page and FAQ Page.
