// <![CDATA[
// Begin Ad Muncher helper script
// Do not remove without removing all references to this in the below page (eg: everything containing "Zzy" or "Zzb")
// Retrieved from: 10.136.17.212:8080
function Zzyn(){return false;};function ZzybHelp(a,b){ZzyZgp(a);ZzyZbn();return;};function Zzyb(a,b,c,d){ZzyZgp(a);ZzyZbn();return ZzyZfw(b);};function ZzyZpp(a){ZzyZppa=a;if(a)ZzyZorgsti("ZzyZppa=0;",500);};function ZzybtePopup(a,b,c,d,e,f){ZzyZgp();ZzyZbn();return ZzyZfw();};function ZzybModalDialog(a,b,c){ZzyZgp(a);ZzyZbn();return ZzyZfw();};function ZzyZj(m,u,l){if(ZzyZolp){ZzyZqn=ZzyZqnbu;ZzyZolp=0;};return true;};function ZzybModelessDialog(a,b,c){ZzyZgp(a);ZzyZbn();return ZzyZfw();};function ZzyZpl(a,b,c){while(a.indexOf(b)!=-1)a=a.replace(b,c);return a;};function ZzyZtry(a){if(ZzyZtryk())eval("try{"+a+"}catch(e){};");else eval(a);};function ZzyZtrys(a){if(ZzyZtryk())eval("try{"+a+"}catch(e){};");};function Zzyc(){ZzyZqn=ZzyZqnbu=10;ZzyZorgsti("ZzyZqn=ZzyZqnbu=0;",500);return;};function ZzyZ__amscript_addonload(a){ZzyZ_ams_onload[ZzyZ_ams_onload_i++]=(typeof(a)=="function")?a:new Function(a);};function ZzyZ__amscript_addonunload(a){ZzyZ_ams_onunload[ZzyZ_ams_onunload_i++]=(typeof(a)=="function")?a:new Function(a);};function ZzyZfcs(z){ZzyZfcsr=0;if(z){ZzyZfcsrz=z;ZzyZtry("ZzyZfcsr=ZzyZfcsd();");};return ZzyZfcsr;};function ZzyZfc(a,z){for(var i=0;i<a.length;i++)if(a[i].name==z||ZzyZfc(a[i].frames,z))return 1;return 0;};function Zzb(z){if(typeof(z.location)!="undefined"||typeof(z.blur)=="undefined")return false;return z.blur();};function Zzyf(z){if(typeof(z.location)!="undefined"||typeof(z.focus)=="undefined")return false;return z.focus();};function ZzyZHelp(a,b){if(ZzyZck(a))return;if(ZzyZqn)ZzyZqn-=1;if(b)return showHelp(a,b);else return showHelp(a);};function ZzyTimeout(a,b){if(((!ZzyZqn&&!ZzyZa)||ZzyZppa||ZzyZul)&&typeof(a)=="string")return ZzyZorgsti("ZzyZpp(1);"+a+";ZzyZpp(0);",b);return ZzyZorgsti(a,b);};function ZzyInterval(a,b){if(((!ZzyZqn&&!ZzyZa)||ZzyZppa||ZzyZul)&&typeof(a)=="string")return ZzyZorgsin("ZzyZpp(1);"+a+";ZzyZpp(0);",b);return ZzyZorgsin(a,b);};function ZzyZbn(){if(ZzyZd&&ZzyZm){if(ZzyZb){ZzyZc="s";ZzyZb+=", "+ZzyZm;}else{ZzyZc="";ZzyZb=ZzyZm;};ZzyZi="Popup"+ZzyZc+" on page blocked by Ad Muncher: "+ZzyZb;ZzyZu();};};function ZzyZox(){var x;for(var i=0;i<ZzyZ_ams_onunload.length;i++){if(typeof(ZzyZ_ams_onunload[i])=="function")ZzyZ_ams_onunload[i]();};if(typeof(ZzyZffad)!="undefined"&&!ZzyZffadd){if(ZzyZkou)ZzyZul=1;ZzyZffadd=1;if(typeof(ZzyZffad)=="function")x=ZzyZffad();else eval(ZzyZffad);ZzyZul=0;};return x;};function ZzyZModalDialog(a,b,c){if(ZzyZck(a,b))return ZzyZfw();if(ZzyZqn)ZzyZqn-=1;if(c)return showModalDialog(a,b,c);else if(b)return showModalDialog(a,b);else return showModalDialog(a);};function ZzyZibd(){ZzyZbid=0;ZzyZtrys("if(event.which==1)ZzyZbid=1;");ZzyZtrys("if(event.button==1)ZzyZbid=1;");ZzyZtrys("var ZzyZclr=arguments.callee.caller;for(var ZzyZinc=0;ZzyZinc++<20&&ZzyZclr;){if(ZzyZclr.arguments.length==1){var ZzyZarg=ZzyZclr.arguments[0];if(typeof(ZzyZarg)=='object'&&(ZzyZarg.which==1||ZzyZarg.button==1))ZzyZbid=1;}ZzyZclr=ZzyZclr.caller;}");return ZzyZbid;}function ZzyZs(a){if((typeof(a.target)!="undefined"&&typeof(a.action)!="undefined"&&a.target&&ZzyZnw(a.target)&&ZzyZck(a.action))||typeof(a.submit)=="undefined")return false;return a.submit();};function ZzyZt(a){if((ZzyZqn||ZzyZa)&&!ZzyZppa&&!ZzyZul){if(ZzyZqn)ZzyZqn-=1;return alert(a);};if(a&&ZzyZd){ZzyZi="Alert message blocked by Ad Muncher: "+ZzyZpl(a,"\n"," ");ZzyZu();};return false;};function ZzyZModelessDialog(a,b,c){if(ZzyZck(a,b))return ZzyZfw();if(ZzyZqn)ZzyZqn-=1;if(c)return showModelessDialog(a,b,c);else if(b)return showModelessDialog(a,b);else return showModelessDialog(a);};function ZzyZsp(a,z){if(a.split)return a.split(z);var j,c,s,n,b,e;j=b=0;c=on.length;s=new Array();a+=z;n=a.length;while(b<n){e=z?a.indexOf(z,b):b+1;s[j++]=a.substring(b,e);b=e+c;};return s.length=j,s;};function ZzyZu(a){ZzyZi=ZzyZpl(ZzyZpl(ZzyZi.substring(0,1024),'"',"<~am~`"),"<~am~`",'\\"');ZzyZir='defaultStatus="'+ZzyZi+'";';if(!ZzyZss){ZzyZss=1;ZzyZorgsin("eval(ZzyZir);",3000);};ZzyZorgsti("eval(ZzyZir);",1000);};function ZzyZe(){ZzyZa=0;ZzyZqnbu=ZzyZqn;ZzyZqn=0;ZzyZolp=1;ZzyZorgsti("ZzyZa=1;",1000);if(!ZzyZffd){ZzyZffd=1;for(var i=0;i<ZzyZ_ams_onload.length;i++){if(typeof(ZzyZ_ams_onload[i])=="function")ZzyZ_ams_onload[i]();};if(typeof(ZzyZff)!="undefined"){if(typeof(ZzyZff)=="function")ZzyZff();else eval(ZzyZff);};};ZzyZqn=ZzyZqnbu;ZzyZolp=0;ZzyZx();};function ZzyZnw(a){ZzyZagt=navigator.userAgent.toLowerCase();if(a!="_self"&&a!="_top"&&a!="_main"&&a!="_parent"&&!ZzyZfcs(a)&&((ZzyZagt.indexOf("msie")==-1||ZzyZagt.indexOf("opera")!=-1)||(a!="_search"&&a!="_media")))return 1;return 0;};function ZzyZobx(){var x;if(typeof(ZzyZffreunload)!="undefined"&&!ZzyZffreunloadd){if(ZzyZkou)ZzyZul=1;ZzyZffreunloadd=1;if(typeof(ZzyZffreunload)=="function")x=ZzyZffreunload();else eval(ZzyZffreunload);ZzyZffreunloadd=0;ZzyZul=0;};return x;};function ZzyZtryk(){var b=navigator.userAgent.toLowerCase();var c=parseInt(navigator.appVersion);if((b.indexOf("mozilla")!=-1&&b.indexOf("compatible")== -1&&c>=5)||(b.indexOf("opera")!=-1&&c>=6)||(b.indexOf("msie")!=-1&&c>=4))return 1;return 0;};function ZzyZfcsd(){var v=self;if(ZzyZfc(v.frames,ZzyZfcsrz)||(typeof(v.name)!="undefined"&&v.name==ZzyZfcsrz))return 1;while(v!=v.parent){v=v.parent;if(ZzyZfc(v.frames,ZzyZfcsrz)||(typeof(v.name)!="undefined"&&v.name==ZzyZfcsrz))return 1;};return 0;};function ZzyZtePopup(a,b,c,d,e,f){if(ZzyZck())return ZzyZfw();if(ZzyZqn)ZzyZqn-=1;if(f)return createPopup(a,b,c,d,e,f);else if(e)return createPopup(a,b,c,d,e);else if(d)return createPopup(a,b,c,d);else if(c)return createPopup(a,b,c);else if(b)return createPopup(a,b);else return createPopup(a);};function ZzyZmc(){if(typeof(document.layers)!="undefined")document.captureEvents(Event.KeyDown|Event.MouseUp|Event.Blur|Event.KeyPress|Event.Move|Event.Click|Event.KeyUp|Event.Reset|Event.Change|Event.Load|Event.Resize|Event.DblClick|Event.MouseDown|Event.Select|Event.DragDrop|Event.MouseMove|Event.Submit|Event.Error|Event.MouseOut|Event.Unload|Event.Focus|Event.MouseOver);document.onmousedown=ZzyZr;return 0;};function ZzyZck(a,b){if(!ZzyZul&&!ZzyZppa&&(ZzyZibd()||ZzyZro||ZzyZqn||ZzyZa||(b&&!ZzyZnw(b)))){return 0;};ZzyZgp(a);var l,s,c;for(var i=0;i<ZzyZpmx.length;i++){l=0;s=ZzyZsp(ZzyZpmx[i],"*");for(var z=0;z<s.length;z++){c=ZzyZn.indexOf(s[z],l);if(c==-1){l=0;break;};l=c;};if(l)return 0;};ZzyZbn();if(ZzyZrp){ZzyZrpi5=ZzyZrpi4;ZzyZrpi4=ZzyZrpi3;ZzyZrpi3=ZzyZrpi2;ZzyZrpi2=ZzyZrpi1;ZzyZrpi1=new Image();var ZzyZzn;ZzyZtry("ZzyZzn=document.referrer");ZzyZrpi1.src="http://www.admuncher.com/cgi-bin/pr.pl?p="+escape(ZzyZm)+"&s="+escape(document.location.href)+"&r="+escape(ZzyZzn)+"&v=4.72.30400&l=2236";};return 1;};function ZzyZr(e){if((e&&e.which==1)||(typeof(window.event)!="undefined"&&window.event.button==1)){ZzyZqn=ZzyZqnbu=10;ZzyZorgsti("ZzyZqn=ZzyZqnbu=0;",500);if(typeof(document.ZzyZusedown)!="undefined"){if(typeof(document.ZzyZusedown)=="function")return document.ZzyZusedown(e);else return eval(document.ZzyZusedown);};};if(typeof(document.ZzyZusedown)!="undefined"){if(e||typeof(window.event)!="undefined"){if(typeof(document.ZzyZusedown)=="function"){ZzyZpp(0);var ZzyZtn=document.ZzyZusedown(e);ZzyZpp(1);return ZzyZtn;}else return eval("ZzyZpp(1);"+document.ZzyZusedown+";ZzyZpp(0);");};if(typeof(document.ZzyZusedown)=="function")return document.ZzyZusedown(e);else return eval(document.ZzyZusedown);};return true;};function ZzyZx(){ZzyZtry('if(typeof(window.onload)=="undefined")window.onload=ZzyZe;else{ZzyZq=""+window.onload;if(!window.onload||!ZzyZq||ZzyZq.indexOf("ZzyZe")!=-1)window.onload=ZzyZe;};if(typeof(window.onunload)=="undefined")window.onunload=ZzyZox;else{ZzyZq=""+window.onunload;if(!window.onunload||!ZzyZq||ZzyZq.indexOf("ZzyZox")!=-1)window.onunload=ZzyZox;};if(typeof(window.onbeforeunload)=="undefined")window.onbeforeunload=ZzyZobx;else{ZzyZq=""+window.onbeforeunload;if(!window.onbeforeunload||!ZzyZq||ZzyZq.indexOf("ZzyZobx")!=-1)window.onbeforeunload=ZzyZobx;};if(typeof(window.onmousedown)=="undefined")ZzyZmc();else{ZzyZq=""+document.onmousedown;if(!window.onmousedown||!ZzyZq||ZzyZq.indexOf("ZzyZr")!=-1){ZzyZmc();};};');};function ZzyZgp(a){if(a){var ZzyZckjs=/[A-Za-z]+:/;if(a.search(ZzyZckjs)!=-1){if(a.substring(0,5).toLowerCase()!="http:"){ZzyZm="(No URL)";ZzyZn=a.toLowerCase()+" "+document.URL.toLowerCase();return;};};ZzyZp="/admuncherpopcheck&"+Math.random()+"&"+document.URL;ZzyZmi3=ZzyZmi2;ZzyZmi2=ZzyZmi1;ZzyZmi1=new Image();ZzyZn=a;ZzyZnn=ZzyZn.indexOf("#");if(ZzyZnn!=-1)ZzyZn=ZzyZn.substring(0,ZzyZnn);ZzyZmi1.src=ZzyZn+ZzyZp;ZzyZnn=ZzyZmi1.src.indexOf(ZzyZp);if(ZzyZnn!=-1)ZzyZm=ZzyZmi1.src.substring(0,ZzyZnn);ZzyZn=ZzyZm.toLowerCase()+" "+document.URL.toLowerCase();}else{ZzyZm="(No URL)";ZzyZn=document.URL.toLowerCase();ZzyZp="/admuncherpopchecknourl&"+Math.random();ZzyZmi3=ZzyZmi2;ZzyZmi2=ZzyZmi1;ZzyZmi1=new Image();ZzyZmi1.src=document.URL+ZzyZp;};};function ZzyZ(a,b,c,d){if(ZzyZck(a,b))return ZzyZfw(b);if(ZzyZqn)ZzyZqn-=1;if(!a)a="";if(typeof(c)=="string"){c=ZzyZpl(c.toLowerCase()," ","");if(ZzyZw){c=ZzyZpl(c,"height=","xxx=");c=ZzyZpl(c,"width=","xxx=");c=ZzyZpl(c,"top=","xxx=");c=ZzyZpl(c,"left=","xxx=");c=ZzyZpl(c,"screenx=","xxx=");c=ZzyZpl(c,"screeny=","xxx=");};if(ZzyZy){c=ZzyZpl(c,"location=","xxx=");c=ZzyZpl(c,"toolbar=","xxx=");c=ZzyZpl(c,"menubar=","xxx=");c=ZzyZpl(c,"resizable=","xxx=");c=ZzyZpl(c,"scrollbars=","xxx=");c=ZzyZpl(c,"status=","xxx=");c=ZzyZpl(c,"titlebar=","xxx=");c=ZzyZpl(c,"fullscreen=","xxx=");c=ZzyZpl(c,"directories=","xxx=");};};if(ZzyZy){if(typeof(c)=="string")c+=",";else c="";c+="location,toolbar,menubar,resizable,scrollbars,status,titlebar,directories";};if(d)return ZzyZorgo(a,b,c,d);else if(c)return ZzyZorgo(a,b,c);else if(b)return ZzyZorgo(a,b);else return ZzyZorgo(a);};function ZzyZso(c,a){if(typeof(a)=="string"&&a.substring(0,11)=="javascript:"){a=a.substring(11,a.length);};if(typeof(ZzyZsod[c])=="undefined"||!ZzyZsod[c]){ZzyZsod[c]=1;var x=new Array('quot22','amp26','lt3C','gt3E','nbspA0','iexclA1','centA2','poundA3','yenA5','brvbarA6','sectA7','umlA8','copyA9','ordfAA','laquoAB','notAC','shyAD','regAE','macrAF','degB0','plusmnB1','sup2B2','sup3B3','acuteB4','microB5','paraB6','middotB7','cedilB8','sup1B9','ordmBA','raquoBB','frac14BC','frac12BD','frac34BE','iquestBF','AgraveC0','AacuteC1','AcircC2','AtildeC3','AumlC4','AringC5','AEligC6','CcedilC7','EgraveC8','EacuteC9','EcircCA','EumlCB','IgraveCC','IacuteCD','IcircCE','IumlCF','ETHD0','NtildeD1','OgraveD2','OacuteD3','OcircD4','OtildeD5','OumlD6','timesD7','OslashD8','UgraveD9','UacuteDA','UcircDB','UumlDC','YacuteDD','THORNDE','szligDF','agraveE0','aacuteE1','acircE2','atildeE3','aumlE4','aringE5','aeligE6','ccedilE7','egraveE8','eacuteE9','ecircEA','eumlEB','igraveEC','iacuteED','icircEE','iumlEF','ethF0','ntildeF1','ograveF2','oacuteF3','ocircF4','otildeF5','oumlF6','divideF7','oslashF8','ugraveF9','uacuteFA','ucircFB','uumlFC','yacuteFD','thornFE','yumlFF');var l,m;for(var i=0;i<x.length;i++){if (typeof(x[i])=="string"){l=x[i].length;m="&"+x[i].substring(0,(l-2))+";";a=ZzyZpl(a,m,unescape("%"+x[i].substring((l-2),l)));};};if(c==1)ZzyZff=new Function(a);if(c==2)ZzyZffad=new Function(a);if(c==3)ZzyZffreunload=new Function(a);};};function ZzyZfw(b){var r=new Object();for(i in window)r[i]=window[i];var v=new Array("scrollBy","getSelection","scrollByLines","scrollByPages","sizeToContent","dump","setTimeout","setInterval","clearTimeout","clearInterval","setResizable","captureEvents","releaseEvents","routeEvent","enableExternalCapture","disableExternalCapture","prompt","open","openDialog","find","alert","confirm","focus","blur","back","forward","home","stop","print","moveTo","moveBy","resizeTo","resizeBy","scroll","close","show","updateCommands","escape","unescape","atob","btoa","addEventListener","removeEventListener","dispatchEvent","getComputedStyle");for(var i=0;i<v.length;i++)r[v[i]]=Zzyn;v=new Array("captureEvents","close","open","releaseEvents","clear","writeln","getElementById","getElementsByName","elementFromPoint","createEvent","getSelection","write","createElement","createElementNS","createDocumentFragment","createTextNode","createComment","createAttribute","getElementsByTagName","importNode","attachEvent","detachEvent","hasAttributes","addEventListener","removeEventListener","dispatchEvent","contains","insertBefore","replaceChild","removeChild","appendChild","hasChildNodes","isSupported","normalize","cloneNode");r.document=new Object();for(var i=0;i<v.length;i++)r.document[v[i]]=Zzyn;r.document.body=new Object();r.document.body.style=new Object();r.name=b;r.amwin="a";r.location=new Object(ZzyZm);r.location.href=ZzyZm;r.location.hash=window.location.hash;r.location.host=window.location.host;r.location.hostname=window.location.hostname;r.location.pathname=window.location.pathname;r.location.port=window.location.port;r.location.protocol=window.location.protocol;r.location.search=window.location.search;ZzyZclct+=1;eval("ZzyZpc["+ZzyZclct+"]=r;ZzyZorgsti(\"ZzyZpc["+ZzyZclct+"].closed=true;\",1500);");return r;};if(typeof(self.ZzyZinited)=="undefined"){var ZzyZinited=1;var ZzyZa,ZzyZb,ZzyZc,ZzyZd,ZzyZi,ZzyZir,ZzyZk,ZzyZm,ZzyZmi1,ZzyZmi2,ZzyZmi3,ZzyZn,ZzyZnn,ZzyZp,ZzyZq,ZzyZss,ZzyZv,ZzyZw,ZzyZy,ZzyZro,ZzyZolp,ZzyZqn,ZzyZqnbu,ZzyZplt,ZzyZagt,ZzyZtz,ZzyZti,ZzyZsa,ZzyZeb,ZzyZrp,ZzyZrpi1,ZzyZrpi2,ZzyZrpi3,ZzyZrpi4,ZzyZrpi5,ZzyZppa,ZzyZffd,ZzyZorgo,ZzyZorgsin,ZzyZorgsti,ZzyZul,ZzyZkou,ZzyZffreunloadd,ZzyZffadd,ZzyZfcsr,ZzyZfcsrz;var ZzyZ_ams_onload_i=0;var ZzyZ_ams_onload=new Array();var ZzyZ_ams_onunload_i=0;var ZzyZ_ams_onunload=new Array();var ZzyZsod=new Array();for(var ZzyZvin="";ZzyZvin!="aaaaaaaaaaaaaaaaaaaa";ZzyZvin+="a")eval("var AdMch"+ZzyZvin+";");var ZzyZclct=0;var ZzyZpc=new Array();ZzyZk=1;ZzyZd=1;ZzyZw=0;ZzyZy=0;ZzyZro=0;ZzyZi="";ZzyZtz=0;ZzyZti=0;ZzyZrp=0;ZzyZkou=1;var ZzyZpmx=new Array('.gov/funzone/','/apps/mediaplayer/','/home/loaded.php?room=','/msgpopup.php?s=','/online/popup.html?','/playradionow.jsp?','/public/logon.do','/site/olspage.jsp?id=','/spurl.php?v=','/vspot/player.','isapi.dll?picture','webmessenger.msn.com');ZzyZorgo=open;ZzyZorgsti=setTimeout;ZzyZorgsin=setInterval;ZzyZx();if(ZzyZk)ZzyZtry("window.onerror=ZzyZj;");var ZzyZz;ZzyZtry("ZzyZz=document.referrer");if(!ZzyZz){if(ZzyZti){if(ZzyZtz)ZzyZz=location.protocol+"//"+location.host+"/";else ZzyZz="http://www.admuncher.com/";};}else if(ZzyZz.substring(0,7)=="http://"){ZzyZsa=ZzyZz;ZzyZsa=ZzyZsa.substring(7,1024);if(ZzyZsa.indexOf("/")!=-1)ZzyZsa=ZzyZsa.substring(0,ZzyZsa.indexOf("/"));if(ZzyZsa!=location.host){if(ZzyZtz)ZzyZz=location.protocol+"//"+location.host+"/";else ZzyZz="http://www.admuncher.com/";};};};
// End Ad Muncher helper script
// ]]>

