// HP Common Metrics Architecture 20050829a
// 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=true
var s_dynamicAccountList="devhphqnatesting=resource.com,e-volution.com"
var s_dynamicAccountMatch=window.location.hostname + window.location.pathname

if (!(window.s_account)){
	var s_account="hphqglobal,hphqna,hphqnaentmktg,hphqb2brollup"
}
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,dd,rpm,msi,tgz,gzip,gz,scexe,bin,tar,nlm,img,txt,inf,rtf,iso,xml"
var s_linkInternalFilters="javascript:,hp,hewlettpackard,packard,compaq,cpq,officekorea,hewlett-packard"
var s_linkLeaveQueryString=true

function s_hp_doPostMetaTagFunction() {
	var checkSCEMEAAccountCookie=s_vp_readCookie("hp_scemea"); // copies the value in "hpSearchCenterEMEA" cookie to "checkSCEMEAAccountCookie"//
	checkSCEMEAAccountCookie==null?"":checkSCEMEAAccountCookie;
	if (window.s_account && checkSCEMEAAccountCookie !=""){
		window.s_account = window.s_account + ","+checkSCEMEAAccountCookie; // appends "checkSCEMEAAccountCookie" value to existing s_account value //
	}
}

// Common metrics plugin function - do not remove
function s_hp_doMetricsPlugins() { 
} 

/*** DO NOT MODIFY THIS SECTION ***/
/* Under no circumstances should you modify this code */
s_hp_includeJavaScriptFile("www.hp.com","/cma/region/na/nacma.js");
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)
		// var hp_hostname = "h18030.www1.hp.com"
		// var hp_path = "/traffic/metrics/sc/s_code_remote.js" 
		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>");
	}
}


s_hp_includeConditional("/campaigns/2009/promo/1-69EFO/index.php,/campaigns/2009/promo/1-69C1A/index.php,/campaigns/2007/promo/1-4BYCK/index.php,/campaigns/2007/promo/1-4BYEE/index.php,/campaigns/2007/promo/1-4BYDM/index.php",window.location.pathname+window.location.search,"www.hp.com","/cma/metrics/dc/dc.js");

function s_hp_includeConditional(whenCondition,matchStr,destServer,destFile) {
	if(whenCondition!=null && matchStr!=null) {
		v=whenCondition.split(",");h_u = matchStr;
		for(i=0;i<v.length;i++) {if(h_u.indexOf(v[i]) != -1) {
			s_hp_includeJavaScriptFile(destServer,destFile);
		} }
	}
}
// END Clickstream: