// JavaScript Document
 jQuery(document).ready(function() {
 
  jQuery.fn._ie_select=function() { 
  
    return jQuery(this).each(function() { 
    
      var a = jQuery(this),
          p = a.parent();
    
      p.css('position','relative');
    
      var o = a.position(),
          h = a.outerHeight(),
          l = o.left,
          t = o.top;
    
      var c = a.clone(true);
    
      jQuery.data(c,'element',a);
    
      c.css({
        zIndex   : 100,
        height   : h,
        top      : t,
        left     : l,
        position : 'absolute',
        width    : 'auto',
        opacity  : 0
      }).attr({
        id    : this.id + '-clone',
        name  : this.name + '-clone'
      }).change(function() {
        jQuery.data(c,'element')
          .val(jQuery(this).val())
          .trigger('change')
      });
        
      a.before(c).click(function() { 
        c.trigger('click');
      });
    
    }); // END RETURN
  
  }; // END PLUGIN

  if (jQuery.browser.msie) {
    jQuery('select')._ie_select();
  }

});

function convertEntities(b){var d,a;d=function(c){if(/&[^;]+;/.test(c)){var f=document.createElement("div");f.innerHTML=c;return !f.firstChild?c:f.firstChild.nodeValue}return c};if(typeof b==="string"){return d(b)}else{if(typeof b==="object"){for(a in b){if(typeof b[a]==="string"){b[a]=d(b[a])}}}}return b};
