go=function(a,b,c,d){	es.js.Page.load(a,b,c,d);	}applyConfigDebugTrace = function(){	if(!q___debug___q){		js.Boot.__trace=Ext.emptyFn;	}}applyConfigDebugTrace();ext_ajax_req = function(o){	Ext.Ajax.request(o);}ext_trim = function(s){	return s.trim();}ext_el_get = function(v){	return Ext.get(v);}ext_isIE = function(){	return Ext.isIE;}ext_json_encode = function(v){	return Ext.util.JSON.encode(v);}ext_json_decode = function(v){	return Ext.util.JSON.decode(v);}ext_xtemplate=function(tpl, o){	var tpl = new Ext.XTemplate(tpl);	return tpl.apply(o);	}ext_elbyid=function(id){	return document.getElementById(id);}ext_display_el=function(id, d){	var r = ext_elbyid(id);	if(r==null) return null;	r=r.style;	if(r==null) return false;	r.display =  d ? '' : 'none';	return true;	}ext_str_cap=function(s){	return s.substr(0,1).toUpperCase()+s.substr(1).toLowerCase();}								function getCookie(name) {									var cookie = " " + document.cookie;									var search = " " + name + "=";									var setStr = null;									var offset = 0;									var end = 0;									if (cookie.length > 0) {										offset = cookie.indexOf(search);										if (offset != -1) {											offset += search.length;											end = cookie.indexOf(";", offset)											if (end == -1) {												end = cookie.length;											}											setStr = unescape(cookie.substring(offset, end));										}									}									return(setStr);								}								function setCookie (name, value, expires, path, domain, secure) {								      document.cookie = name + "=" + escape(value) +								        ((expires) ? "; expires=" + expires : "") +								        ((path) ? "; path=" + path : "") +								        ((domain) ? "; domain=" + domain : "") +								        ((secure) ? "; secure" : "");								}								session_set = function(k, v){	if(k==null)return false;	if(v==null)v=false;	setCookie(''+k, v, "Mon, 06-Jan-2081 00:00:00 GMT", '/');		return true;}session_get = function(k, def){	if(def==null)def = '';	if(k==null)return def;	var r = getCookie(''+k);		if(typeof(r)=='undefined' || r==null || r==false)r=def;	return r;}ObjectToStringEMPTY_FN=function(v){return v;};ObjectToString = function(obj, as, valfunc){	if(as==null)as=false;	var vf=(valfunc==null)?ObjectToStringEMPTY_FN:valfunc;		//alert(vf);	// returns eact type of variable (also "array" instead of 	// default typeof([])=='object' and "null")	var	t$=function(v){			if(v==null)return 'null';			var t=typeof(v);			if(t=='object'&& v.length && Number(v.length)===v.length )				return 'array';			return t;		}, 		// escapes string		s$=function(s){			//return escape(s);			return s.split('\\').join('\\'+'\\')					  .split('\n').join('\\'+'n')					  .split('\r').join('\\'+'n')					  .split('\t').join('\\'+'t')					  .split('\"').join('\\'+'\"')					  .split('\'').join('\\'+'\'')					  ;		},		d$=function(n){ var r='';while(n--)r+='    ';return r; },		i$=function(v, D){			//alert(t$(v));			var d = d$(D);			var dd = d$(D+1);			switch(t$(v)){			case 'boolean': return vf(v?'true':'false');			case 'string': return vf('"'+s$(v)+'"');			case 'number': return vf(String(v));			case 'function': return vf('"JSFUNC:'+s$(String(v))+'"');			case 'null': return vf('null');			case 'array':var r=[];					for(var i=0;i<v.length;++i)r.push(i$(v[i], D+1));				return vf('[\n'+dd+r.join(',\n'+dd)+'\n'+d+']');			case 'object':	var r=[];				for(var i in v){					var y = as?i:i$(i);					r.push((y) + ' : ' + i$(v[i], D+1));				}					return vf('{\n'+dd+r.join(',\n'+dd)+'\n'+d+'}');			}		},		nul$=null;		var r =  i$(obj, 0);	return r;}Ext.Spotlight = function(config){    Ext.apply(this, config);}Ext.Spotlight.prototype = {    active : false,    animate : true,    animated : false,    duration: .25,    easing:'easeNone',    createElements : function(){        var bd = Ext.getBody();        this.right = bd.createChild({cls:'x-spotlight'});        this.left = bd.createChild({cls:'x-spotlight'});        this.top = bd.createChild({cls:'x-spotlight'});        this.bottom = bd.createChild({cls:'x-spotlight'});        this.all = new Ext.CompositeElement([this.right, this.left, this.top, this.bottom]);    },    show : function(el, callback, scope){        if(this.animated){            this.show.defer(50, this, [el, callback, scope]);            return;        }        this.el = Ext.get(el);        if(!this.right){            this.createElements();        }        if(!this.active){            this.all.setDisplayed('');            this.applyBounds(true, false);            this.active = true;            Ext.EventManager.onWindowResize(this.syncSize, this);            this.applyBounds(false, this.animate, false, callback, scope);        }else{            this.applyBounds(false, false, false, callback, scope); // all these booleans look hideous        }    },    hide : function(callback, scope){        if(this.animated){            this.hide.defer(50, this, [callback, scope]);            return;        }        Ext.EventManager.removeResizeListener(this.syncSize, this);        this.applyBounds(true, this.animate, true, callback, scope);    },    doHide : function(){        this.active = false;        this.all.setDisplayed(false);    },    syncSize : function(){        this.applyBounds(false, false);    },    applyBounds : function(basePts, anim, doHide, callback, scope){        var rg = this.el.getRegion();        var dw = Ext.lib.Dom.getViewWidth(true);        var dh = Ext.lib.Dom.getViewHeight(true);        var c = 0, cb = false;        if(anim){            cb = {                callback: function(){                    c++;                    if(c == 4){                        this.animated = false;                        if(doHide){                            this.doHide();                        }                        Ext.callback(callback, scope, [this]);                    }                },                scope: this,                duration: this.duration,                easing: this.easing            };            this.animated = true;        }        this.right.setBounds(                rg.right,                basePts ? dh : rg.top,                dw - rg.right,                basePts ? 0 : (dh - rg.top),                cb);        this.left.setBounds(                0,                0,                rg.left,                basePts ? 0 : rg.bottom,                cb);        this.top.setBounds(                basePts ? dw : rg.left,                0,                basePts ? 0 : dw - rg.left,                rg.top,                cb);        this.bottom.setBounds(                0,                rg.bottom,                basePts ? 0 : rg.right,                dh - rg.bottom,                cb);        if(!anim){            if(doHide){                this.doHide();            }            if(callback){                Ext.callback(callback, scope, [this]);            }        }    },    destroy : function(){        this.doHide();        Ext.destroy(                this.right,                this.left,                this.top,                this.bottom);        delete this.el;        delete this.all;    }};ext_spot_g_obj=null;ext_spot = function(el){	if(ext_spot_g_obj==null){		ext_spot_g_obj=new Ext.Spotlight({				easing: 'easeOut',				duration: 1.1		});	}	ext_spot_g_obj.show(el);}// stuffed tracker for live JS calls.sTracker = {};sTracker.setup = function(tracker_path, path_domain, site_id){	var S = sTracker;	S.p = tracker_path;	S.d = path_domain;	S.s = site_id;	S.a = unescape('%26');	S.r = parent.document.referrer;	S.I=[];}sTracker.track = sTrack = function(path, ref){	var S = sTracker, im= new Image();	a = S.a;	if(ref!=null)S.r = ref;	path = S.d+'/'+path;	im.src = S.p+"?"+			"sc=track"+a+			"action=default"+a+			"st="+S.s+a+			"rn="+Math.random()+a+			"ref="+escape(S.r)+a+			"cur="+escape(path);	//alert(im.src);			S.r = path;			S.I.push(im);}// call setup once://sTracker.setup('http://xkiosk.net/tracker211/index.php','http://xkiosk.net',1);// call each track://sTrack('prog/page/?{vars}');Ext.History.on('change', MainJS.onHistoryChange);