
if(document.getElementById('flashcontent')){
  if( swfobject.hasFlashPlayerVersion("6.0.65") && !(/\/frontend_dev.php/.test(window.location.pathname))){
    if(window.location.pathname != '/' && !(/#/.test(window.location)))window.location = window.location.href.replace(/^(http:\/\/[^\/]+\/)(.*)$/, "$1#\/$2")
    else{
      var vars = { file_version: last_modified };
      var params = { bgcolor: '#FFFFFF', menu: 'false', AllowScriptAccess: 'always', allowFullScreen: 'true' };
      var attributes = { id:'mainObject', name:'mainObject' };
      
      swfobject.embedSWF("/main.swf?file_version="+last_modified, "flashcontent", "100%", "100%", "10.0.0", "js/expressInstall.swf", vars, params, attributes );
      document.getElementById('flashcontent').style.display = 'none';
      if(swfmacmousewheel)swfmacmousewheel.registerObject(attributes.id);
    }
  }else{
    document.getElementById('flashcontent').style.display = '';
  }
}

