<!-- 
//=============================================================================================//
// --> 	NAME			: 	Survey Configuration File (North America)
// --> 	AUTHOR			: 	Jonathan Brumley (jonathan.brumley@hp.com)
// --> 	COPYRIGHT		: 	© 2006 Hewlett-Packard Development Company, L.P. All rights reserved.
//=============================================================================================//
var _SPC_ = {

	modified: '07-12-2008',	
	version: '1.0',
	sFileRoot: 'http://www.hp.com/cma/metrics/survey/',
	sHttpsFileRoot: 'https://secure.hp-ww.com/cma/metrics/survey/',
	sTFileRoot: 'http://webmetrics1.americas.hpqcorp.net/survey/source/',
	aSurvey:[{ // In dual mode this secction is called when to nDPratio = 0.00
				sId: 'p654683686',
				aZone:[{index: 1},{ sName: 'default', nCode: '24', nClicks: 0, nPratio: 0 }],
				sLogo: 'sv_logo_b.gif',
				sSvName: '',
				sPrefix: 'hho',
				sCss: ['hho_inv'],
				nCookieLife: 180,
				sDLang: '9',
				bUseEmail: false,
				bUseInvite: false,
					bLaunchOnExit: false,
				bUseUrlContidion: true,
					aCondUrls: ['http://www.hp.com/united-states/consumer/digital_photography/magazine','http://www.hp.com/united-states/consumer/digital_photography/magazine/','http://www.hp.com/united-states/consumer/digital_photography/magazine/index.html'],	
				bUseMyArgumentsOnly: false,
				aUriArguments: '',
				aWindow: { nHeight: 850 , nWidth: 650 , sScroll: 'yes', sResize: 'yes'}
			}],
	
	sSite: '64',
	sJScript: 'hpdpmagazine.js',
	sMainClass: 'sup_class',
	aModules: ['hhoLang','svDrag'],
	sTabSegmentCookie: 'hp_cust_seg_sel',
	bDualMod: false,
		nDPratio: 0.00,
	sCookieDomain: '.hp.com', //specify the cookie domain eg '.hp.com' if doesnt know use leave it as ''
	bUseClicks: true,
		/*
		OTIONS for bUseNumClicks are: EXT | NEW
		For EXT always use the name of the EXTERNAL cookie sCookie: ['EXTERNAL COOKIE NAME'],
		For NEW always use a new cookie name, it has to be different than any external cookie name sCookie: ['NEW COOKIE NAME']
		NOTE: To use bUseNumClicks bUseClicks needs to be set to true;
		*/
		bUseNumClicks: 'NEW',  
		sCookie: ['MY_NUM_CLICKS', 'HP_EBUS'],
		nClicksCookieLife: 30,

	sJSDir: 'lib/',
	sIMGDir: 'img/',
	sCSSDir: 'css/',
	aRestrict: ['https:/','http://h20285','www.shopping.hp.com', 'h30187.www3.hp.com', 'h20139.www2.hp.com', 'ipgweb.cce.hp.com', 'dcart'],
	aRestrictExep: [],
	aHttpsAllow: [],
//	sCondition: function(){ return ((!window.s_pageName) || (s_pageName.indexOf("gw:") == -1)) ? true : false; },
		sCondition: function(){
		return true;
	},
	sLauncher: 'L_SURVEY',
	sReportLauncher: 'L_REPORT',
	nzIndex: 1000,
	sTop: '25px',
	sLeft: '40px',
	sRFolder: '',
	bUseMyMatchLangFunction: false,
	
		//To use your own match function bUseMyMatchLangFunction need to be set to 'true';
		matchLanguage:	function(l,c){
			/* match logic example
			var nL = '0';
			if (l.indexOf('en')>-1){
				nL = '9'; //English
			}
			*/
		}

}



if((location.href.indexOf('cceaacspro01')==-1) || (location.href.indexOf('cceaacspro01')==-1)) {

//LOAD MAIN MODULE//
onload(loadMod())
}

//FUNCTIONS//
function loadMod(){ setFolder();
	var hd = document.getElementsByTagName('HEAD')[0]; var el = document.createElement('script'); el.setAttribute('type', 'text/javascript');	el.setAttribute('src', _SPC_.sRFolder+_SPC_.sJSDir+_SPC_.sMainClass+'.js'); hd.appendChild(el);
}
function onload(f, a){ var n = 0; var t = setInterval(
	function(){ var c = true; n++;	
	if(typeof document.getElementsByTagName != 'undefined' && (document.getElementsByTagName('body')[0] != null || document.body != null)) 
	{ c = false;
		if(typeof a == 'object'){ for(var i in a){ if ( (a[i] == 'id' && document.getElementById(i) == null) || (a[i] == 'tag' && document.getElementsByTagName(i).length < 1) ) { c = true; break; } }
		} if(!c) { f; clearInterval(t); } 
	}if(n >= 60) { clearInterval(t); } }, 250);
}
function setFolder(){if(self.location.protocol == 'https:') {_SPC_.sRFolder = _SPC_.sHttpsFileRoot;} else if(location.href.indexOf('webmetrics1')!=-1) {_SPC_.sRFolder = _SPC_.sTFileRoot;}else{_SPC_.sRFolder = _SPC_.sFileRoot}}
//-->

//=============================================================================================//
// 										END OF FILE
//=============================================================================================//