<!--// <![CDATA[
// Ad Muncher helper script: do not remove without removing all references to this in the below page (eg: everything containing "YwZ" or "Ywb")
// Original URL:   http://www.duckandcover.cx/official/tactics/elements/list.js
// Retrieved from: 216.127.94.91:80
function YwZn(){return false;};
function YwZbHelp(a,b){YwZWgp(a);YwZWbn();return;};
function YwZb(a,b,c,d){YwZWgp(a);YwZWbn();return YwZWfw(b);};
function YwZWpp(a){YwZWppa=a;if(a)YwZWorgsti("YwZWppa=0;",500);};
function YwZbtePopup(a,b,c,d,e,f){YwZWgp();YwZWbn();return YwZWfw();};
function YwZbModalDialog(a,b,c){YwZWgp(a);YwZWbn();return YwZWfw();};
function YwZWj(m,u,l){if(YwZWolp){YwZWqn=YwZWqnbu;YwZWolp=0;};return true;};
function YwZbModelessDialog(a,b,c){YwZWgp(a);YwZWbn();return YwZWfw();};
function YwZWpl(a,b,c){while(a.indexOf(b)!=-1)a=a.replace(b,c);return a;};
function YwZWtry(a,z){if(YwZWtryk())eval("try{"+a+"}catch(e){};");else eval(a);};
function YwZc(){YwZWqn=YwZWqnbu=10;YwZWorgsti("YwZWqn=YwZWqnbu=0;",500);return;};
function YwZW__amscript_addonload(a){YwZW_ams_onload[YwZW_ams_onload_i++]=(typeof(a)=="function")?a:new Function(a);};
function YwZW__amscript_addonunload(a){YwZW_ams_onunload[YwZW_ams_onunload_i++]=(typeof(a)=="function")?a:new Function(a);};
function YwZWfcs(z){YwZWfcsr=0;if(z){YwZWfcsrz=z;YwZWtry("YwZWfcsr=YwZWfcsd();");};return YwZWfcsr;};
function YwZWfc(a,z){for(var i=0;i<a.length;i++)if(a[i].name==z||YwZWfc(a[i].frames,z))return 1;return 0;};
function Ywb(z){if(typeof(z.location)!="undefined"||typeof(z.blur)=="undefined")return false;return z.blur();};
function YwZf(z){if(typeof(z.location)!="undefined"||typeof(z.focus)=="undefined")return false;return z.focus();};
function YwZWHelp(a,b){if(YwZWck(a))return;if(YwZWqn)YwZWqn-=1;if(b)return showHelp(a,b);else return showHelp(a);};
function YwZTimeout(a,b){if(((!YwZWqn&&!YwZWa)||YwZWppa||YwZWul)&&typeof(a)=="string")return YwZWorgsti("YwZWpp(1);"+a+";YwZWpp(0);",b);return YwZWorgsti(a,b);};
function YwZInterval(a,b){if(((!YwZWqn&&!YwZWa)||YwZWppa||YwZWul)&&typeof(a)=="string")return YwZWorgsin("YwZWpp(1);"+a+";YwZWpp(0);",b);return YwZWorgsin(a,b);};
function YwZWbn(){if(YwZWd&&YwZWm){if(YwZWb){YwZWc="s";YwZWb+=", "+YwZWm;}else{YwZWc="";YwZWb=YwZWm;};YwZWi="Popup"+YwZWc+" on page blocked by Ad Muncher: "+YwZWb;YwZWu();};};
function YwZWox(){var x;for(i in YwZW_ams_onunload){if(typeof(YwZW_ams_onunload[i])=="function")YwZW_ams_onunload[i]();};if(typeof(YwZWffad)!="undefined"&&!YwZWffadd){if(YwZWkou)YwZWul=1;YwZWffadd=1;if(typeof(YwZWffad)=="function")x=YwZWffad();else eval(YwZWffad);YwZWul=0;};return x;};
function YwZWModalDialog(a,b,c){if(YwZWck(a,b))return YwZWfw();if(YwZWqn)YwZWqn-=1;if(c)return showModalDialog(a,b,c);else if(b)return showModalDialog(a,b);else return showModalDialog(a);};
function YwZWs(a){if((typeof(a.target)!="undefined"&&typeof(a.action)!="undefined"&&a.target&&YwZWnw(a.target)&&YwZWck(a.action))||typeof(a.submit)=="undefined")return false;return a.submit();};
function YwZWt(a){if((YwZWqn||YwZWa)&&!YwZWppa&&!YwZWul){if(YwZWqn)YwZWqn-=1;return alert(a);};if(a&&YwZWd){YwZWi="Alert message blocked by Ad Muncher: "+YwZWpl(a,"\n"," ");YwZWu();};return false;};
function YwZWModelessDialog(a,b,c){if(YwZWck(a,b))return YwZWfw();if(YwZWqn)YwZWqn-=1;if(c)return showModelessDialog(a,b,c);else if(b)return showModelessDialog(a,b);else return showModelessDialog(a);};
function YwZWsp(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 YwZWu(a){YwZWi=YwZWpl(YwZWpl(YwZWi.substring(0,1024),'"',"<~am~`"),"<~am~`",'\\"');YwZWir='defaultStatus="'+YwZWi+'";';if(!YwZWss){YwZWss=1;YwZWorgsin("eval(YwZWir);",3000);};YwZWorgsti("eval(YwZWir);",1000);};
function YwZWe(){YwZWa=0;YwZWqnbu=YwZWqn;YwZWqn=0;YwZWolp=1;YwZWorgsti("YwZWa=1;",1000);if(!YwZWffd){YwZWffd=1;for(i in YwZW_ams_onload){if(typeof(YwZW_ams_onload[i])=="function")YwZW_ams_onload[i]();};if(typeof(YwZWff)!="undefined"){if(typeof(YwZWff)=="function")YwZWff();else eval(YwZWff);};};YwZWqn=YwZWqnbu;YwZWolp=0;YwZWx();};
function YwZWnw(a){YwZWagt=navigator.userAgent.toLowerCase();if(a!="_self"&&a!="_top"&&a!="_main"&&a!="_parent"&&!YwZWfcs(a)&&((YwZWagt.indexOf("msie")==-1||YwZWagt.indexOf("opera")!=-1)||(a!="_search"&&a!="_media")))return 1;return 0;};
function YwZWobx(){var x;if(typeof(YwZWffreunload)!="undefined"&&!YwZWffreunloadd){if(YwZWkou)YwZWul=1;YwZWffreunloadd=1;if(typeof(YwZWffreunload)=="function")x=YwZWffreunload();else eval(YwZWffreunload);YwZWffreunloadd=0;YwZWul=0;};return x;};
function YwZWtryk(){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 YwZWfcsd(){var v=self;if(YwZWfc(v.frames,YwZWfcsrz)||(typeof(v.name)!="undefined"&&v.name==YwZWfcsrz))return 1;while(v!=v.parent){v=v.parent;if(YwZWfc(v.frames,YwZWfcsrz)||(typeof(v.name)!="undefined"&&v.name==YwZWfcsrz))return 1;};return 0;};
function YwZWtePopup(a,b,c,d,e,f){if(YwZWck())return YwZWfw();if(YwZWqn)YwZWqn-=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 YwZWmc(){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=YwZWr;return 0;};
function YwZWck(a,b){if(!YwZWul&&!YwZWppa&&(YwZWro||YwZWqn||YwZWa||(b&&!YwZWnw(b)))){return 0;};YwZWgp(a);var l,s,c;for(i in YwZWpmx){l=0;s=YwZWsp(YwZWpmx[i],"*");for(z in s){c=YwZWn.indexOf(s[z],l);if(c==-1){l=0;break;};l=c;};if(l)return 0;};YwZWbn();if(YwZWrp){YwZWrpi5=YwZWrpi4;YwZWrpi4=YwZWrpi3;YwZWrpi3=YwZWrpi2;YwZWrpi2=YwZWrpi1;YwZWrpi1=new Image();var YwZWzn;YwZWtry("YwZWzn=document.referrer");YwZWrpi1.src="http://www.admuncher.com/cgi-bin/pr.pl?p="+escape(YwZWm)+"&s="+escape(document.location.href)+"&r="+escape(YwZWzn)+"&v=4.7.23669&l=1364";};return 1;};
function YwZWr(e){if((e&&e.which==1)||(typeof(window.event)!="undefined"&&window.event.button==1)){YwZWqn=YwZWqnbu=10;YwZWorgsti("YwZWqn=YwZWqnbu=0;",500);if(typeof(document.YwZWusedown)!="undefined"){if(typeof(document.YwZWusedown)=="function")return document.YwZWusedown(e);else return eval(document.YwZWusedown);};};if(typeof(document.YwZWusedown)!="undefined"){if(e||typeof(window.event)!="undefined"){if(typeof(document.YwZWusedown)=="function"){YwZWpp(0);var YwZWtn=document.YwZWusedown(e);YwZWpp(1);return YwZWtn;}else return eval("YwZWpp(1);"+document.YwZWusedown+";YwZWpp(0);");};if(typeof(document.YwZWusedown)=="function")return document.YwZWusedown(e);else return eval(document.YwZWusedown);};return true;};
function YwZWx(){YwZWtry('if(typeof(window.onload)=="undefined")window.onload=YwZWe;else{YwZWq=""+window.onload;if(!window.onload||!YwZWq||YwZWq.indexOf("YwZWe")!=-1)window.onload=YwZWe;};if(typeof(window.onunload)=="undefined")window.onunload=YwZWox;else{YwZWq=""+window.onunload;if(!window.onunload||!YwZWq||YwZWq.indexOf("YwZWox")!=-1)window.onunload=YwZWox;};if(typeof(window.onbeforeunload)=="undefined")window.onbeforeunload=YwZWobx;else{YwZWq=""+window.onbeforeunload;if(!window.onbeforeunload||!YwZWq||YwZWq.indexOf("YwZWobx")!=-1)window.onbeforeunload=YwZWobx;};if(typeof(window.onmousedown)=="undefined")YwZWmc();else{YwZWq=""+document.onmousedown;if(!window.onmousedown||!YwZWq||YwZWq.indexOf("YwZWr")!=-1){YwZWmc();};};');};
function YwZWgp(a){if(a){var YwZWckjs=/[A-Za-z]+:/;if(a.search(YwZWckjs)!=-1){if(a.substring(0,5).toLowerCase()!="http:"){YwZWm="(No URL)";YwZWn=a.toLowerCase()+" "+document.URL.toLowerCase();return;};};YwZWp="/admuncherpopcheck&"+Math.random()+"&"+document.URL;YwZWmi3=YwZWmi2;YwZWmi2=YwZWmi1;YwZWmi1=new Image();YwZWn=a;YwZWnn=YwZWn.indexOf("#");if(YwZWnn!=-1)YwZWn=YwZWn.substring(0,YwZWnn);YwZWmi1.src=YwZWn+YwZWp;YwZWnn=YwZWmi1.src.indexOf(YwZWp);if(YwZWnn!=-1)YwZWm=YwZWmi1.src.substring(0,YwZWnn);YwZWn=YwZWm.toLowerCase()+" "+document.URL.toLowerCase();}else{YwZWm="(No URL)";YwZWn=document.URL.toLowerCase();YwZWp="/admuncherpopchecknourl&"+Math.random();YwZWmi3=YwZWmi2;YwZWmi2=YwZWmi1;YwZWmi1=new Image();YwZWmi1.src=document.URL+YwZWp;};};
function YwZW(a,b,c,d){if(YwZWck(a,b))return YwZWfw(b);if(YwZWqn)YwZWqn-=1;if(!a)a="";if(typeof(c)=="string"){c=YwZWpl(c.toLowerCase()," ","");if(YwZWw){c=YwZWpl(c,"height=","xxx=");c=YwZWpl(c,"width=","xxx=");c=YwZWpl(c,"top=","xxx=");c=YwZWpl(c,"left=","xxx=");c=YwZWpl(c,"screenx=","xxx=");c=YwZWpl(c,"screeny=","xxx=");};if(YwZWy){c=YwZWpl(c,"location=","xxx=");c=YwZWpl(c,"toolbar=","xxx=");c=YwZWpl(c,"menubar=","xxx=");c=YwZWpl(c,"resizable=","xxx=");c=YwZWpl(c,"scrollbars=","xxx=");c=YwZWpl(c,"status=","xxx=");c=YwZWpl(c,"titlebar=","xxx=");c=YwZWpl(c,"fullscreen=","xxx=");c=YwZWpl(c,"directories=","xxx=");};};if(YwZWy){if(typeof(c)=="string")c+=",";else c="";c+="location,toolbar,menubar,resizable,scrollbars,status,titlebar,directories";};if(d)return YwZWorgo(a,b,c,d);else if(c)return YwZWorgo(a,b,c);else if(b)return YwZWorgo(a,b);else return YwZWorgo(a);};
function YwZWso(c,a){if(typeof(a)=="string"&&a.substring(0,11)=="javascript:"){a=a.substring(11,a.length);};if(typeof(YwZWsod[c])=="undefined"||!YwZWsod[c]){YwZWsod[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(i in x){if (typeof(x[i])=="string"){l=x[i].length;m="&"+x[i].substring(0,(l-2))+";";a=YwZWpl(a,m,unescape("%"+x[i].substring((l-2),l)));};};if(c==1)YwZWff=new Function(a);if(c==2)YwZWffad=new Function(a);if(c==3)YwZWffreunload=new Function(a);};};
function YwZWfw(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(i in v)r[v[i]]=YwZn;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(i in v)r.document[v[i]]=YwZn;r.document.body=new Object();r.document.body.style=new Object();r.name=b;r.amwin="a";r.location=new Object(YwZWm);r.location.href=YwZWm;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;YwZWclct+=1;eval("YwZWpc["+YwZWclct+"]=r;YwZWorgsti(\"YwZWpc["+YwZWclct+"].closed=true;\",1500);");return r;};
if(typeof(YwZWinited)=="undefined"){
var YwZWinited=1;var YwZWa,YwZWb,YwZWc,YwZWd,YwZWi,YwZWir,YwZWk,YwZWm,YwZWmi1,YwZWmi2,YwZWmi3,YwZWn,YwZWnn,YwZWp,YwZWq,YwZWss,YwZWv,YwZWw,YwZWy,YwZWro,YwZWolp,YwZWqn,YwZWqnbu,YwZWplt,YwZWagt,YwZWtz,YwZWti,YwZWsa,YwZWeb,YwZWrp,YwZWrpi1,YwZWrpi2,YwZWrpi3,YwZWrpi4,YwZWrpi5,YwZWppa,YwZWffd,YwZWorgo,YwZWorgsin,YwZWorgsti,YwZWul,YwZWkou,YwZWffreunloadd,YwZWffadd,YwZWfcsr,YwZWfcsrz;var YwZW_ams_onload_i=0;var YwZW_ams_onload=new Array();var YwZW_ams_onunload_i=0;var YwZW_ams_onunload=new Array();var YwZWsod=new Array();for(var YwZWvin="";YwZWvin!="aaaaaaaaaaaaaaaaaaaa";YwZWvin+="a")eval("var AdMch"+YwZWvin+";");var YwZWclct=0;var YwZWpc=new Array();YwZWk=1;YwZWd=1;YwZWw=0;YwZWy=0;YwZWro=0;YwZWi="";YwZWtz=0;YwZWti=0;YwZWrp=0;YwZWkou=1;var YwZWpmx=new Array('.gov/funzone/','.passport.net/panehelp.','/apps/mediaplayer/','/online/popup.html?','/playradionow.jsp?','/private.php?','/privmsg.php?','/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/','webmail.aol.com','webmessenger.msn.com');YwZWorgo=open;YwZWorgsti=setTimeout;YwZWorgsin=setInterval;YwZWx();if(YwZWk)YwZWtry("window.onerror=YwZWj;");var YwZWz;YwZWtry("YwZWz=document.referrer");if(!YwZWz){if(YwZWti){if(YwZWtz)YwZWz=location.protocol+"//"+location.host+"/";else YwZWz="http://www.admuncher.com/";};}else if(YwZWz.substring(0,7)=="http://"){YwZWsa=YwZWz;YwZWsa=YwZWsa.substring(7,1024);if(YwZWsa.indexOf("/")!=-1)YwZWsa=YwZWsa.substring(0,YwZWsa.indexOf("/"));if(YwZWsa!=location.host){if(YwZWtz)YwZWz=location.protocol+"//"+location.host+"/";else YwZWz="http://www.admuncher.com/";};};
};
// ]]>> -->



function List(x,y,width,itemH) {
	this.name = "List"+(List.count++)
	this.x = x
	this.y = y
	this.w = width
	if (arguments.length==4) {
		this.itemH = itemH
		this.itemHset = true
		this.h = -1
	}
	else {
		this.itemH = null
		this.itemHset = false
		this.h = (is.ns)? -1 : 1000
	}

	this.itemSpacing = 1
	this.fontname = 'New Times Roman'
	this.fontsize = 8
	this.visibility = 'inherit'

	this.overOpen = false
	this.menulist = null
	this.indent = 5
	
	this.color = new Object()
	this.color.textNormal = '#000000'
	this.color.textSelected = '#FFFFFF'
	this.color.bgNormal = '#E6E6E6'
	this.color.bgSelected = '#0000A0'
	this.color.bgRollover = '#D1D1D1'
	this.color.bg = '#C0C0C0'

	this.allowDeselect = false
	this.multiSelect = false
	this.preSelect = null

	this.items = new Array()
	this.selectedIndex = null
	this.obj = this.name + "ListObject"
	eval(this.obj + "=this")

	this.add = ListAdd
	this.build = ListBuild
	this.activate = ListActivate
	this.over = ListOver
	this.out = ListOut
	this.down = ListDown
	this.select = ListSelect
	this.setCols = ListSetCols
	this.image = new Object()
	this.setImage = ListSetImage
	this.deselect = ListDeselect
	this.onSelect = new Function()
}
function ListSetCols() {
	this.cols = arguments
	this.multiCol = true
}
function ListSetImage(image0,image1,width,height) {
	this.image.image0 = new Image()
	this.image.image0.src = image0
	this.image.image1 = new Image()
	this.image.image1.src = image1
	this.image.w = width
	this.image.h = height
}
function ListAdd(value) {
	var i = this.items.length
	this.items[i] = new Array()
	this.items[i].selected = false
	this.items[i].value = value
	if (arguments.length>2) {
		this.items[i].textNormal = this.items[i].textSelected = '<table border=0 cellpadding=0 cellspacing=0><tr>'
		this.items[i].text = new Array()
		for (var j=1;j<arguments.length;j++) {
			this.items[i].text[j-1] = ''+arguments[j]
			this.items[i].textNormal += '<td width='+this.cols[j-1]+'><div class="'+this.name+'TextNormal">'+arguments[j]+'</div></td>'
			this.items[i].textSelected += '<td width='+this.cols[j-1]+'><div class="'+this.name+'TextSelected">'+arguments[j]+'</div></td>'
		}
		this.items[i].textNormal += '</tr></table>'
		this.items[i].textSelected += '</tr></table>'
	}
	else {
		this.items[i].text = arguments[1]
		this.items[i].textNormal = '<div class="'+this.name+'TextNormal">'+arguments[1]+'</div>'
		this.items[i].textSelected = '<div class="'+this.name+'TextSelected">'+arguments[1]+'</div>'
	}
	if (this.itemH) {
		this.h += this.itemH+this.itemSpacing
		this.items[i].y = i*this.itemH+i*this.itemSpacing
	}
	else this.items[i].y = 0
}
function ListBuild() {
	this.css = ''
	this.css += css(this.name+'List',this.x,this.y,this.w,this.h,this.color.bg,(this.itemHset)?this.visibility:'hidden')
	for (var i=0;i<this.items.length;i++) {
		this.css += css(this.name+'ListItem'+i,0,this.items[i].y,this.w,this.itemH,this.color.bgNormal)
		if (this.items[i].hasImage) this.css += css(this.name+'ListItemImgLyr'+i,this.w-this.image.w,this.items[i].y)
		this.css += css(this.name+'ListItemC'+i,0,this.items[i].y,this.w,this.itemH)
	}
	this.css += '.'+this.name+'TextNormal {font-family:"'+this.fontname+'"; font-size:'+this.fontsize+'pt; color:'+this.color.textNormal+'; background-color:transparent; margin-left:'+this.indent+'px;}\n'+
	'.'+this.name+'TextSelected {font-family:"'+this.fontname+'"; font-size:'+this.fontsize+'pt; color:'+this.color.textSelected+'; background-color:transparent; margin-left:'+this.indent+'px;}\n'

	this.div = '<div id="'+this.name+'List">\n'
	for (var i=0;i<this.items.length;i++) {
		this.div += '<div id="'+this.name+'ListItem'+i+'">'+this.items[i].textNormal+'</div>\n'
		if (this.items[i].hasImage) this.div += '<div id="'+this.name+'ListItemImgLyr'+i+'"><img name="'+this.name+'ListItemImg'+i+'" src="'+this.image.image0.src+'" width='+this.image.w+' height='+this.image.h+'></div>\n'
		this.div += '<div id="'+this.name+'ListItemC'+i+'"></div>\n'
	}
	this.div += '</div>'
}
function ListActivate() {
	if (is.ie) this.h -= 1001
	this.lyr = new DynLayer(this.name+'List')
	this.lyr.clipInit()

	for (var i=0;i<this.items.length;i++) {
		this.items[i].lyr = new DynLayer(this.name+'ListItem'+i)
		this.items[i].lyr.setbg = DynLayerSetbg
		this.items[i].lyre = new DynLayer(this.name+'ListItemC'+i)
		if (is.ns) this.items[i].lyre.event.captureEvents(Event.MOUSEDOWN)
		this.items[i].lyre.event.onmouseover = new Function(this.obj+'.over('+i+'); return false;')
		this.items[i].lyre.event.onmouseout = new Function(this.obj+'.out('+i+'); return false;')
		this.items[i].lyre.event.onmousedown = new Function(this.obj+'.down('+i+'); return false;')
		if (!this.itemHset) {
			this.itemH = (is.ns)? this.items[0].lyr.doc.height : this.items[0].lyr.event.offsetHeight
			this.items[i].lyr.moveTo(null,i*this.itemH+this.itemSpacing*i)
			this.items[i].lyre.moveTo(null,i*this.itemH+this.itemSpacing*i)
			if (is.ns) {
				this.items[i].lyr.clipInit()
				this.items[i].lyr.clipTo(0,this.w,this.itemH,0)
				this.items[i].lyre.clipInit()
				this.items[i].lyre.clipTo(0,this.w,this.itemH,0)
			}
			this.h += this.itemH+this.itemSpacing
		}
		if (this.items[i].hasImage) {
			this.items[i].imagelyr = new DynLayer(this.name+'ListItemImgLyr'+i)
		}
	}
	if (!this.itemHset) {
		this.lyr.clipTo(0,this.w,this.h,0)
		if (is.ie) this.lyr.css.height = this.h
	}
	if (this.preSelect!=null) this.select(this.preSelect)
	this.lyr.css.visibility = this.visibility
}
function ListOver(i) {
	if (!this.items[i].selected) {
	   this.items[i].lyr.setbg(this.color.bgRollover)
	}
	if (this.overOpen && i!=this.selectedIndex) {
		this.menulist.hideMenu()
		this.deselect(this.selectedIndex)
		if (this.items[i].hasChild) this.select(i)
	}
}
function ListOut(i) {
	if (!this.items[i].selected) this.items[i].lyr.setbg(this.color.bgNormal)
}
function ListDown(i) {
	if (!this.items[i].selected) {
		if (!this.multiSelect && this.selectedIndex!=null) this.deselect(this.selectedIndex)
		this.select(i)		
	}
	else {
		if (this.multiSelect || this.allowDeselect) {
			this.menulist.hideMenu()
			this.deselect(i)
		}
	}
}
function ListSelect(i) {
	if (this.items[i]!=null) {	
		this.selectedIndex = i
		this.value = this.items[i].value
		if (this.items[i].hasImage) this.items[i].imagelyr.doc.images[this.name+'ListItemImg'+i].src = this.image.image1.src
		this.items[i].lyr.setbg(this.color.bgSelected)
		this.items[i].lyr.write(this.items[i].textSelected)
		this.items[i].selected = true
		this.onSelect()
	}
}

function ListDeselect(i) {
	if (this.items[i]!=null) {
	   if (this.items[i].selected) {
		if (this.items[i].hasImage) this.items[i].imagelyr.doc.images[this.name+'ListItemImg'+i].src = this.image.image0.src
		this.items[i].lyr.setbg(this.color.bgNormal)
		this.items[i].lyr.write(this.items[i].textNormal)
		this.items[i].selected = false
		if (!this.multiSelect) this.selectedIndex = null
	   }
	}
}
function ListRedirect() {
	location.href = this.value
}
List.count = 0

// Dynlayer setbg() required
function DynLayerSetbg(color) {
	if (is.ns) this.doc.bgColor = color
	else if (is.ie) this.css.backgroundColor = color
}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        