jQuery(document).ready(function(){
	// add firstChild class to all li:first-child elements
	jQuery("ul li:first-child").addClass("firstChild");
	
	// add radioButton class to all input type="radio"
	jQuery("input[type='radio']").addClass("radioButton");
	
	// add checkBox class to all input type="checkbox"
	jQuery("input[type='checkbox']").addClass("checkBox");
	
	// add imageButton class to all input type="image"
	jQuery("input[type='image']").addClass("imageButton");
	
	jQuery("#mainNavigation div#searchForm input").focus(function(){					
		jQuery(this).css("background","#fff");															 
	});	
	
	// wrap HRs in a div to enhance styling ability
	jQuery("hr").wrap('<div class="hr"></div>');
	
	// replace align left and right attributes on images with classes
	jQuery("img[align='left']").addClass("floatLeft").removeAttr('align').removeAttr('hspace').removeAttr('vspace');
	jQuery("img[align='right']").addClass("floatRight").removeAttr('align').removeAttr('hspace').removeAttr('vspace');
	
});