// HP Common Metrics Architecture 20051223a
// BEGIN Clickstream:
var s_hp_optOut = false // WARNING: IF SET TO TRUE, PAGE WILL NOT BE TRACKED

var s_hp_jumpid_prop = "s_prop2"  // define if you need to capture jumpid in an s_prop variable
var s_hp_jumpid_path_prop = "s_prop4" // define if you need to capture jumpid pathing

// Common Dynamic Account structure - please do not use unless authorized by CKM&A Ops
var s_dynamicAccountSelection = true
var s_dynamicAccountList = "hphqwwtrash=issgweb,issgweb.cca.cpqcorp.net,cpqcorp.net,16.100.232.106"
var s_dynamicAccountMatch=window.location.hostname + window.location.pathname

if (!(window.s_account)){ var s_account="hphqglobal,hphqwwesg"; }


/** Site Level Configuration **/
if (!(window.s_pageName)){ var s_pageName=document.title.toLowerCase(); }

var h_url = window.location.href.toLowerCase();
if (h_url.indexOf("h30501.www3.hp.com")>-1 || h_url.indexOf("h30502.www3.hp.com")>-1){
	var s_channel = "hpswsc:hp software solutions community";
	var s_prop18 = "hpswsc:";
}
if (h_url.indexOf("h30499.www3.hp.com")>-1){
	var s_channel = "hpebc:enterprise business community";
	var s_prop18 = "hpebc:";
}

var h_url = window.location.href.split('/');
var platform_iteration = h_url[3]!=null?h_url[3]:"";
var platform_type = h_url[4]!=null?h_url[4]:"";
var platform_name = h_url[5]!=null?h_url[5]:"";
var platform = platform_iteration + "|" + platform_type + "|" + platform_name

var s_prop19 = s_prop18 + "|" + platform;

/** End of Site Level Configuration **/


var s_disableLegacyVars=true
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
var s_linkTrackVars="None"
var s_linkTrackEvents="None"

function s_hp_doPostMetaTagFunction() {
} // end of s_hp_doPostMetaTagFunction

// 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("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) {
			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:
