var current_loc = false;

var setAnc=function(name){ document.location.hash=name; current_loc=document.location.hash; };

var checkLocation = function()
{
	var hash = document.location.hash;
    if (hash!==current_loc)
	{
		var MSIE = (navigator.userAgent.indexOf("Microsoft") != -1) && !window.opera;
		var flash = MSIE ? window['flash'] : document['flash'];
		if(!flash) return;
		current_loc = hash;
		var obj={};
		hash.replace(/(\w+)=([\w\/.]+)/g, function(s, k, v){ obj[k]=v; });
		flash.retAnc(obj);
    }
};

swfobject.embedSWF('index.swf', 'flash', '100%', '100%', '8.0.0', 'expressInstall.swf');
var watchAnc = setInterval(checkLocation, 500);
