(function($){
 $.fn.extend({ 
  customStyle : function(options) {
    if(!$.browser.msie || ($.browser.msie && $.browser.version>6)){
    return this.each(function() {
	/*
      var currentSelected = $(this).find(':selected');
      $(this).after('<span class="showText">'+currentSelected.text()+'</span>');
      var selectBoxSpan = $(this).next();      
      $(this).change(function(){       
      selectBoxSpan.text($(this).find(':selected').text()).parent().addClass('changed');
        // Thanks to Juarez Filho & PaddyMurphy
		*/
		
var currentSelected = $(this).find(':selected');
$(this).after('<span class="showText">'+currentSelected.text()+'</span>').css({position:'absolute', opacity:0,fontSize:$(this).next().css('font-size')});
var selectBoxSpan = $(this).next();
$(this).change(function(){
//selectBoxSpanInner.text($(this).val()).parent().addClass('changed');
selectBoxSpan.text($(this).find(':selected').text()).parent().addClass('changed');
// Thanks to Juarez Filho & PaddyMurphy
      });
      
    });
    }
  }
 });
})(jQuery);
