<%@ Page Language="C#" ContentType="text/x-component"  %>
<%@ OutputCache Location="Client" Duration="243600" VaryByParam="None" %>
<PUBLIC:COMPONENT URN="http://cutesoft.net/">
	<PUBLIC:PROPERTY NAME="width" GET="_get_width" PUT="_set_width" PERSIST="false" />
	<PUBLIC:PROPERTY NAME="height" GET="_get_height" PUT="_set_height" PERSIST="false" />
	<PUBLIC:PROPERTY NAME="selectedIndex" GET="_get_selectedIndex" PUT="_set_selectedIndex" PERSIST="false" />
	<PUBLIC:PROPERTY NAME="options" GET="_get_options" PERSIST="false" />
	<PUBLIC:PROPERTY NAME="value" GET="_get_value" PUT="_set_value" PERSIST="false" />
	<PUBLIC:PROPERTY NAME="length" GET="_get_length" PUT="_set_length" PERSIST="false" />
	<PUBLIC:METHOD NAME="add" INTERNALNAME="_mtd_add" />
	<PUBLIC:METHOD NAME="item" INTERNALNAME="_mtd_item" />
	<PUBLIC:METHOD NAME="remove" INTERNALNAME="_mtd_remove" />
	<PUBLIC:EVENT ID="id_onchange" NAME="onchange" />
	<PUBLIC:EVENT ID="id_onpropertychange" NAME="onpropertychange" />
</PUBLIC:COMPONENT>
<HTML>
	<BODY>
	</BODY>
</HTML>

<!-- #include file="_sharedie.htm" -->

<script>
var OxOcd53=["darkblue","white","marginBottom","style","-3px","cursor","default"];var bordercolorover=OxOcd53[0x0];var bordercolor=OxOcd53[0x1];var min_height=0x28;var max_height=0x140; element[OxOcd53[0x3]][OxOcd53[0x2]]=OxOcd53[0x4] ; element[OxOcd53[0x3]][OxOcd53[0x5]]=OxOcd53[0x6] ;
</script>

