String.prototype.ucfirst = function() {
    return this.charAt(0).toUpperCase() + this.slice(1);
}

$(window).load(function() {

    swfobject.embedSWF("images/news1200.swf", "ticker", "852", "17", "9.0.0", "images/expressInstall.swf");
    $(".bodydot").hover(function(e) {
        var id = "#offer" + $(this).attr("rel").ucfirst(); 
        $(id).fadeIn();
        e.preventDefault();
    }, function(e) {
        var id = "#offer" + $(this).attr("rel").ucfirst(); 
        $(id).fadeOut();
        e.preventDefault();
    });
    $(".bodydot").click(function(e) { e.preventDefault(); });

    Shadowbox.init();
});

