$(document).ready(function ()

$('select').load( function(){

var currentSelected = $(this).find(':selected');
			$(this).after('<span class="customStyleSelectBox"><span class="customStyleSelectBoxInner">'+currentSelected.text()+'</span></span>').css({opacity: 0,});
			var selectBoxSpan = $(this).next();
			var selectBoxWidth = parseInt($(this).width());
			var selectBoxSpanInner = selectBoxSpan.find(':first-child');
			
			selectBoxSpan.css({width:selectBoxWidth - 20, display:'inline-block', marginLeft: -selectBoxWidth});
			var selectBoxHeight = parseInt(selectBoxSpan.height()) + parseInt(selectBoxSpan.css('padding-top')) + parseInt(selectBoxSpan.css('padding-bottom'));
			$(this).change(function(){
				selectBoxSpanInner.text($('option:selected',this).text()).parent().addClass('changed');

});
});


});
