(function($) {
  function addShadow() {
		var shadow = '';
		shadow += '<i class="shadowLeft"></i><i class="shadowRight"></i>';
		
		// add the shadow if not ie6
		if(!$('html').hasClass('ie6')) {
			$('.box').append(shadow)
		}
	}
	
	function howListIE6VisualFixes() {
		$('.ie6 .hasGraphicRight .howContentGraphic').each(function(index) {
			$(this).css('height',($(this).parent().height()-2)+'px');
		});
		
		$('.ie6 .advertiserSignupForm').css('height',($('.advertiserSignupForm').parent().height()+10)+'px');
		$('.ie6 .adCode').css('height',($('.adCode').parent().height()+10)+'px');
		$('.ie6 .phoneTouch').css('height',($('.phoneTouch').parent().height()+10)+'px');
	}
	
	$(document).ready(function(){
		addShadow();
		howListIE6VisualFixes()
	});
	
})(jQuery);
