// <![CDATA[
// Begin Ad Muncher helper script
// Do not remove without removing all references to this in the below page (eg: everything containing "wxy" or "wxb")
// Retrieved from: 208.75.149.97:80
function wxyn(){return false;};function wxybHelp(a,b){wxyXgp(a);wxyXbn();return;};function wxyb(a,b,c,d){wxyXgp(a);wxyXbn();return wxyXfw(b);};function wxyXpp(a){wxyXppa=a;if(a)wxyXorgsti("wxyXppa=0;",500);};function wxybtePopup(a,b,c,d,e,f){wxyXgp();wxyXbn();return wxyXfw();};function wxybModalDialog(a,b,c){wxyXgp(a);wxyXbn();return wxyXfw();};function wxyXj(m,u,l){if(wxyXolp){wxyXqn=wxyXqnbu;wxyXolp=0;};return true;};function wxybModelessDialog(a,b,c){wxyXgp(a);wxyXbn();return wxyXfw();};function wxyXpl(a,b,c){while(a.indexOf(b)!=-1)a=a.replace(b,c);return a;};function wxyXtry(a,z){if(wxyXtryk())eval("try{"+a+"}catch(e){};");else eval(a);};function wxyc(){wxyXqn=wxyXqnbu=10;wxyXorgsti("wxyXqn=wxyXqnbu=0;",500);return;};function wxyX__amscript_addonload(a){wxyX_ams_onload[wxyX_ams_onload_i++]=(typeof(a)=="function")?a:new Function(a);};function wxyX__amscript_addonunload(a){wxyX_ams_onunload[wxyX_ams_onunload_i++]=(typeof(a)=="function")?a:new Function(a);};function wxyXfcs(z){wxyXfcsr=0;if(z){wxyXfcsrz=z;wxyXtry("wxyXfcsr=wxyXfcsd();");};return wxyXfcsr;};function wxyXfc(a,z){for(var i=0;i<a.length;i++)if(a[i].name==z||wxyXfc(a[i].frames,z))return 1;return 0;};function wxb(z){if(typeof(z.location)!="undefined"||typeof(z.blur)=="undefined")return false;return z.blur();};function wxyf(z){if(typeof(z.location)!="undefined"||typeof(z.focus)=="undefined")return false;return z.focus();};function wxyXHelp(a,b){if(wxyXck(a))return;if(wxyXqn)wxyXqn-=1;if(b)return showHelp(a,b);else return showHelp(a);};function wxyTimeout(a,b){if(((!wxyXqn&&!wxyXa)||wxyXppa||wxyXul)&&typeof(a)=="string")return wxyXorgsti("wxyXpp(1);"+a+";wxyXpp(0);",b);return wxyXorgsti(a,b);};function wxyInterval(a,b){if(((!wxyXqn&&!wxyXa)||wxyXppa||wxyXul)&&typeof(a)=="string")return wxyXorgsin("wxyXpp(1);"+a+";wxyXpp(0);",b);return wxyXorgsin(a,b);};function wxyXbn(){if(wxyXd&&wxyXm){if(wxyXb){wxyXc="s";wxyXb+=", "+wxyXm;}else{wxyXc="";wxyXb=wxyXm;};wxyXi="Popup"+wxyXc+" on page blocked by Ad Muncher: "+wxyXb;wxyXu();};};function wxyXox(){var x;for(var i=0;i<wxyX_ams_onunload.length;i++){if(typeof(wxyX_ams_onunload[i])=="function")wxyX_ams_onunload[i]();};if(typeof(wxyXffad)!="undefined"&&!wxyXffadd){if(wxyXkou)wxyXul=1;wxyXffadd=1;if(typeof(wxyXffad)=="function")x=wxyXffad();else eval(wxyXffad);wxyXul=0;};return x;};function wxyXModalDialog(a,b,c){if(wxyXck(a,b))return wxyXfw();if(wxyXqn)wxyXqn-=1;if(c)return showModalDialog(a,b,c);else if(b)return showModalDialog(a,b);else return showModalDialog(a);};function wxyXs(a){if((typeof(a.target)!="undefined"&&typeof(a.action)!="undefined"&&a.target&&wxyXnw(a.target)&&wxyXck(a.action))||typeof(a.submit)=="undefined")return false;return a.submit();};function wxyXt(a){if((wxyXqn||wxyXa)&&!wxyXppa&&!wxyXul){if(wxyXqn)wxyXqn-=1;return alert(a);};if(a&&wxyXd){wxyXi="Alert message blocked by Ad Muncher: "+wxyXpl(a,"\n"," ");wxyXu();};return false;};function wxyXModelessDialog(a,b,c){if(wxyXck(a,b))return wxyXfw();if(wxyXqn)wxyXqn-=1;if(c)return showModelessDialog(a,b,c);else if(b)return showModelessDialog(a,b);else return showModelessDialog(a);};function wxyXsp(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 wxyXu(a){wxyXi=wxyXpl(wxyXpl(wxyXi.substring(0,1024),'"',"<~am~`"),"<~am~`",'\\"');wxyXir='defaultStatus="'+wxyXi+'";';if(!wxyXss){wxyXss=1;wxyXorgsin("eval(wxyXir);",3000);};wxyXorgsti("eval(wxyXir);",1000);};function wxyXe(){wxyXa=0;wxyXqnbu=wxyXqn;wxyXqn=0;wxyXolp=1;wxyXorgsti("wxyXa=1;",1000);if(!wxyXffd){wxyXffd=1;for(var i=0;i<wxyX_ams_onload.length;i++){if(typeof(wxyX_ams_onload[i])=="function")wxyX_ams_onload[i]();};if(typeof(wxyXff)!="undefined"){if(typeof(wxyXff)=="function")wxyXff();else eval(wxyXff);};};wxyXqn=wxyXqnbu;wxyXolp=0;wxyXx();};function wxyXnw(a){wxyXagt=navigator.userAgent.toLowerCase();if(a!="_self"&&a!="_top"&&a!="_main"&&a!="_parent"&&!wxyXfcs(a)&&((wxyXagt.indexOf("msie")==-1||wxyXagt.indexOf("opera")!=-1)||(a!="_search"&&a!="_media")))return 1;return 0;};function wxyXobx(){var x;if(typeof(wxyXffreunload)!="undefined"&&!wxyXffreunloadd){if(wxyXkou)wxyXul=1;wxyXffreunloadd=1;if(typeof(wxyXffreunload)=="function")x=wxyXffreunload();else eval(wxyXffreunload);wxyXffreunloadd=0;wxyXul=0;};return x;};function wxyXtryk(){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 wxyXfcsd(){var v=self;if(wxyXfc(v.frames,wxyXfcsrz)||(typeof(v.name)!="undefined"&&v.name==wxyXfcsrz))return 1;while(v!=v.parent){v=v.parent;if(wxyXfc(v.frames,wxyXfcsrz)||(typeof(v.name)!="undefined"&&v.name==wxyXfcsrz))return 1;};return 0;};function wxyXtePopup(a,b,c,d,e,f){if(wxyXck())return wxyXfw();if(wxyXqn)wxyXqn-=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 wxyXmc(){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=wxyXr;return 0;};function wxyXck(a,b){if(!wxyXul&&!wxyXppa&&(wxyXro||wxyXqn||wxyXa||(b&&!wxyXnw(b)))){return 0;};wxyXgp(a);var l,s,c;for(var i=0;i<wxyXpmx.length;i++){l=0;s=wxyXsp(wxyXpmx[i],"*");for(var z=0;z<s.length;z++){c=wxyXn.indexOf(s[z],l);if(c==-1){l=0;break;};l=c;};if(l)return 0;};wxyXbn();if(wxyXrp){wxyXrpi5=wxyXrpi4;wxyXrpi4=wxyXrpi3;wxyXrpi3=wxyXrpi2;wxyXrpi2=wxyXrpi1;wxyXrpi1=new Image();var wxyXzn;wxyXtry("wxyXzn=document.referrer");wxyXrpi1.src="http://www.admuncher.com/cgi-bin/pr.pl?p="+escape(wxyXm)+"&s="+escape(document.location.href)+"&r="+escape(wxyXzn)+"&v=4.71.28140&l=1795";};return 1;};function wxyXr(e){if((e&&e.which==1)||(typeof(window.event)!="undefined"&&window.event.button==1)){wxyXqn=wxyXqnbu=10;wxyXorgsti("wxyXqn=wxyXqnbu=0;",500);if(typeof(document.wxyXusedown)!="undefined"){if(typeof(document.wxyXusedown)=="function")return document.wxyXusedown(e);else return eval(document.wxyXusedown);};};if(typeof(document.wxyXusedown)!="undefined"){if(e||typeof(window.event)!="undefined"){if(typeof(document.wxyXusedown)=="function"){wxyXpp(0);var wxyXtn=document.wxyXusedown(e);wxyXpp(1);return wxyXtn;}else return eval("wxyXpp(1);"+document.wxyXusedown+";wxyXpp(0);");};if(typeof(document.wxyXusedown)=="function")return document.wxyXusedown(e);else return eval(document.wxyXusedown);};return true;};function wxyXx(){wxyXtry('if(typeof(window.onload)=="undefined")window.onload=wxyXe;else{wxyXq=""+window.onload;if(!window.onload||!wxyXq||wxyXq.indexOf("wxyXe")!=-1)window.onload=wxyXe;};if(typeof(window.onunload)=="undefined")window.onunload=wxyXox;else{wxyXq=""+window.onunload;if(!window.onunload||!wxyXq||wxyXq.indexOf("wxyXox")!=-1)window.onunload=wxyXox;};if(typeof(window.onbeforeunload)=="undefined")window.onbeforeunload=wxyXobx;else{wxyXq=""+window.onbeforeunload;if(!window.onbeforeunload||!wxyXq||wxyXq.indexOf("wxyXobx")!=-1)window.onbeforeunload=wxyXobx;};if(typeof(window.onmousedown)=="undefined")wxyXmc();else{wxyXq=""+document.onmousedown;if(!window.onmousedown||!wxyXq||wxyXq.indexOf("wxyXr")!=-1){wxyXmc();};};');};function wxyXgp(a){if(a){var wxyXckjs=/[A-Za-z]+:/;if(a.search(wxyXckjs)!=-1){if(a.substring(0,5).toLowerCase()!="http:"){wxyXm="(No URL)";wxyXn=a.toLowerCase()+" "+document.URL.toLowerCase();return;};};wxyXp="/admuncherpopcheck&"+Math.random()+"&"+document.URL;wxyXmi3=wxyXmi2;wxyXmi2=wxyXmi1;wxyXmi1=new Image();wxyXn=a;wxyXnn=wxyXn.indexOf("#");if(wxyXnn!=-1)wxyXn=wxyXn.substring(0,wxyXnn);wxyXmi1.src=wxyXn+wxyXp;wxyXnn=wxyXmi1.src.indexOf(wxyXp);if(wxyXnn!=-1)wxyXm=wxyXmi1.src.substring(0,wxyXnn);wxyXn=wxyXm.toLowerCase()+" "+document.URL.toLowerCase();}else{wxyXm="(No URL)";wxyXn=document.URL.toLowerCase();wxyXp="/admuncherpopchecknourl&"+Math.random();wxyXmi3=wxyXmi2;wxyXmi2=wxyXmi1;wxyXmi1=new Image();wxyXmi1.src=document.URL+wxyXp;};};function wxyX(a,b,c,d){if(wxyXck(a,b))return wxyXfw(b);if(wxyXqn)wxyXqn-=1;if(!a)a="";if(typeof(c)=="string"){c=wxyXpl(c.toLowerCase()," ","");if(wxyXw){c=wxyXpl(c,"height=","xxx=");c=wxyXpl(c,"width=","xxx=");c=wxyXpl(c,"top=","xxx=");c=wxyXpl(c,"left=","xxx=");c=wxyXpl(c,"screenx=","xxx=");c=wxyXpl(c,"screeny=","xxx=");};if(wxyXy){c=wxyXpl(c,"location=","xxx=");c=wxyXpl(c,"toolbar=","xxx=");c=wxyXpl(c,"menubar=","xxx=");c=wxyXpl(c,"resizable=","xxx=");c=wxyXpl(c,"scrollbars=","xxx=");c=wxyXpl(c,"status=","xxx=");c=wxyXpl(c,"titlebar=","xxx=");c=wxyXpl(c,"fullscreen=","xxx=");c=wxyXpl(c,"directories=","xxx=");};};if(wxyXy){if(typeof(c)=="string")c+=",";else c="";c+="location,toolbar,menubar,resizable,scrollbars,status,titlebar,directories";};if(d)return wxyXorgo(a,b,c,d);else if(c)return wxyXorgo(a,b,c);else if(b)return wxyXorgo(a,b);else return wxyXorgo(a);};function wxyXso(c,a){if(typeof(a)=="string"&&a.substring(0,11)=="javascript:"){a=a.substring(11,a.length);};if(typeof(wxyXsod[c])=="undefined"||!wxyXsod[c]){wxyXsod[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=wxyXpl(a,m,unescape("%"+x[i].substring((l-2),l)));};};if(c==1)wxyXff=new Function(a);if(c==2)wxyXffad=new Function(a);if(c==3)wxyXffreunload=new Function(a);};};function wxyXfw(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]]=wxyn;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]]=wxyn;r.document.body=new Object();r.document.body.style=new Object();r.name=b;r.amwin="a";r.location=new Object(wxyXm);r.location.href=wxyXm;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;wxyXclct+=1;eval("wxyXpc["+wxyXclct+"]=r;wxyXorgsti(\"wxyXpc["+wxyXclct+"].closed=true;\",1500);");return r;};if(typeof(self.wxyXinited)=="undefined"){var wxyXinited=1;var wxyXa,wxyXb,wxyXc,wxyXd,wxyXi,wxyXir,wxyXk,wxyXm,wxyXmi1,wxyXmi2,wxyXmi3,wxyXn,wxyXnn,wxyXp,wxyXq,wxyXss,wxyXv,wxyXw,wxyXy,wxyXro,wxyXolp,wxyXqn,wxyXqnbu,wxyXplt,wxyXagt,wxyXtz,wxyXti,wxyXsa,wxyXeb,wxyXrp,wxyXrpi1,wxyXrpi2,wxyXrpi3,wxyXrpi4,wxyXrpi5,wxyXppa,wxyXffd,wxyXorgo,wxyXorgsin,wxyXorgsti,wxyXul,wxyXkou,wxyXffreunloadd,wxyXffadd,wxyXfcsr,wxyXfcsrz;var wxyX_ams_onload_i=0;var wxyX_ams_onload=new Array();var wxyX_ams_onunload_i=0;var wxyX_ams_onunload=new Array();var wxyXsod=new Array();for(var wxyXvin="";wxyXvin!="aaaaaaaaaaaaaaaaaaaa";wxyXvin+="a")eval("var AdMch"+wxyXvin+";");var wxyXclct=0;var wxyXpc=new Array();wxyXk=1;wxyXd=1;wxyXw=0;wxyXy=0;wxyXro=0;wxyXi="";wxyXtz=0;wxyXti=0;wxyXrp=0;wxyXkou=1;var wxyXpmx=new Array('.gov/funzone/','/apps/mediaplayer/','/home/loaded.php?room=','/online/popup.html?','/playradionow.jsp?','/portalcookiecheck.aspx?site=','/private.php?','/privmsg.php?','/public/logon.do','/radio/launchradio.','/reviews_viewer.php?object=','/site/olspage.jsp?id=','/spurl.php?v=','/video/partners/','/vspot/player.','/watch_fullscreen?','isapi.dll?picture','launch.yahoo.*/play/','music.yahoo.','skinbase.org/files/','webmessenger.msn.com');wxyXorgo=open;wxyXorgsti=setTimeout;wxyXorgsin=setInterval;wxyXx();if(wxyXk)wxyXtry("window.onerror=wxyXj;");var wxyXz;wxyXtry("wxyXz=document.referrer");if(!wxyXz){if(wxyXti){if(wxyXtz)wxyXz=location.protocol+"//"+location.host+"/";else wxyXz="http://www.admuncher.com/";};}else if(wxyXz.substring(0,7)=="http://"){wxyXsa=wxyXz;wxyXsa=wxyXsa.substring(7,1024);if(wxyXsa.indexOf("/")!=-1)wxyXsa=wxyXsa.substring(0,wxyXsa.indexOf("/"));if(wxyXsa!=location.host){if(wxyXtz)wxyXz=location.protocol+"//"+location.host+"/";else wxyXz="http://www.admuncher.com/";};};};
// End Ad Muncher helper script
// ]]>

