$(document).ready(function() {

//this adds the background gradient - I have disabled it due to bugs. Using a png graphic instead.
//$("body").gradient({ topcolor: '#3c7faf', bottomcolor: '#ededed', horizontal: false});


//this adds the rounded corner effects
$('div#header').corner("15px");
$('div#header-border').corner("15px");

$('.coloured-heading').corner("15px top");
$('.sponsor-bottom').corner("10px top");
$('.sponsor-info-all-rounded').corner("round 10px").parent().corner("round 10px");
$('.all-rounded').corner("15px");

//this adds the rounded corner effects
$('.all-rounded-border').corner("15px");
$('.all-rounded-inside').corner("15px");
$('.all-rounded-block').corner("15px");

$('.all-rounded-image-old').corner("15px");
$('.all-rounded-image-almost-works').corner("round 15px").parent().css('padding', '2px').corner("round 15px");
$('.all-rounded-image').corner("round bottom 30px").corner("round top 25px");
$('.all-rounded-header').corner("round bottom 40px").corner("round top 25px");



$('.column-info').corner("round bottom 15px").parent().corner("round bottom 15px");
$('.column-info-shaded').corner("round bottom 15px").parent().corner("round bottom 15px");
$('.column-info-all-rounded').corner("round 15px").parent().corner("round 15px");
$('#footer-info').corner("round bottom 15px");


//If an article in the middle column doesn't have a photo, this widens the paragraph text to compensate
$("#middle-column img").addClass("news-photo");
$(".news-photo").prev("p").addClass("newstext-with-photo");


//This fixes the PNG transparency issue in IE6
$('img[@src$=.png]').ifixpng();
$('#menubar li').ifixpng();


});
