function RunFlash()
{
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'")
document.write(" codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab'")
document.write("       width=438 height=150>")
document.write("<param name=movie value='top.swf'>")
document.write("<param name=quality value=high>")
document.write("<embed src='top.swf' quality=high  ")
document.write("       width=438 height=150")
document.write("       type='application/x-shockwave-flash' ")
document.write("pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.write("</embed>")
document.write("</object>")
}

function RunFlash2()
{
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'")
document.write(" codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab'")
document.write("       width=170 height=70>")
document.write("<param name=movie value='banner_gulliver4.swf'>")
document.write("<param name=quality value=high>")
document.write("<embed src='banner_gulliver4.swf' quality=high  ")
document.write("       width=170 height=70")
document.write("       type='application/x-shockwave-flash' ")
document.write("pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.write("</embed>")
document.write("</object>")
}

function RunFlash3()
{
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'")
document.write(" codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab'")
document.write("       width=170 height=70>")
document.write("<param name=movie value='banner_gulliver5.swf'>")
document.write("<param name=quality value=high>")
document.write("<embed src='banner_gulliver5.swf' quality=high  ")
document.write("       width=170 height=70")
document.write("       type='application/x-shockwave-flash' ")
document.write("pluginspage='http://www.macromedia.com/go/getflashplayer'>")
document.write("</embed>")
document.write("</object>")
}

function openWin()
{
	window.open("about_wcp.html","about","width=550,height=180");
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function setStartPage() {
	var b = document.body;
	var ua = navigator.userAgent;
	var ie = ua.indexOf("MSIE");
	var iever = parseInt(ua.substring(ie+5, ie+6));
	var os = ua.indexOf("Windows");
	if(ie > 0 && iever >= 5 && os > 0 && !window.opera){
		var homepage = "http://faia.blogten.jp";
		var jumpto = "http://faia.blogten.jp/";
		b.style.behavior = "url('#default#homepage')";
		var is_home = b.isHomePage(homepage) || b.isHomePage(homepage + "/");
		if(is_home) 
			alert("www.blogmin.jp はすでにスタートページに設定されています。");
		else
			b.setHomePage(homepage + "/");
			is_home = b.isHomePage(homepage) || b.isHomePage(homepage + "/");
			if(is_home) {
				document.location.replace(jumpto);
			}
		
	}
}

function memberlogin(n) {
	File_name="member_idchk.asp";
	SW=(screen.Width - 375) / 2;
	SH=(screen.Height - 200) / 2;
	OPT="resizable=no,scrollbars=no,width=375,height=200,top="+SH+",left="+SW;
	URL = "member_idchk.asp?sel="+n;
	window.open(URL,"memlogin",OPT);
}