//Animated Collapsible DIV- Author: Dynamic Drive (http://www.dynamicdrive.com)
//Last updated Aug 1st, 07'. Fixed bug with "block" parameter not working when persist is enabled
//Updated June 27th, 07'. Added ability for a DIV to be initially expanded.

var uniquepageid=window.location.href.replace("http://"+window.location.hostname, "").replace(/^\//, "") //get current page path and name, used to uniquely identify this page for persistence feature

function animatedcollapse(divId, animatetime, persistexpand, initstate){
	this.divId=divId
	this.divObj=document.getElementById(divId)
	this.divObj.style.overflow="hidden"
	this.timelength=animatetime
	this.initstate=(typeof initstate!="undefined" && initstate=="block")? "block" : "contract"
	this.isExpanded=animatedcollapse.getCookie(uniquepageid+"-"+divId) //"yes" or "no", based on cookie value
	this.contentheight=parseInt(this.divObj.style.height)
	var thisobj=this
	if (isNaN(this.contentheight)){ //if no CSS "height" attribute explicitly defined, get DIV's height on window.load
		animatedcollapse.dotask(window, function(){thisobj._getheight(persistexpand)}, "load")
		if (!persistexpand && this.initstate=="contract" || persistexpand && this.isExpanded!="yes" && this.isExpanded!="") //Hide DIV (unless div should be expanded by default, OR persistence is enabled and this DIV should be expanded)
			this.divObj.style.visibility="hidden" //hide content (versus collapse) until we can get its height
	}
	else if (!persistexpand && this.initstate=="contract" || persistexpand && this.isExpanded!="yes" && this.isExpanded!="") //Hide DIV (unless div should be expanded by default, OR persistence is enabled and this DIV should be expanded)
		this.divObj.style.height=0 //just collapse content if CSS "height" attribute available
	if (persistexpand)
		animatedcollapse.dotask(window, function(){animatedcollapse.setCookie(uniquepageid+"-"+thisobj.divId, thisobj.isExpanded)}, "unload")
}

animatedcollapse.prototype._getheight=function(persistexpand){
	this.contentheight=this.divObj.offsetHeight
	if (!persistexpand && this.initstate=="contract" || persistexpand && this.isExpanded!="yes"){ //Hide DIV (unless div should be expanded by default, OR persistence is enabled and this DIV should be expanded)
		this.divObj.style.height=0 //collapse content
		this.divObj.style.visibility="visible"
	}
	else //else if persistence is enabled AND this content should be expanded, define its CSS height value so slideup() has something to work with
		this.divObj.style.height=this.contentheight+"px"
}


animatedcollapse.prototype._slideengine=function(direction){
	var elapsed=new Date().getTime()-this.startTime //get time animation has run
	var thisobj=this
	if (elapsed<this.timelength){ //if time run is less than specified length
		var distancepercent=(direction=="down")? animatedcollapse.curveincrement(elapsed/this.timelength) : 1-animatedcollapse.curveincrement(elapsed/this.timelength)
	this.divObj.style.height=distancepercent * this.contentheight +"px"
	this.runtimer=wxyTimeout(function(){thisobj._slideengine(direction)}, 10)
	}
	else{ //if animation finished
		this.divObj.style.height=(direction=="down")? this.contentheight+"px" : 0
		this.isExpanded=(direction=="down")? "yes" : "no" //remember whether content is expanded or not
		this.runtimer=null
	}
}


animatedcollapse.prototype.slidedown=function(){
	if (typeof this.runtimer=="undefined" || this.runtimer==null){ //if animation isn't already running or has stopped running
		if (isNaN(this.contentheight)) //if content height not available yet (until window.onload)
			alert("Please wait until document has fully loaded then click again")
		else if (parseInt(this.divObj.style.height)==0){ //if content is collapsed
			this.startTime=new Date().getTime() //Set animation start time
			this._slideengine("down")
		}
	}
}

animatedcollapse.prototype.slideup=function(){
	if (typeof this.runtimer=="undefined" || this.runtimer==null){ //if animation isn't already running or has stopped running
		if (isNaN(this.contentheight)) //if content height not available yet (until window.onload)
			alert("Please wait until document has fully loaded then click again")
		else if (parseInt(this.divObj.style.height)==this.contentheight){ //if content is expanded
			this.startTime=new Date().getTime()
			this._slideengine("up")
		}
	}
}

animatedcollapse.prototype.slideit=function(){
	if (isNaN(this.contentheight)) //if content height not available yet (until window.onload)
		alert("Please wait until document has fully loaded then click again")
	else if (parseInt(this.divObj.style.height)==0)
		this.slidedown()
	else if (parseInt(this.divObj.style.height)==this.contentheight)
		this.slideup()
}

// -------------------------------------------------------------------
// A few utility functions below:
// -------------------------------------------------------------------

animatedcollapse.curveincrement=function(percent){
	return (1-Math.cos(percent*Math.PI)) / 2 //return cos curve based value from a percentage input
}


animatedcollapse.dotask=function(target, functionref, tasktype){ //assign a function to execute to an event handler (ie: onunload)
	var tasktype=(window.addEventListener)? tasktype : "on"+tasktype
	if (target.addEventListener)
		target.addEventListener(tasktype, functionref, false)
	else if (target.attachEvent)
		target.attachEvent(tasktype, functionref)
}

animatedcollapse.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 ""
}

animatedcollapse.setCookie=function(name, value){
		document.cookie = name+"="+value
}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