<script>
var OxO983d=["boolean","string","ok","true","yes","on","-1","1","length","value","","innerText","innerHTML","html","SPAN","document","text"," ","DIV","option","div","NOBR","createPopup","RenderItemBorder","cssText","style","width:100%;padding:3px 5px 5px 4px;border:solid 1px #eeeeee; margin:4px 10px 4px 0; vertical-align:middle;","this.runtimeStyle.cssText=\x27rem-background-color:highlight;border-style:solid;border-width:1px;border-color:highlight\x27;","onmouseover","this.runtimeStyle.cssText=\x27\x27;","onmouseout","width:100%;padding:2px;vertical-align:middle;","this.runtimeStyle.cssText=\x27background-color:highlight;color:highlightText\x27;","body","all","unselectable","propertyName","children","width","10px","overflow","visible","\x3CTABLE cellpadding=\x270\x27 cellspacing=\x270\x27 border=\x271\x27 borderColor=\x27","\x27"," style=\x27font-family: MS Sans Serif; font-size: 9pt; display:inline;border-collapse:collapse;\x27\x3E\x3CTR\x3E","\x3CTD style=\x27background-color:white;vertical-align:middle;padding:2px 4px 1px 4px;\x27\x3ELoading\x3C/TD\x3E","\x3CTD style=\x27width:8px;padding:0px 1px 1px 1px;color:black;text-align:center;font-family:Webdings;font-size:8px;\x27\x3E6\x3C/TD\x3E","\x3C/TR\x3E\x3C/TABLE\x3E","beforeEnd","\x3CDIV style=\x27display:none;z-index:88888888;font-family:arial;position:absolute;background-color:white;border:1px solid;width:80px;height:80px;overflow-x:visible;overflow-y:auto;font-size:12px;padding:2px;\x27\x3E","borderColor","display","none"]; function ConvertToBoolean(Ox5b){if( typeof (Ox5b)==OxO983d[0x0]){return Ox5b;} ;if( typeof (Ox5b)==OxO983d[0x1]){switch(Ox5b.toLowerCase()){case OxO983d[0x7]:case OxO983d[0x6]:case OxO983d[0x5]:case OxO983d[0x4]:case OxO983d[0x3]:case OxO983d[0x2]:return true;;;;;;;} ;return false;} ;return Ox5b?true:false;}  ; function _get_options(){return element;}  ;var table;var td1;var panel;var isopen=false;var selindex=0x0;var arr=[]; function _get_selectedIndex(){if(arr[OxO983d[0x8]]==0x0){return -0x1;} ;return selindex;}  ; function _set_selectedIndex(Ox5b){ Ox5b=parseInt(Ox5b) ;if(Ox5b>=0x0&&Ox5b<arr[OxO983d[0x8]]){ selindex=Ox5b ;} else { selindex=-0x1 ;} ; UpdateDisplay() ; FireValuePropChanged() ;}  ; function _get_value(){var Ox73=arr[selindex];if(Ox73){return Ox73[OxO983d[0x9]]||OxO983d[0xa];} ;return OxO983d[0xa];}  ; function _set_value(Ox5b){for(var i=0x0;i<arr[OxO983d[0x8]];i++){if(arr[i][OxO983d[0x9]]==Ox5b){ selindex=i ; UpdateDisplay() ; FireValuePropChanged() ;return ;} ;} ; selindex=-0x1 ; UpdateDisplay() ; FireValuePropChanged() ;}  ; function _mtd_default(Oxd8){return arr[Oxd8];}  ; function _mtd_item(Oxd8){return arr[Oxd8];}  ; function SetOptionTo(Ox73,Ox10b){ Ox10b[OxO983d[0xb]]=OxO983d[0xa] ;if(Ox73[OxO983d[0xd]]||Ox73[OxO983d[0xc]]){var Ox19c=element[OxO983d[0xf]].createElement(OxO983d[0xe]); Ox19c[OxO983d[0xc]]=Ox73[OxO983d[0xd]]||Ox73[OxO983d[0xc]] ; Ox10b.appendChild(Ox19c) ;} else { Ox10b[OxO983d[0xb]]=Ox73[OxO983d[0x10]]||OxO983d[0x11] ;} ;}  ; function _mtd_add(Ox73){var div=element[OxO983d[0xf]].createElement(OxO983d[0x12]); div[OxO983d[0x13]]=Ox73 ; Ox73[OxO983d[0x14]]=div ;var Ox378=element[OxO983d[0xf]].createElement(OxO983d[0x15]);if(window[OxO983d[0x16]]){ Ox378.mergeAttributes(Ox73) ;} ; div.appendChild(Ox378) ; SetOptionTo(Ox73,Ox378) ; arr[arr[OxO983d[0x8]]]=Ox73 ;if(ConvertToBoolean(Ox73.selected)){ selindex=arr[OxO983d[0x8]]-0x1 ; UpdateDisplay() ; FireValuePropChanged() ;} ;if(element[OxO983d[0x17]]==OxO983d[0x3]){ div[OxO983d[0x19]][OxO983d[0x18]]=OxO983d[0x1a] ; div[OxO983d[0x1c]]= new Function(OxO983d[0xa],OxO983d[0x1b]) ; div[OxO983d[0x1e]]= new Function(OxO983d[0xa],OxO983d[0x1d]) ;} else { div[OxO983d[0x19]][OxO983d[0x18]]=OxO983d[0x1f] ; div[OxO983d[0x1c]]= new Function(OxO983d[0xa],OxO983d[0x20]) ; div[OxO983d[0x1e]]= new Function(OxO983d[0xa],OxO983d[0x1d]) ;} ; panel.appendChild(div) ; document[OxO983d[0x21]].appendChild(Ox73) ;}  ; function _mtd_remove(Ox73){for(var i=0x0;i<arr[OxO983d[0x8]];i++){if(arr[i]==Ox73){for(var j=i;j<arr[OxO983d[0x8]]-0x1;j++){ arr[j]=arr[j+0x1] ;} ; arr[OxO983d[0x8]]=arr[OxO983d[0x8]]-0x1 ; Ox73[OxO983d[0x14]].removeNode(true) ; Ox73.removeNode(true) ;if(selindex>i){ selindex=i-0x1 ; UpdateDisplay() ; FireValuePropChanged() ;} else {if(selindex==i){ selindex=-0x1 ; UpdateDisplay() ; FireValuePropChanged() ;} ;} ;break ;} ;} ;}  ; function SelectOption(Ox73){for(var i=0x0;i<arr[OxO983d[0x8]];i++){if(arr[i]==Ox73){ selindex=i ; UpdateDisplay() ; FireValuePropChanged() ; id_onchange.fire() ;} ;} ;}  ; function UpdateDisplay(){ td1[OxO983d[0xb]]=OxO983d[0xa] ; option=arr[selindex] ;if(option){var Ox378=element[OxO983d[0xf]].createElement(OxO983d[0x15]); td1.appendChild(Ox378) ;if(window[OxO983d[0x16]]){ Ox378.mergeAttributes(option) ;} ; SetOptionTo(option,Ox378) ;var coll=td1[OxO983d[0x22]];for(var i=0x0;i<coll[OxO983d[0x8]];i++){ coll[i][OxO983d[0x23]]=OxO983d[0x5] ;} ;} ;}  ; function FireValuePropChanged(){var Ox1a6=createEventObject(); Ox1a6[OxO983d[0x24]]=OxO983d[0x9] ; id_onpropertychange.fire(Ox1a6) ;}  ; function Initialize(){var Ox37d=element[OxO983d[0x25]];var coll=[];for(var i=0x0;i<Ox37d[OxO983d[0x8]];i++){ coll[i]=Ox37d.item(i) ;} ;if(element[OxO983d[0x19]][OxO983d[0x26]]==OxO983d[0xa]){ element[OxO983d[0x19]][OxO983d[0x26]]=OxO983d[0x27] ;} ; element[OxO983d[0x19]][OxO983d[0x28]]=OxO983d[0x29] ;var Ox19c=element[OxO983d[0xf]].createElement(OxO983d[0xe]); Ox19c[OxO983d[0xc]]=OxO983d[0x2a]+bordercolor+OxO983d[0x2b]+OxO983d[0x2c]+OxO983d[0x2d]+OxO983d[0x2e]+OxO983d[0x2f] ; element.insertAdjacentElement(OxO983d[0x30],Ox19c.children(0x0)) ; table=element.children(element[OxO983d[0x25]][OxO983d[0x8]]-0x1) ; td1=table.rows(0x0).cells(0x0) ; panel=element[OxO983d[0xf]].createElement(OxO983d[0x31]) ; element.appendChild(panel) ;for(var i=0x0;i<coll[OxO983d[0x8]];i++){ _mtd_add(coll[i]) ;} ; element[OxO983d[0x23]]=OxO983d[0x5] ;var coll=element[OxO983d[0x22]];for(var i=0x0;i<coll[OxO983d[0x8]];i++){ coll[i][OxO983d[0x23]]=OxO983d[0x5] ;} ; UpdateDisplay() ;}  ; function CloseDiv(Ox37e){ isopen=false ; table[OxO983d[0x32]]=bordercolor ; panel[OxO983d[0x19]][OxO983d[0x33]]=OxO983d[0x34] ; CaptureManager.Unregister(table) ;}  ;

