<%@ 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 OxOd9f7=["darkblue","white","marginBottom","style","-3px","cursor","default"];var bordercolorover=OxOd9f7[0x0];var bordercolor=OxOd9f7[0x1];var min_height=0x28;var max_height=0x140; element[OxOd9f7[0x3]][OxOd9f7[0x2]]=OxOd9f7[0x4] ; element[OxOd9f7[0x3]][OxOd9f7[0x5]]=OxOd9f7[0x6] ;
</script>

<script>
var OxO4466=["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)==OxO4466[0x0]){return Ox5b;} ;if( typeof (Ox5b)==OxO4466[0x1]){switch(Ox5b.toLowerCase()){case OxO4466[0x7]:case OxO4466[0x6]:case OxO4466[0x5]:case OxO4466[0x4]:case OxO4466[0x3]:case OxO4466[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[OxO4466[0x8]]==0x0){return -0x1;} ;return selindex;}  ; function _set_selectedIndex(Ox5b){ Ox5b=parseInt(Ox5b) ;if(Ox5b>=0x0&&Ox5b<arr[OxO4466[0x8]]){ selindex=Ox5b ;} else { selindex=-0x1 ;} ; UpdateDisplay() ; FireValuePropChanged() ;}  ; function _get_value(){var Ox73=arr[selindex];if(Ox73){return Ox73[OxO4466[0x9]]||OxO4466[0xa];} ;return OxO4466[0xa];}  ; function _set_value(Ox5b){for(var i=0x0;i<arr[OxO4466[0x8]];i++){if(arr[i][OxO4466[0x9]]==Ox5b){ selindex=i ; UpdateDisplay() ; FireValuePropChanged() ;return ;} ;} ; selindex=-0x1 ; UpdateDisplay() ; FireValuePropChanged() ;}  ; function _mtd_default(Oxd7){return arr[Oxd7];}  ; function _mtd_item(Oxd7){return arr[Oxd7];}  ; function SetOptionTo(Ox73,Ox10a){ Ox10a[OxO4466[0xb]]=OxO4466[0xa] ;if(Ox73[OxO4466[0xd]]||Ox73[OxO4466[0xc]]){var Ox19b=element[OxO4466[0xf]].createElement(OxO4466[0xe]); Ox19b[OxO4466[0xc]]=Ox73[OxO4466[0xd]]||Ox73[OxO4466[0xc]] ; Ox10a.appendChild(Ox19b) ;} else { Ox10a[OxO4466[0xb]]=Ox73[OxO4466[0x10]]||OxO4466[0x11] ;} ;}  ; function _mtd_add(Ox73){var div=element[OxO4466[0xf]].createElement(OxO4466[0x12]); div[OxO4466[0x13]]=Ox73 ; Ox73[OxO4466[0x14]]=div ;var Ox3e9=element[OxO4466[0xf]].createElement(OxO4466[0x15]);if(window[OxO4466[0x16]]){ Ox3e9.mergeAttributes(Ox73) ;} ; div.appendChild(Ox3e9) ; SetOptionTo(Ox73,Ox3e9) ; arr[arr[OxO4466[0x8]]]=Ox73 ;if(ConvertToBoolean(Ox73.selected)){ selindex=arr[OxO4466[0x8]]-0x1 ; UpdateDisplay() ; FireValuePropChanged() ;} ;if(element[OxO4466[0x17]]==OxO4466[0x3]){ div[OxO4466[0x19]][OxO4466[0x18]]=OxO4466[0x1a] ; div[OxO4466[0x1c]]= new Function(OxO4466[0xa],OxO4466[0x1b]) ; div[OxO4466[0x1e]]= new Function(OxO4466[0xa],OxO4466[0x1d]) ;} else { div[OxO4466[0x19]][OxO4466[0x18]]=OxO4466[0x1f] ; div[OxO4466[0x1c]]= new Function(OxO4466[0xa],OxO4466[0x20]) ; div[OxO4466[0x1e]]= new Function(OxO4466[0xa],OxO4466[0x1d]) ;} ; panel.appendChild(div) ; document[OxO4466[0x21]].appendChild(Ox73) ;}  ; function _mtd_remove(Ox73){for(var i=0x0;i<arr[OxO4466[0x8]];i++){if(arr[i]==Ox73){for(var j=i;j<arr[OxO4466[0x8]]-0x1;j++){ arr[j]=arr[j+0x1] ;} ; arr[OxO4466[0x8]]=arr[OxO4466[0x8]]-0x1 ; Ox73[OxO4466[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[OxO4466[0x8]];i++){if(arr[i]==Ox73){ selindex=i ; UpdateDisplay() ; FireValuePropChanged() ; id_onchange.fire() ;} ;} ;}  ; function UpdateDisplay(){ td1[OxO4466[0xb]]=OxO4466[0xa] ; option=arr[selindex] ;if(option){var Ox3e9=element[OxO4466[0xf]].createElement(OxO4466[0x15]); td1.appendChild(Ox3e9) ;if(window[OxO4466[0x16]]){ Ox3e9.mergeAttributes(option) ;} ; SetOptionTo(option,Ox3e9) ;var coll=td1[OxO4466[0x22]];for(var i=0x0;i<coll[OxO4466[0x8]];i++){ coll[i][OxO4466[0x23]]=OxO4466[0x5] ;} ;} ;}  ; function FireValuePropChanged(){var Ox1a5=createEventObject(); Ox1a5[OxO4466[0x24]]=OxO4466[0x9] ; id_onpropertychange.fire(Ox1a5) ;}  ; function Initialize(){var Ox3ee=element[OxO4466[0x25]];var coll=[];for(var i=0x0;i<Ox3ee[OxO4466[0x8]];i++){ coll[i]=Ox3ee.item(i) ;} ;if(element[OxO4466[0x19]][OxO4466[0x26]]==OxO4466[0xa]){ element[OxO4466[0x19]][OxO4466[0x26]]=OxO4466[0x27] ;} ; element[OxO4466[0x19]][OxO4466[0x28]]=OxO4466[0x29] ;var Ox19b=element[OxO4466[0xf]].createElement(OxO4466[0xe]); Ox19b[OxO4466[0xc]]=OxO4466[0x2a]+bordercolor+OxO4466[0x2b]+OxO4466[0x2c]+OxO4466[0x2d]+OxO4466[0x2e]+OxO4466[0x2f] ; element.insertAdjacentElement(OxO4466[0x30],Ox19b.children(0x0)) ; table=element.children(element[OxO4466[0x25]][OxO4466[0x8]]-0x1) ; td1=table.rows(0x0).cells(0x0) ; panel=element[OxO4466[0xf]].createElement(OxO4466[0x31]) ; element.appendChild(panel) ;for(var i=0x0;i<coll[OxO4466[0x8]];i++){ _mtd_add(coll[i]) ;} ; element[OxO4466[0x23]]=OxO4466[0x5] ;var coll=element[OxO4466[0x22]];for(var i=0x0;i<coll[OxO4466[0x8]];i++){ coll[i][OxO4466[0x23]]=OxO4466[0x5] ;} ; UpdateDisplay() ;}  ; function CloseDiv(Ox3ef){ isopen=false ; table[OxO4466[0x32]]=bordercolor ; panel[OxO4466[0x19]][OxO4466[0x33]]=OxO4466[0x34] ; CaptureManager.Unregister(table) ;}  ;

</script>
<script>
var OxO8d08=["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[OxO8d08[0x1]][OxO8d08[0x0]].toLowerCase()!=OxO8d08[0x2]){ Initialize() ; HookEvents() ;} ; function HookEvents(){ function table.onmouseover(){if(isopen){return ;} ;if(table.contains(event.fromElement)){return ;} ;if(element[OxO8d08[0x3]]){return ;} ; table[OxO8d08[0x4]]=bordercolorover ;}  ; function table.onmouseout(){if(isopen){return ;} ;if(table.contains(event.toElement)){return ;} ;if(element[OxO8d08[0x3]]){return ;} ; table[OxO8d08[0x4]]=bordercolor ;}  ; function table.onclick(){if(isopen){ CloseDiv() ;return ;} ;if(element[OxO8d08[0x3]]){return ;} ;for(var i=0x0;i<arr[OxO8d08[0x5]];i++){if(i==0x0&&element[OxO8d08[0x6]]==OxO8d08[0x7]){ arr[0x0][OxO8d08[0xa]][OxO8d08[0x9]][OxO8d08[0x8]]=OxO8d08[0xb] ;} ; SetOptionTo(arr[i],arr[i][OxO8d08[0xa]].children(0x0)) ;} ; table[OxO8d08[0x4]]=bordercolorover ; panel[OxO8d08[0x9]][OxO8d08[0xc]]=0x0 ; panel[OxO8d08[0x9]][OxO8d08[0xd]]=0x0 ; panel[OxO8d08[0x9]][OxO8d08[0x8]]=OxO8d08[0xe] ;var Ox84=CalcPosition(panel,table); Ox84[OxO8d08[0xc]]+=table[OxO8d08[0xf]]+0x1 ; AdjustMirror(panel,table,Ox84) ; panel[OxO8d08[0x9]][OxO8d08[0xc]]=Ox84[OxO8d08[0xc]] ; panel[OxO8d08[0x9]][OxO8d08[0xd]]=Ox84[OxO8d08[0xd]] ; panel[OxO8d08[0x9]][OxO8d08[0x11]]=table[OxO8d08[0x10]] ; panel[OxO8d08[0x9]][OxO8d08[0x13]]=Math.min(Math.max(panel[OxO8d08[0x12]]+0x6,min_height),max_height) ;var coll=panel[OxO8d08[0x14]];for(var i=0x0;i<coll[OxO8d08[0x5]];i++){ coll[i][OxO8d08[0x15]]=OxO8d08[0x2] ;} ;var coll=panel[OxO8d08[0x16]];var Ox81=0x0;for(var i=0x0;i<coll[OxO8d08[0x5]];i++){ Ox81=Math.max(coll[i].offsetWidth,Ox81) ;} ;for(var i=0x0;i<coll[OxO8d08[0x5]];i++){ coll[i][OxO8d08[0x9]][OxO8d08[0x11]]=Ox81+OxO8d08[0x17] ;} ; isopen=true ;var Ox85=CaptureManager.Register(table,CloseDiv); Ox85.AddElement(panel) ;}  ; function panel.onmouseup(){if(panel.contains(event.srcElement)){for(var e=event[OxO8d08[0x18]];e!=panel;e=e[OxO8d08[0x19]]){if(e[OxO8d08[0x1a]]){ CloseDiv() ; SelectOption(e.option) ;return ;} ;} ;} ;}  ;}  ;
</script>
