if ( swfobject.hasFlashPlayerVersion("9.0.115") ) {
	var h = document.location.href;
	if ( h.match(/https?:\/\/[^\/]+\/(index\.(html|php))?(#.*)?$/) ) {
		swfobject.embedSWF("preloader.swf", "FlashContent", "100%", "100%", "9.0.115", "",{},{},{id:"FlashObject"});
	} else {
		var r = h.match(/https?:\/\/[^\/]+(\/.+)$/);
		var p = "";
		if ( r ) p = r[1].replace(".html","/");
		document.location.href = "/#"+p;
	}
}
