var location_str = window.location.href
var pathname = window.location.pathname
if(document.getElementById('flashcontent'))document.getElementById('flashcontent').style.display = '';
if((pathname.indexOf('/#')) < 0 && pathname != '/' && pathname != '/frontend_dev.php/')window.location = location_str.replace(/(http:\/\/[^\/]+\/(frontend_dev\.php\/)?)(.*)/, "$1#\/$3" )
else{
  var so = new SWFObject('/puket.swf', 'flash_object', '100%', '100%', '9', '#1F1F1F', 'high', location.href);
  so.useExpressInstall('/expressinstall.swf');
  so.addParam('menu', 'false');
  so.addParam('AllowScriptAccess', 'always');
  so.addParam('allowFullScreen', 'true');
  
  if( so.write('flashcontent') )
  {
  	var macmousewheel = new SWFMacMouseWheel( so );
  }  
  document.getElementById('flashcontent').style.display = '';
}
