if (typeof console === 'undefined') { console = {}; }
if (typeof console.log === 'undefined') { console.log = function(v) {}; }

if (window.location.pathname != '/') {
  window.location.replace("/#" + window.location.pathname.replace(/\/(index\.html)?$/, ''));
} else {
  var flashvars = { };
  var params = { allowScriptAccess:true, bgcolor:'#000000', scale:"noscale", menu:"false", salign:"T",};
  swfobject.embedSWF("site.swf", "content", "100%", "100%", "10.0.0", null, flashvars, params);
  swffit.fit("content",990,670,null,null,true,true);
}
