//--------------------------------------------
 
 function x956203888511( x956203888512 ) { 
  var x956203888513 = 0; 
  
  while ( x956203888512 != null ) { 
    x956203888513 += x956203888512.offsetLeft; 
    x956203888512 = x956203888512.offsetParent; 
  } 
  
  return x956203888513; 
} 

//--------------------------------------------

function x956203888514( x956203888512 ) { 
  var x956203888515 = 0; 
  
  while ( x956203888512 != null ) { 
    x956203888515 += x956203888512.offsetTop; 
    x956203888512 = x956203888512.offsetParent; 
  } 
  
  return x956203888515; 
} 

//--------------------------------------------

function CheckIE5() { 
  var x956203888517=true; 
  var x956203888518=navigator.appVersion; 
  var x956203888519=parseInt(x956203888518.indexOf("MSIE")); 
  
  if (x956203888519>=1) { 
    var x956203888520=parseInt(x956203888518.charAt(x956203888519+5)); 
    
    if (x956203888520>=5) { 
      x956203888517=false; 
    } 
  } 
  
  if (x956203888517) { 
    alert("This page may not be displayed properly:\n\ This product requires Microsoft Internet Explorer 5 or later browser only."); 
  } 
}

//--------------------------------------------
 
 var x956203888448 = new Array(); 

 function myalert(s) {
   alert(s);
 }
 
 function CreateWidget(strSelectWidget, variableName, index, form) { 
   //myalert('CreateWidget');
   this._MySelectWidget = document.all[strSelectWidget + index]; 
   //this._MySelectWidget.selectedIndex = -1; 
   this.x956203888453 = x956203888453; 
   this.x956203888454 = x956203888454; 
   this.x956203888455 = x956203888455; 
   this.x956203888456 = x956203888456; 
   this.x956203888457 = x956203888457; 
   this.x956203888458 = x956203888458; 
   this.x956203888459 = x956203888459; 
   this.SetSelectionIndex = SetSelectionIndex; 
   this.x956203888461 = x956203888461; 
   this.OnKeyPress = OnKeyPress; 
   this.x956203888463 = x956203888463; 
   this.x956203888464 = x956203888464; 
   this.focus = focus; 
   this.x956203888466 = x956203888466; 
   this.x956203888467 = x956203888467; 
   this.x956203888468 = false; 
   this.x956203888469 = false; 
   this.x956203888470 = false; 
   this.x956203888471 = false; 
   this.x956203888472 = ""; 
   
    
   var strSelectWidget_Text = strSelectWidget + index + "_text"; 
   
   if (document.all[strSelectWidget_Text] != null) { 
     alert("The following id: '" + strSelectWidget_Text +"' is used internally by the Combo Box!\r\n"+ "Use of this id in your page may cause malfunction. Please use another id for your controls."); 
   } 
   
   var strNewInput = "<INPUT type='text' id='" + strSelectWidget_Text + "' name='" + strSelectWidget_Text + "' onblur='" + variableName + "["+index+"].x956203888456()'" + " onkeyup='" + variableName + "["+index+"].OnKeyPress()' " + " style='display: none; position: absolute' value=''>"; 

   this._MySelectWidget.insertAdjacentHTML("afterEnd", strNewInput); 
   this.SelectTextWidget = document.all[strSelectWidget_Text]; 
   
   var strSelectWidget_value = strSelectWidget + index + "_value"; 
   
   if (document.all[strSelectWidget_value] != null) { 
     alert("The following id: '" + strSelectWidget_value + "' is used internally by the Combo Box!\r\n"+ "Use of this id in your page may cause malfunction. Please use another id for your controls."); 
   } 
   
   var x956203888477 = "<INPUT type='hidden' "+ " id=" + strSelectWidget_value + " name=" + strSelectWidget_value + " >"; 
   
   this._MySelectWidget.insertAdjacentHTML("afterEnd", x956203888477); 
   this.SelectValueWidget = document.all[strSelectWidget_value]; 
   this.x956203888479 = false; 
   this.x956203888454(); 
   
   x956203888448[x956203888448.length] = this; 
   
   //private members
   this._MyForm = form;
 } 
 
//--------------------------------------------
 
 function x956203888457(x956203888480) { 
   //myalert('x956203888457');
   this.x956203888468 = x956203888480; 
 } 

