<!--
function Lvl_openWin(u,n,w,h,l,t,c,f) { //v2.2 4LevelWebs
  var x=((screen.width-w)/2);if(c==1){l=x;t=(screen.height-h)/2;}if(c==2){l=x}
	f+=',top='+t+',left='+l;LvlWin=window.open(u,n,f);LvlWin.focus();
}
function adminTest(url){
	Lvl_openWin(url,'admintest','1024','768','0','0','1','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1024,height=768');
}
function reportView(url, id){
	var d = url + "?trk=" + id;
	Lvl_openWin(d,'reportview','1024','768','0','0','1','toolbar=yes,status=yes,scrollbars=yes,resizable=yes,width=1024,height=768');
}
function xmlView(url, id){
	var d = url + "?trk=" + id;
	Lvl_openWin(d,'xmlview','1024','768','0','0','1','toolbar=yes,status=yes,scrollbars=yes,resizable=yes,width=1024,height=768');
}
function examView(url, id){
	var d = url + "?id=" + id;
	Lvl_openWin(d,'examview','1024','768','0','0','1','toolbar=yes,status=yes,scrollbars=yes,resizable=yes,width=1024,height=768');
}
function examViewXML(url, id){
	var d = url + "?id=" + id;
	Lvl_openWin(d,'examviewXML','1024','768','0','0','1','toolbar=yes,status=yes,scrollbars=yes,resizable=yes,width=1024,height=768');
}
var urlCnt = 0;
function url(){
	urlCnt += 1;
}
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}
var setHPBRSearch = '/search/default.asp';
var setHPALLSearch = 'http://www.hp.com/search/';
function eActionForm(objId,act){
	var obj = null; with (document){ if (getElementById)
	obj = getElementById(objId); }
	if (obj && act != ''){
		obj.action = act;
	}
}
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
function swapSearchAction(val) {
	if (val == 0){
		eActionForm('hpSearch',setHPALLSearch);
	} else {
		eActionForm('hpSearch',setHPBRSearch);
	}
}
function GP_popupConfirmMsg(msg) { //v1.0
  document.MM_returnValue = confirm(msg);
}

function refreshLoc(an){
	
	var v_an;
	
	if (!an){
		v_an = '';
	} else {
		v_an = an;
	}
	
	var t = window.location;
	t = t.toString();
	var yy = '';
	var dd = new Date();
	var tt = dd.getTime();
	var tr0 = new Array;
	var tr0a = '';
	var tr = new Array;
	tr0 = t.split("#");
	if (tr0.length > 1) tr0a = '#' + tr0[1];
	if (v_an != '') tr0a = '#' + v_an;
	tr = tr0[0].split("&shiftt=");
	t = tr[0];
	window.location = t + "&shiftt=" + escape(tt) + tr0a;
}

//-->
