var Flash = function () {
var o = {installed:0, version:[]}, description, oActiveX, nMajor, nMinor;
if (navigator.plugins && typeof navigator.plugins["Shockwave Flash"] == "object") {
	o.pluginType = "npapi";
	description = navigator.plugins["Shockwave Flash"].description;
	if (typeof description != "undefined") {
		description = description.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
		nMajor = parseInt(description.replace(/^(.*)\..*$/, "$1"), 10);
		nMinor = /r/.test(description) ? parseInt(description.replace(/^.*r(.*)$/, "$1"), 10) : 0;
		o.version = [nMajor, nMinor];
		o.installed = 1;
	}
}
else if (window.ActiveXObject) {
	o.pluginType = "ax";
	try {
	oActiveX = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
	}
	catch (e) {
	try {
		oActiveX = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
		o.version = [6, 0];
		o.installed = 1;
		oActiveX.AllowScriptAccess = "always";
	}
	catch (e) {
	if (o.version[0] == 6) {o.installed=1; return; }
	}
	try {
		oActiveX = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
	}
	catch (e) {
	}
}
if (typeof oActiveX == "object") {
	description = oActiveX.GetVariable("$version");
	if (typeof description != "undefined") {
		description = description.replace(/^\S+\s+(.*)$/, "$1").split(",");
		o.version = [parseInt(description[0], 10), parseInt(description[2], 10)];
		o.installed = 1;
	}
	}
}
return o;
}();



if(Flash.installed) {

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="870" height="350" id="topflash" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="new_topflash.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="bgcolor" value="#ffffff" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed wmode="opaque" src="new_topflash.swf" quality="high" bgcolor="#ffffff" width="870" height="350" name="topflash" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');

} else {
	document.write('<img src="img/top/topimage.jpg" alt="" usemap="#voicemap">');
}