/* Horizontal Accordion script
* Created: Oct 27th, 2009. This notice must stay intact for usage 
* Author: Dynamic Drive at http://www.dynamicdrive.com/
* Visit http://www.dynamicdrive.com/ for full source code
*/


var haccordion={
	//customize loading message if accordion markup is fetched via Ajax:
	ajaxloadingmsg: '<div style="margin: 1em; font-weight: bold"><img src="ajaxloadr.gif" style="vertical-align: middle" /></div>',

	accordioninfo: {}, //class that holds config information of each haccordion instance

	expandli:function(accordionid, targetli){
		var config=haccordion.accordioninfo[accordionid]
		var $targetli=(typeof targetli=="number")? config.$targetlis.eq(targetli) : (typeof targetli=="string")? jQuery('#'+targetli) : jQuery(targetli)
		if (typeof config.$lastexpanded!="undefined") //targetli may be an index, ID string, or DOM reference to LI
			config.$lastexpanded.stop().animate({width:config.paneldimensions.peekw}, config.speed) //contract last opened content
		$targetli.stop().animate({width:$targetli.data('hpaneloffsetw')}, config.speed) //expand current content
		config.$lastexpanded=$targetli
	},


	urlparamselect:function(accordionid){
		var result=window.location.search.match(new RegExp(accordionid+"=(\\d+)", "i")) //check for "?accordionid=index" in URL
		if (result!=null)
			result=parseInt(RegExp.$1)+"" //return value as string so 0 doesn't test for false
		return result //returns null or index, where index is the desired selected hcontent index
	},

	getCookie:function(Name){ 
		var re=new RegExp(Name+"=[^;]+", "i") //construct RE to search for target name/value pair
		if (document.cookie.match(re)) //if cookie found
			return document.cookie.match(re)[0].split("=")[1] //return its value
		return null
	},

	setCookie:function(name, value){
		document.cookie = name + "=" + value + "; path=/"
	},


	loadexternal:function($, config){ //function to fetch external page containing the entire accordion content markup
		var $hcontainer=$('#'+config.ajaxsource.container).html(this.ajaxloadingmsg)
		$.ajax({
			url: config.ajaxsource.path, //path to external content
			async: true,
			error:function(ajaxrequest){
				$hcontainer.html('Error fetching content.<br />Server Response: '+ajaxrequest.responseText)
			},
			success:function(content){
				$hcontainer.html(content)
				haccordion.init($, config)
			}
		})
	},


	init:function($, config){
			haccordion.accordioninfo[config.accordionid]=config //cache config info for this accordion
			var $targetlis=$('#'+config.accordionid).find('ul:eq(0) > li') //find top level LIs
			config.$targetlis=$targetlis
			config.selectedli=config.selectedli || [] //set default selectedli option
			config.speed=config.speed || "normal" //set default speed
			$targetlis.each(function(i){
				var $target=$(this).data('pos', i) //give each li an index #
				$target.data('hpaneloffsetw', $target.find('.hpanel:eq(0)').outerWidth()) //get offset width of each .hpanel DIV (config.dimensions.fullw + any DIV padding)
				$target.mouseenter(function(){
						haccordion.expandli(config.accordionid, this)
					config.$lastexpanded=$(this)
				})
				if (config.collapsecurrent){ //if previous content should be contracted when expanding current
					$target.mouseleave(function(){
						$(this).stop().animate({width:config.paneldimensions.peekw}, config.speed) //contract previous content
					})
				}				
			}) //end $targetlis.each
			var selectedli=haccordion.urlparamselect(config.accordionid) || ((config.selectedli[1] && haccordion.getCookie(config.accordionid))? parseInt(haccordion.getCookie(config.accordionid)) : config.selectedli[0])
			selectedli=parseInt(selectedli)
			if (selectedli>=0 && selectedli<config.$targetlis.length){ //if selectedli index is within range
				config.$lastexpanded=$targetlis.eq(selectedli)
				config.$lastexpanded.css('width', config.$lastexpanded.data('hpaneloffsetw')) //expand selected li
			}
			$(window).bind('unload', function(){ //clean up and persist on page unload
				haccordion.uninit($, config)
			}) //end window.onunload
	},

	uninit:function($, config){
		var $targetlis=config.$targetlis
		var expandedliindex=-1 //index of expanded content to remember (-1 indicates non)
		$targetlis.each(function(){
			var $target=$(this)
			$target.unbind()
			if ($target.width()==$target.data('hpaneloffsetw'))
				expandedliindex=$target.data('pos')
		})
		if (config.selectedli[1]==true) //enable persistence?
			haccordion.setCookie(config.accordionid, expandedliindex)
	},

	setup:function(config){
		//Use JS to write out CSS that sets up initial dimensions of each LI, for JS enabled browsers only
		document.write('<style type="text/css">\n')
		document.write('#'+config.accordionid+' li{width: '+config.paneldimensions.peekw+';\nheight: '+config.paneldimensions.h+';\n}\n')
		document.write('#'+config.accordionid+' li .hpanel{width: '+config.paneldimensions.fullw+';\nheight: '+config.paneldimensions.h+';\n}\n')
		document.write('<\/style>')
		jQuery(document).ready(function($){ //on Dom load
			if (config.ajaxsource) //if config.ajaxsource option defined
				haccordion.loadexternal($, config)
			else
				haccordion.init($, config)
		}) //end DOM load
	}

}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      