$(document).ready(function() {
    if($('#flash')) {
        swfobject.registerObject("flash");
    }
});