//--------------------------------------------
 
 function x956203888463(x956203888481) { 
   //myalert('x956203888463');
   this.x956203888470 = x956203888481; 
 } 
 
 function x956203888464(x956203888482) { 
   //myalert('x956203888464');
   this.x956203888471 = x956203888482; 
 } 
 
 function x956203888461(x956203888483, x956203888484) { 
   //myalert('x956203888461');
   this.x956203888469 = x956203888483; 
   
   var x956203888485; 
   
   if (x956203888483) { 
     if (x956203888461.arguments.length == 1) { 
       x956203888484 = false; 
     } 
     
     var OptionsLength = this._MySelectWidget.options.length; 
     var x956203888487; 
     var x956203888488; 
     var x956203888489; 
     var x956203888490; 
     var x956203888491; 
     for (x956203888485=0; x956203888485 < OptionsLength; x956203888485++) { 
       x956203888487 = x956203888485; 
       x956203888488 = this._MySelectWidget.options(x956203888485).text; 
       if (x956203888484) { 
         x956203888488 = parseFloat(x956203888488); 
       } 
       for (x956203888491=x956203888485+1; x956203888491 < OptionsLength; x956203888491++) { 
         x956203888490 = this._MySelectWidget.options(x956203888491).text; 
         if (x956203888484) { 
           x956203888490 = parseFloat(x956203888490); 
         } 
         if (x956203888488 > x956203888490) { 
           x956203888487 = x956203888491; 
           x956203888488 = this._MySelectWidget.options(x956203888491).text; 
         } 
       } 
       if (x956203888485 != x956203888487) { 
         x956203888489 = document.createElement("OPTION"); 
         x956203888489.text = x956203888488; 
         x956203888489.value = this._MySelectWidget.options(x956203888487).value; 
         var x956203888492 = this._MySelectWidget.selectedIndex; 
         this._MySelectWidget.options.remove(x956203888487); 
         this._MySelectWidget.add(x956203888489, x956203888485); 
         if (x956203888492 == x956203888487) { 
           this._MySelectWidget.selectedIndex = x956203888485; 
         } else if ( (x956203888492 < x956203888487) && (x956203888492 >= x956203888485) ) { 
           this._MySelectWidget.selectedIndex = x956203888492 + 1; 
         } 
       } 
     } 
   } 
 } 
 
 function x956203888456() { 
   //myalert('x956203888456');
   var x956203888485; 
   this.SelectValueWidget.value = this.SelectTextWidget.value; 
   this._MySelectWidget.selectedIndex = -1; 
  
   writeText( this._MyForm, this.SelectTextWidget.value);

   if (this.SelectTextWidget.value == "") { 
     return; 
   } 
   
   var x956203888486 = this._MySelectWidget.options.length; 
   for (x956203888485=0; x956203888485<x956203888486; x956203888485++) { 
     var x956203888496 = this._MySelectWidget.options(x956203888485).text; 
     var x956203888497 = this.SelectTextWidget.value; 
     
     if (this.x956203888471) { 
       x956203888496 = x956203888496.toUpperCase(); 
       x956203888497 = x956203888497.toUpperCase(); 
     } 
     
     if (x956203888496 == x956203888497) { 
       this._MySelectWidget.selectedIndex = x956203888485; 
       this.SelectValueWidget.value = this._MySelectWidget.options(x956203888485).value; 
       return; 
     } 
   } 
   
   if (this.x956203888468) { 
     this._MySelectWidget.focus(); 
     alert("'" + this.SelectTextWidget.value + "' is not allowed"); 
     this._MySelectWidget.selectedIndex = -1; 
     this.SelectTextWidget.select(); return; 
   } 
 } 
 
 function x956203888466( x956203888498 ) { 
   myalert('x956203888466');
   if ((x956203888498 == null) || (x956203888498 == "") ) { 
     x956203888498 = this.SelectTextWidget.value; 
   } 
   
   var x956203888486 = this._MySelectWidget.options.length; 
   var x956203888485; var x956203888499 = -1; 
   for (x956203888485=0; x956203888485<x956203888486; x956203888485++) { 
     if (this._MySelectWidget.options(x956203888485).text == x956203888498) { 
       x956203888499 = x956203888485; 
       break; 
     } 
   } 
   
   if (x956203888499 == -1) { 
     return; 
   } 
   
   this._MySelectWidget.remove(x956203888499); 
   this._MySelectWidget.selectedIndex = -1; 
   this.SelectTextWidget.value = ""; 
   this.x956203888454(); 
 } 
 
 
 function x956203888454() { 

   if (!this.x956203888479) { 
     this.x956203888479 = true; 
     this.SelectTextWidget.style.display="none"; 
     this._MySelectWidget.style.position="static"; 
     
     this.SelectTextWidget.style.posLeft = x956203888511(this._MySelectWidget); 
     this.SelectTextWidget.style.posTop = x956203888514(this._MySelectWidget) + 1; 

     this.SelectTextWidget.style.posWidth = this._MySelectWidget.offsetWidth - 16; 
     this.SelectTextWidget.style.posHeight = this._MySelectWidget.offsetHeight; 
 
     this._MySelectWidget.offsetWidth; 
     this._MySelectWidget.style.position ="absolute";      
     this._MySelectWidget.style.posLeft = this.SelectTextWidget.style.posLeft; 
     this._MySelectWidget.style.posTop = this.SelectTextWidget.style.posTop; 
     
     this.x956203888500 = this._MySelectWidget.offsetWidth; 
     this._MySelectWidget.style.clip = "rect(0 " + (this._MySelectWidget.offsetWidth) + " " + this._MySelectWidget.offsetHeight + " " + (this.SelectTextWidget.style.posWidth - 2 ) + ")"; 
     this.SelectTextWidget.style.display=""; 
     this.x956203888479 = false; 
   } 
 } 
 
 function x956203888455() { 
 //myalert('x956203888455');
   var x956203888502 = this._MySelectWidget.selectedIndex; 
   var x956203888503 = this._MySelectWidget.options[x956203888502]; 
   
   this.SelectTextWidget.value = x956203888503.text; 
   this.SelectTextWidget.focus(); 
   this.SelectTextWidget.select(); 
   this._MySelectWidget.selectedIndex=-1; 
 } 
 
 function x956203888453() { 
 //myalert('x956203888453');
   return this.SelectTextWidget.value; 
 } 
 
 function x956203888467() { 
 //myalert('x956203888467');
   return this.SelectValueWidget.value; 
 } 
 
 function x956203888459(x956203888504) { 
 //myalert('x956203888459');
   var x956203888486 = this._MySelectWidget.options.length; 
   var x956203888485; 
   
   for (x956203888485=0; x956203888485<x956203888486; x956203888485++) { 
     if (this._MySelectWidget.options(x956203888485).text == x956203888504) { 
       this._MySelectWidget.selectedIndex = x956203888485; 
       this.SelectTextWidget.value = this._MySelectWidget.options(x956203888485).text; 
       this.SelectValueWidget.value = this._MySelectWidget.options(x956203888485).value; return; 
     } 
   } 
   
   this._MySelectWidget.selectedIndex = -1; 
   this.SelectTextWidget.value = ""; 
 } 
 
 function x956203888458(x956203888498) { 
 //myalert('x956203888458');
   var x956203888486 = this._MySelectWidget.options.length; 
   var x956203888485; 
   
   for (x956203888485=0; x956203888485 < x956203888486; x956203888485++) { 
     if (this._MySelectWidget.options(x956203888485).value == x956203888498) { 
       this._MySelectWidget.selectedIndex = x956203888485; 
       this.SelectTextWidget.value = this._MySelectWidget.options(x956203888485).text; 
       this.SelectValueWidget.value = this._MySelectWidget.options(x956203888485).value; 
       return; 
     } 
   } 
   
   this._MySelectWidget.selectedIndex = -1; 
   this.SelectTextWidget.value = ""; 
 } 
 
 function SetSelectionIndex(inp) { 
   var OptionsLength = this._MySelectWidget.options.length; 
   
   if ((inp >= 0) && (inp < OptionsLength)) { 
     this._MySelectWidget.selectedIndex = inp; 
     this.SelectTextWidget.value = this._MySelectWidget.options(inp).text; 
     this.SelectValueWidget.value = this._MySelectWidget.options(inp).value; 
     return; 
   } 
 } 
 
 function OnKeyPress() { 
   if (this.x956203888470) { 
     if (event.keyCode < 32) { 
       return; 
     } 
     
     var x956203888505 = this.SelectTextWidget.value; 
     var x956203888506 = this.x956203888472; 
     var x956203888485; 
     
     if ((x956203888505 == "") || (x956203888505 == x956203888506) ) { 
       this.x956203888472 = x956203888505; 
       return; 
     }
     
     var x956203888486 = this._MySelectWidget.options.length; 
     var x956203888507; 
     
     for (x956203888485=0; x956203888485<x956203888486; x956203888485++) { 
       x956203888507 = this._MySelectWidget.options(x956203888485).text; 
       if (this.x956203888471) { 
         x956203888507 = x956203888507.toUpperCase(); 
         x956203888505 = x956203888505.toUpperCase(); 
       } 
       if (x956203888507.indexOf(x956203888505) == 0) { 
         var x956203888508 = this._MySelectWidget.options(x956203888485).text; 
         this.SelectTextWidget.value = this.SelectTextWidget.value + x956203888508.substr(x956203888505.length); 
         this._MySelectWidget.selectedIndex = x956203888485; 
         this.x956203888472 = this.SelectTextWidget.value; 
         var x956203888509 = this.SelectTextWidget.createTextRange(); 
         x956203888509.moveStart("character", x956203888505.length); 
         x956203888509.select(); 
         return; 
       } 
     } 
   } 
 } 
   
 function focus() { 
 //myalert('focus');
   this.SelectTextWidget.focus(); 
 } 
 
 function x956203888510() { 
 //myalert('x956203888510');
   var x956203888485; 
   
   for (x956203888485=0; x956203888485 < x956203888448.length; x956203888485++) { 
     x956203888448[x956203888485].x956203888454(); 
   } 
 } 
    
    