// HP Common Metrics Architecture 20050829a
var s_hp_webeventname="ev05";

// BEGIN Clickstream:
var s_hp_optOut = false // WARNING: IF SET TO TRUE, PAGE WILL NOT BE TRACKED

// Common Dynamic Account structure - please do not use unless authorized by CKM&A Ops
var s_dynamicAccountSelection=false
var s_dynamicAccountList="devhphqtestaccount=localhost,127.0.0.1"
var s_dynamicAccountMatch=window.location.hostname

if (!(window.s_account)){
	var s_account="hphqglobal,hphqnastorageevent";
}
var s_trackDownloadLinks=true
var s_trackExternalLinks=true
var s_trackInlineStats=true
var s_linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls"
var s_linkInternalFilters="javascript:,hp,compaq,cpqcorp"
// var s_linkLeaveQueryString=true  - this should be false

// Common metrics plugin function - do not remove
var s_pageName;
s_hp_autoPageName();

function s_hp_doMetricsPlugins() { 
    s_prop18="ENT: Ent-MSG"
    s_prop19=s_prop18+"|"+s_hp_webeventname;
} 

function s_hp_autoPageName() {
	if(window.s_pageName && window.s_pageName.length>0 && !(window.s_linkName && window.s_linkType) ) {
		s_pageName = s_hp_webeventname + ": " + s_pageName
	} else {
		s_pageName= s_hp_webeventname + ": "  + window.location.pathname;
	}
}

/*** DO NOT MODIFY THIS SECTION ***/
/* Under no circumstances should you modify this code */
//s_hp_includeJavaScriptFile("www.hp.com","/cma/metrics/sc/s_code_remote.js");
s_hp_includeJavaScriptFile("welcome.hp-ww.com","/cma/metrics/sc/s_code_remote.js");

function s_hp_includeJavaScriptFile(hp_hostname,hp_path) {
	if(!(window.s_hp_optOut && window.s_hp_optOut == true)) {
		var hp_ssl=(window.location.protocol.toLowerCase().indexOf('https')!=-1)
		if(hp_hostname && hp_hostname.length>0)
			var fullURL = "http" + (hp_ssl?"s":"") + "://" + hp_hostname + hp_path
		else
			var fullURL=hp_path;
		document.write("<sc" + "ript language=\"JavaScript\" src=\""+fullURL+"\"></sc" + "ript>");
	}
}
// END Clickstream:
