function writeSwf( path ) {
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
    document.write(' codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"');
    document.write(' id="mainvisual" width="630" height="250" align="middle">');
    document.write('	<param name="allowScriptAccess" value="sameDomain" />');
    document.write('	<param name="movie" value="' + path + '" />');
    document.write('	<param name="quality" value="high" />');
    document.write('	<param name="bgcolor" value="#ffffff" />');
    document.write('	<embed src="' + path + '"');
    document.write('	       quality="high" bgcolor="#ffffff" width="630" height="250"');
    document.write('	       swLiveConnect=true id="mainvisual" name="mainvisual" align="middle" allowScriptAccess="sameDomain"');
    document.write('	       type="application/x-shockwave-flash"');
    document.write('	       pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');
    return;
}

function blog_MVCall(fileName , width , height){

htm = "";
htm+="<object classid =\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"";
		htm+=" codebase  =\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\"";
		htm+=" width = \"" + width + "\"";
		htm+=" height= \"" + height + "\"";
		htm+=" id = \"" + fileName + "\"";
		htm+=" align =  \"middle\" />";
		htm+=" <param name   =  \"allowScriptAccess\" value=\"sameDomain\">";
htm+="<param name   =  \"move\" value=\"" + fileName + "\" />";
htm+="<param name   =  \"quality\" value=\"high\">";

htm+="<param name   =  \"bgcolor\" value=\"#ffffff\">";
htm+="<embed src    =  \"" + fileName + ".swf\"";

htm+="       quality = \"high\"";
htm+="       bgcolor = \"#ffffff\"";
htm+="       width   = \"" + width + "\"";
htm+="       height  = \"" + height + "\"";
htm+="       name    = \"" + fileName + "\"";
htm+="       align   = \"middle\"";
htm+="       allowScriptAccess = \"sameDomain\"";
htm+="       type              = \"application/x-shockwave-flash\"";
htm+="       pluginspage       =\"http://www.macromedia.com/go/getflashplayer\">";
htm+="</embed>";
htm+="</object>";

document.write(htm);
}


/////  プロフィール用　動画ソース　　//////

function ana_MVCallWmode(fileName , width , height){
	
htm = "";
htm+="<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"";
		htm+=" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\"";
		htm+=" width = \"" + width + "\"";
		htm+=" height= \"" + height + "\"";
		htm+=" id = \"" + fileName + "\"";
		htm+=" align =  \"middle\" />";
htm+="<param name   =  \"allowScriptAccess\" value=\"sameDomain\" />";
htm+="<param name   =  \"movie\" value=\"images/" + fileName + ".swf\" />";
htm+="<param name   =  \"quality\" value=\"high\" />";
htm+="<param name   =  \"wmode\" value=\"transparent\" />";
htm+="<param name   =  \"bgcolor\" value=\"#ffffff\" />";
htm+="<embed src    =  \"images/" + fileName + ".swf\"";
		htm+=" quality = \"high\"";
		htm+=" wmode   = \"transparent\"";
		htm+=" bgcolor = \"#ffffff\"";
		htm+=" width   = \"" + width + "\"";
		htm+=" height  = \"" + height + "\"";
		htm+=" name    = \"" + fileName + "\"";
		htm+=" align   = \"middle\"";
		htm+=" allowScriptAccess = \"sameDomain\"";
		htm+=" type              = \"application/x-shockwave-flash\"";
		htm+=" pluginspage       = \"http://www.macromedia.com/go/getflashplayer\" />";
htm+="</object>";


document.write(htm);

}


/////  ブログ記事用　動画ソース　　//////

function blog_MVCallWmode(fileName , width , height){
	
htm = "";
htm+="<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"";
		htm+=" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\"";
		htm+=" width = \"" + width + "\"";
		htm+=" height= \"" + height + "\"";
		htm+=" id = \"" + fileName + "\"";
		htm+=" align =  \"middle\" />";
htm+="<param name   =  \"allowScriptAccess\" value=\"sameDomain\" />";
htm+="<param name   =  \"movie\" value=\"images/" + fileName + ".swf\" />";
htm+="<param name   =  \"quality\" value=\"high\" />";
htm+="<param name   =  \"wmode\" value=\"transparent\" />";
htm+="<param name   =  \"bgcolor\" value=\"#ffffff\" />";
htm+="<embed src    =  \"images/" + fileName + ".swf\"";
		htm+=" quality = \"high\"";
		htm+=" wmode   = \"transparent\"";
		htm+=" bgcolor = \"#ffffff\"";
		htm+=" width   = \"" + width + "\"";
		htm+=" height  = \"" + height + "\"";
		htm+=" name    = \"" + fileName + "\"";
		htm+=" align   = \"middle\"";
		htm+=" allowScriptAccess = \"sameDomain\"";
		htm+=" type              = \"application/x-shockwave-flash\"";
		htm+=" pluginspage       = \"http://www.macromedia.com/go/getflashplayer\" />";
htm+="</object>";


document.write(htm);

}

