function applyCorners(){
      $(".titleBox").css({'-webkit-border-bottom-left-radius' : '5px' , '-moz-border-radius-bottomleft' : '5px'});
}

$(document).ready(function(){

$(".currentpage").css({'color' : '#ffffff'});

var titleWidth = $(".titleBox").width();
var boxWidth = titleWidth+12;
$("#infoBox").css({'width' : ''+ boxWidth +'px' });    


$(".infoLinkBox, .titleBox").click(function () {

if ($("#infoBox").is(":hidden")) {

      $("#infoBox").slideDown("slow");
      $("#iconDown").show();
      $(".titleBox").css({'-webkit-border-bottom-left-radius' : '0' , '-moz-border-radius-bottomleft' : '0'});
} else {
      $("#infoBox").slideUp("slow");
      $("#iconDown").hide();

      setTimeout ( "applyCorners()", 550 );
}


});
});