var _disable_empty_list=false;var _hide_empty_list=false;if(typeof (disable_empty_list)=="undefined"){disable_empty_list=_disable_empty_list}if(typeof (hide_empty_list)=="undefined"){hide_empty_list=_hide_empty_list}var cs_goodContent=true,cs_M="M",cs_L="L",cs_curTop=null,cs_curSub=null;function cs_findOBJ(B,C){for(var A=0;A<B.length;A++){if(B[A].name==C){return B[A]}}return null}function cs_findContent(A){return cs_findOBJ(cs_content,A)}function cs_findM(A,D){if(A.name==D){return A}var C=null;for(var B=0;B<A.items.length;B++){if(A.items[B].type==cs_M){C=cs_findM(A.items[B],D);if(C!=null){break}}}return C}function cs_findMenu(A){return(cs_curSub!=null&&cs_curSub.name==A)?cs_curSub:cs_findM(cs_curTop,A)}function cs_contentOBJ(B,A){this.name=B;this.menu=A;this.lists=new Array();this.cookie=""}cs_content=new Array();function cs_topmenuOBJ(A){this.name=A;this.items=new Array();this.df=0;this.addM=cs_addM;this.addL=cs_addL}function cs_submenuOBJ(B,D,C){this.name=C;this.type=cs_M;this.dis=B;this.link=D;this.df=0;var A=cs_findMenu(C);this.items=A==null?new Array():A.items;this.addM=cs_addM;this.addL=cs_addL}function cs_linkOBJ(A,B){this.type=cs_L;this.dis=A;this.link=B}function cs_addM(A,C,B){this.items[this.items.length]=new cs_submenuOBJ(A,C,B)}function cs_addL(A,B){this.items[this.items.length]=new cs_linkOBJ(A,B)}function cs_showMsg(A){window.status=A}function cs_badContent(A){cs_goodContent=false;cs_showMsg("["+A+"] Not Found.")}function cs_optionOBJ(B,A){this.text=B;this.value=A}function cs_emptyList(B){for(var A=B.options.length-1;A>=0;A--){B.options[A]=null}}function cs_refreshList(C,B,D){cs_emptyList(C);for(var A=0;A<B.length;A++){C.options[A]=new Option(B[A].text,B[A].value);if(B[A].text=="London"){C.options[A].style.fontWeight="bold";C.options[A].style.color="#555555"}}if(B.length>0){C.selectedIndex=D}}function cs_getOptions(C){var B=new Array();for(var A=0;A<C.items.length;A++){B[A]=new cs_optionOBJ(C.items[A].dis,C.items[A].link)}return B}function cs_updateListGroup(D,G,F,C){var B=0,I=null,A=D.menu;while(B<G){A=A.items[D.lists[B++].selectedIndex]}if(A.items[F].type==cs_M&&G<D.lists.length-1){var E=cs_getIdx(C,D.cookie,G+1,A.items[F].df);cs_refreshList(D.lists[G+1],cs_getOptions(A.items[F]),E);if(D.cookie){cs_setCookie(D.cookie+"_"+(G+1),E)}if(G+1<D.lists.length){if(disable_empty_list){D.lists[G+1].disabled=false}if(hide_empty_list){D.lists[G+1].style.display=""}cs_updateListGroup(D,G+1,E,C)}}else{for(var H=G+1;H<D.lists.length;H++){cs_emptyList(D.lists[H]);if(disable_empty_list){D.lists[H].disabled=true}if(hide_empty_list){D.lists[H].style.display="none"}if(D.cookie){cs_setCookie(D.cookie+"_"+H,"")}}}}function cs_initListGroup(A,C){var B=cs_getIdx(C,A.cookie,0,A.menu.df);cs_refreshList(A.lists[0],cs_getOptions(A.menu),B);if(A.cookie){cs_setCookie(A.cookie+"_"+0,B)}cs_updateListGroup(A,0,B,C)}function cs_updateList(){var B=this.content;for(var A=0;A<B.lists.length;A++){if(B.lists[A]==this){if(B.cookie){cs_setCookie(B.cookie+"_"+A,this.selectedIndex)}if(A<B.lists.length-1){cs_updateListGroup(B,A,this.selectedIndex,"")}}}}function cs_getIdx(E,C,B,D){if(E){var A=cs_getCookie(C+"_"+B);if(A!=""){D=parseInt(A)}}return D}function _setCookie(A,B){document.cookie=A+"="+B}function cs_setCookie(A,B){setTimeout("_setCookie('"+A+"','"+B+"')",0)}function cs_getCookie(A){var B=new RegExp(A+"=([^;]+)");if(document.cookie.search(B)!=-1){return RegExp.$1}else{return""}}function addListGroup(C,A){if(cs_goodContent){cs_curTop=new cs_topmenuOBJ(A);cs_curSub=null;var B=cs_findContent(C);if(B==null){cs_content[cs_content.length]=new cs_contentOBJ(C,cs_curTop)}else{delete (B.menu);B.menu=cs_curTop}}}function addList(E,A,C,B,D){if(cs_goodContent){cs_curSub=cs_findMenu(E);if(cs_curSub!=null){cs_curSub.addM(A,C||"",B);if(typeof (D)!="undefined"){cs_curSub.df=cs_curSub.items.length-1}}else{cs_badContent(E)}}}function addOption(D,A,B,C){if(cs_goodContent){cs_curSub=cs_findMenu(D);if(cs_curSub!=null){cs_curSub.addL(A,B||"");if(typeof (C)!="undefined"){cs_curSub.df=cs_curSub.items.length-1}}else{cs_badContent(D)}}}function initListGroup(D){var A=cs_findContent(D),C=0;if(A!=null){content=new cs_contentOBJ("cs_"+D,A.menu);cs_content[cs_content.length]=content;for(var B=1;B<initListGroup.arguments.length;B++){if(typeof (arguments[B])=="object"&&arguments[B].tagName&&arguments[B].tagName=="SELECT"){content.lists[C]=arguments[B];arguments[B].onchange=cs_updateList;arguments[B].content=content;arguments[B].idx=C++}else{if(typeof (arguments[B])=="string"&&/^[a-zA-Z_]\w*$/.test(arguments[B])){content.cookie=arguments[B]}}}if(content.lists.length>0){cs_initListGroup(content,content.cookie)}}}function resetListGroup(B){var A=cs_findContent("cs_"+B);if(A!=null&&A.lists.length>0){cs_initListGroup(A,"")}};
