var oasis = {
	init: function () {
		var html = ''; 
		html += '<object';
		html += '	id="flash_embed"';
		html += '	classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"';
		html += '	width="160"';
		html += '	height="248"';
		html += '	codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"';
		html += '>';
		html += '	<param name="allowScriptAccess" value="always" />';
		html += '	<param name="movie" value="http://oasiscafe.sakura.ne.jp/top.swf" />';
		html += '	<param name="base" value="." />';
		html += '	<param name="quality" value="high" />';
		html += '	<param name="wmode" value="transparent" />';
		html += '	<embed ';
		html += '		src="http://oasiscafe.sakura.ne.jp/top.swf"';
		html += '		name="flash_embed"';
		html += '		width="160"';
		html += '		height="248"';
		html += '		allowScriptAccess="always"';
		html += '		base = "." quality="high"';
		html += '		wmode="transparent"';
		html += '		pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"';
		html += '	/>';
		html += '</object>';
		document.write(html);
	},

	onFlashFunction: function () {
		var flash = document.flash_embed||window.flash_embed;	
		flash.onFlash(document.getElementsByTagName('body')[0].innerHTML);
	}
}

oasis.init();
