// HP Common Metrics Architecture 20050829a
// BEGIN Clickstream:
var s_hp_optOut = false // WARNING: IF SET TO TRUE, PAGE WILL NOT BE TRACKED

// 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("welcome.hp-ww.com","/cma/region/ap/apcma.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) {
			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:


s_hp_includeConditional("h20423.www2.hp.com/campaign/marketandpromo/cn/zh/",window.location.href,"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);
		} }
	}
}