﻿
var ERR_MSG_LOGIN = 'ログインしてからご利用ください。';

function DirectWrite(src){
	document.write(src);
}

function MakeFlashWithNamed(v_flash_url,v_flash_width,v_flash_height,v_other_params, v_flashvars, v_object_name, v_temp1, v_temp2, v_temp3){
    var v_return_string = '';
	v_return_string	+= '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0"';
	v_return_string	+= '	style="width:' + v_flash_width + 'px; height:' + v_flash_height + 'px;" id="' + v_object_name + '">';
	v_return_string	+= '	<param name="allowScriptAccess" value="always">';
	v_return_string	+= '	<param name="movie" value="' + v_flash_url + '">';
	v_return_string	+= '	<param name="quality" value="high">';
	v_return_string	+= '	<param name="wmode" value="transparent">';
	v_return_string	+= '	<param name="scale" value="noscale" />';
	v_return_string	+= '	<param name="menu" value="false" />';
	v_return_string += '	<param name="FlashVars" value="' + v_flashvars + '" />';
	v_return_string	+= v_other_params;
	v_return_string	+= '	<embed src="' + v_flash_url + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"';
	v_return_string	+= '	flashvars="' + v_flashvars + '" ';
	v_return_string	+= '	style="width:' + v_flash_width + 'px; height:' + v_flash_height + 'px;" wmode="transparent" allowScriptaccess="always" id="' + v_object_name + '"></embed>';
	v_return_string	+= '</object>';
	return v_return_string;
}