</script>
<script>
var OxO6783=["designMode","document","on","disabled","borderColor","length","RichHideFirstItem","true","display","style","div","none","top","left","block","offsetHeight","offsetWidth","width","scrollHeight","height","all","unselectable","children","px","srcElement","parentNode","option"];if(element[OxO6783[0x1]][OxO6783[0x0]].toLowerCase()!=OxO6783[0x2]){ Initialize() ; HookEvents() ;} ; function HookEvents(){ function table.onmouseover(){if(isopen){return ;} ;if(table.contains(event.fromElement)){return ;} ;if(element[OxO6783[0x3]]){return ;} ; table[OxO6783[0x4]]=bordercolorover ;}  ; function table.onmouseout(){if(isopen){return ;} ;if(table.contains(event.toElement)){return ;} ;if(element[OxO6783[0x3]]){return ;} ; table[OxO6783[0x4]]=bordercolor ;}  ; function table.onclick(){if(isopen){ CloseDiv() ;return ;} ;if(element[OxO6783[0x3]]){return ;} ;for(var i=0x0;i<arr[OxO6783[0x5]];i++){if(i==0x0&&element[OxO6783[0x6]]==OxO6783[0x7]){ arr[0x0][OxO6783[0xa]][OxO6783[0x9]][OxO6783[0x8]]=OxO6783[0xb] ;} ; SetOptionTo(arr[i],arr[i][OxO6783[0xa]].children(0x0)) ;} ; table[OxO6783[0x4]]=bordercolorover ; panel[OxO6783[0x9]][OxO6783[0xc]]=0x0 ; panel[OxO6783[0x9]][OxO6783[0xd]]=0x0 ; panel[OxO6783[0x9]][OxO6783[0x8]]=OxO6783[0xe] ;var Ox85=CalcPosition(panel,table); Ox85[OxO6783[0xc]]+=table[OxO6783[0xf]]+0x1 ; AdjustMirror(panel,table,Ox85) ; panel[OxO6783[0x9]][OxO6783[0xc]]=Ox85[OxO6783[0xc]] ; panel[OxO6783[0x9]][OxO6783[0xd]]=Ox85[OxO6783[0xd]] ; panel[OxO6783[0x9]][OxO6783[0x11]]=table[OxO6783[0x10]] ; panel[OxO6783[0x9]][OxO6783[0x13]]=Math.min(Math.max(panel[OxO6783[0x12]]+0x6,min_height),max_height) ;var coll=panel[OxO6783[0x14]];for(var i=0x0;i<coll[OxO6783[0x5]];i++){ coll[i][OxO6783[0x15]]=OxO6783[0x2] ;} ;var coll=panel[OxO6783[0x16]];var Ox82=0x0;for(var i=0x0;i<coll[OxO6783[0x5]];i++){ Ox82=Math.max(coll[i].offsetWidth,Ox82) ;} ;for(var i=0x0;i<coll[OxO6783[0x5]];i++){ coll[i][OxO6783[0x9]][OxO6783[0x11]]=Ox82+OxO6783[0x17] ;} ; isopen=true ;var Ox86=CaptureManager.Register(table,CloseDiv); Ox86.AddElement(panel) ;}  ; function panel.onmouseup(){if(panel.contains(event.srcElement)){for(var e=event[OxO6783[0x18]];e!=panel;e=e[OxO6783[0x19]]){if(e[OxO6783[0x1a]]){ CloseDiv() ; SelectOption(e.option) ;return ;} ;} ;} ;}  ;}  ;
</script>
