if (top.length != self.length)
top.location.href = self.location.href;

function checkFlash(version) {
	var isFlash = false;
	var verStr = (version) ? "."+version : "";
	if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){
		isFlash = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;}
	else if (navigator.plugins && navigator.plugins['Shockwave Flash']){
		isFlash = true;}
	else if (Boolean(document.getElementById)){
		eval('try {var o=new ActiveXObject("ShockwaveFlash.ShockwaveFlash'+verStr+'");if(o)isFlash=true;o=null;} catch(e){}');}
	return Boolean(isFlash);
	}
