// JavaScript Document


var plugin = 0;
if(navigator.mimeTypes &&
	 navigator.mimeTypes["application/x-shockwave-flash"] &&
	 navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){
	if(navigator.plugins && navigator.plugins["Shockwave Flash"]){
		plugin = 1;
	}
}
else if(navigator.userAgent && (navigator.userAgent.indexOf("MSIE") >= 0) &&
	(navigator.userAgent.indexOf("Win") >= 0)){
	document.write('<SCRIPT LANGUAGE="VBScript"\> \n');
	document.write('on error resume next \n');
	document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")))\n');
	document.write('if ( plugin <= 0 ) then plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
	document.write('if ( plugin <= 0 ) then plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")))\n');
	document.write('</SCRIPT\> \n');
}


function cematin_top(){
	if(plugin){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="www.ytv.co.jp.movie_cematintop02.swf" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<param name="quality" value="high" />');
	document.write('<embed src="www.ytv.co.jp.movie_cematintop02.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="640" height="400" wmode="transparent"></embed>');
	document.write('</object>');

	}else{
		document.write('<div style="width:640px; height:400px; background:url(images/no_js.gif) no-repeat;"><a href="index.html"><img src="images/no_js.gif"></a></div>');
	}
}

function cematin_nao(){
	if(plugin){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="654" height="374" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="www.ytv.co.jp.cematin_nao3.swf" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<param name="quality" value="high" />');
	document.write('<embed src="www.ytv.co.jp.cematin_nao3.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="654" height="374" wmode="transparent"></embed>');
	document.write('</object>');

	}else{
		document.write('<div style="width:654px; height:374px;"><img src="images/no_flash.gif"></div>');
	}
}
