// HP Common Metrics Architecture 20051223a
// BEGIN Clickstream:
var s_hp_optOut = false // WARNING: IF SET TO TRUE, PAGE WILL NOT BE TRACKED
if (!(window.s_account)){
	var s_account="hphqglobal,hphqwwopenview,hphqwwopencall,hphqwwesg"
}
//var h_url = "http://www.google.com/";
var h_url = window.location.href.split('/');
var heir1 = "opencall";
if (h_url[4] == null) { var heir2 ="";} else {var heir2 = h_url[4];}
if (h_url[5] == null || h_url[5].indexOf(".jsp") > -1) { var heir3 = "";} else {var heir3 = h_url[5];}

var s_prop18 = "Ent: " + heir1;
var s_prop19 = "Ent: " + heir1 + "|" + heir2 + "|" + heir3;

/* Dynamic Accounts - note these accounts will not show up in s_account */
var s_dynamicAccountSelection=true
var s_dynamicAccountList="devhphqtestaccount=localhost,127.0.0.1"
var s_dynamicAccountMatch=window.location.hostname + window.location.pathname

var s_trackDownloadLinks=true
var s_trackExternalLinks=true
var s_trackInlineStats=true
var s_linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,doc,pdf,xls,cgi,dot,pot,ppt,wmv,asx"
var s_linkInternalFilters="hp,compaq,cpqcorp,javascript:"
var s_linkLeaveQueryString=true

// Common metrics plugin function - do not remove
function s_hp_doMetricsPlugins() { 
} // end function ()

/*** 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");

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) {
			if(hp_ssl == true && hp_hostname.toLowerCase().indexOf("welcome.") != -1) { hp_hostname = "secure.hp-ww.com"; }
			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:
