jQuery(function(){

	jQuery('.form input[type=text]')
		.before('<span class="input_left">&nbsp;</span>')
		.after('<span class="input_right">&nbsp;</span>');

	jQuery('.form input[type=password]')
		.before('<span class="input_left">&nbsp;</span>')
		.after('<span class="input_right">&nbsp;</span>');

	jQuery('.form textarea')
		.before('<span class="textarea_left">&nbsp;</span>')
		.after('<span class="textarea_right">&nbsp;</span>');
				
	jQuery('.form input[type=submit], .form input[type=button]')
		.before('<span class="button_left">&nbsp;</span>')
		.after('<span class="button_right">&nbsp;</span>');
		
	var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;

	if ($.browser.msie) {
		jQuery('.form input[type=submit], .form input[type=button]').css('padding-bottom', '5px');
		jQuery('.shodow_content_box').boxShadow('0 1px 7px #ccc');
	}
	if ($.browser.msie) {
		jQuery('.textarea_left, .textarea_right')
                .css('padding-top', '69px')
                .css('padding-bottom', '5px');
	}
	if ($.browser.opera) {
		jQuery('.form input[type=submit], .form input[type=button]').css('padding-top', '2px');
		jQuery('.textarea_left, .textarea_right')
                .css('padding-top', '69px')
                .css('padding-bottom', '5px');
	}		
	if ($.browser.mozilla) {
		jQuery('.form input[type=submit], .form input[type=button]').css('padding-bottom', '5px');
	}		
	if (is_chrome) {
		jQuery('.form input[type=submit], .form input[type=button]').css('padding-top', '1px').css('padding-bottom', '3px');
		jQuery('.textarea_left, .textarea_right')
                .css('padding-top', '76px');
		jQuery('.content_shop').css('width', '740px');
		jQuery('#content').css('width', '960px');
	}
		
		

});
