// Run the following functions onload!
$(function(){
  RWE.fixContentIE();
});
/**
 * IE6 decides to mess up the page when using margins to position content.
 * Since there's no logical pattern in the behaviour, this script will detect
 * what the situation on the specific page is and adjust the margins for the
 * content area to display the layout correctly.
 */
RWE.fixContentIE = function() {
	// check for browser and version
	if ($.browser.msie && $.browser.version == 6.0) {
    // if there are no banners.. adjust the margin
    if ($('#question').size() == 1 || $('.category').size() == 1) {
    	$('#content').css('margin-right', '-20px');
    }
	}
}
