/*ブラウザチェック*/
var ver = BrowserCheck();

/*
if(ver == "IE"){
	if (typeof document.body.style.maxHeight != "undefined") {
		writeObjectIe7();
	} else {
		writeObjectIe6();
	}
}else{
	var swf = document.getElementById("flashbg");
	swf.style.display = "block";
}*/

document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="830" height="260" title="SEO対策リサーチ">');
document.write('<param name="movie" value="main_image.swf">');
document.write('<param name="quality" value="best">');
document.write('<embed src="main_image.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="830" height="260"></embed>');
document.write('</object>');


function BrowserCheck(){
	var ua = navigator.userAgent;
	ua = ua.toUpperCase();
	if(ua.indexOf("SAFARI")>-1)return "Safari";
	if(ua.indexOf("FIREFOX")>-1)return "Firefox";
	if(ua.indexOf("OPERA")>-1)return "Opera";
	if(ua.indexOf("NETSCAPE")>-1)return "Netscape";
	if(ua.indexOf("MSIE")>-1)return "IE";
	if(ua.indexOf("MOZILLA/4")>-1)return "Netscape";
	if(ua.indexOf("MOZILLA")>-1)return "Mozilla";
	return null;
}

