changed it to use AMD compatible version of swfobject