function fFlash_Activate(argSRC, argWIDTH, argHEIGHT, argID, argWMODE) {

	var contents = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="' + argID  + '" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + argWIDTH + '" height="' +argHEIGHT +'">';
	contents += '<param name="menu" value="false">';
	if (typeof(argWMODE) == "undefined") {
		contents += '<param name="wmode" value="transparent">';
	} else {
		contents += '<param name="wmode" value="' + argWMODE + '">';
	}
	contents += '<param name="movie" value="' + argSRC + '">';
    contents += '<param name="quality" value="high">';
	contents += '<param name="allowScriptAccess" value="always" />';
    contents += '<embed src="' + argSRC + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
	if (typeof(argWMODE) == "undefined") {
		contents += ' wmode="transparent" ';
	} else {
		contents += ' wmode="' + argWMODE + '" ';
	}
	contents += ' type="application/x-shockwave-flash" width="' + argWIDTH + '" height="' + argHEIGHT +'"></embed></object>';
	document.write(contents);
}


var bStart="F";
function Check_User_Browser()
{
var sBrowser, iVersion;
var temp = window.navigator.userAgent.split(" ");
sBrowser = temp[2];
temp = temp[3].split(";");
iVersion = parseInt(temp[0]);

if(sBrowser == "MSIE"){
if(iVersion >= 5.5)
bStart = "T";
else
alert("Microsoft Internet Explorer 5.5 ÀÌ»ó¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.");
}
else
alert("Microsoft Internet Explorer 5.5 ÀÌ»ó¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.");
}

function OpenEBook(bid)
{
	/*
	bStart="F";
	Check_User_Browser();
	if(bStart=="T") {
	var url = "http://smartbook.180design.co.kr/script_v1/open" + bid + ".html";
	window.open(url,"normal","fullscreen");
	}
	*/
	OpenEBook2()
}

function OpenEBook2()
{

	var url = "http://v2main.trueebook.com/engine/php/mail/MailOpenEBook_self_close.html?bc=11492";
	window.open(url,"normal","");

}




// ¹Ìµð¾î ÇÃ·¹ÀÌ¾î 
function fPlayer_Activate(argWIDTH, argHEIGHT, argBASE_WORK_URL, argATT_PLAYER_NAME) {
	//alert( argBASE_WORK_URL + "/" + argATT_PLAYER_NAME)
	var contents = "<OBJECT id='mediaPlayer' type='application/x-oleobject' standby='Loading Microsoft?Windows?Media Player components...'"
		contents += " width= " + argWIDTH + " height= " + argHEIGHT + " classid='CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95'>" 
		contents += " <PARAM NAME='FileName' VALUE=" + argBASE_WORK_URL + "/" + argATT_PLAYER_NAME + "> "
		contents += " <PARAM NAME='AnimationAtStart' VALUE='false'> "
		contents += " <PARAM NAME='TransparentAtStart' VALUE='true'> "
		contents += " <PARAM NAME='AutoStart' VALUE='true'> "
		contents += " <PARAM NAME='Autosize' VALUE='false'> "
		contents += " <PARAM NAME='AutoRewind' VALUE='true'> "
		contents += " <PARAM NAME='ShowDisplay' VALUE='false'> "
		contents += " <PARAM NAME='ShowStatusBar' VALUE='false'> "
		contents += " <PARAM NAME='ShowControls' VALUE='false'> "
		contents += " <PARAM NAME='ShowAudioControls' VALUE='false'> "
		contents += " <PARAM NAME='ShowTracker' VALUE='false'> "
		contents += " <PARAM NAME='ShowPositionControls' VALUE='0'> "
		contents += " <PARAM NAME='EnableContextMenu' VALUE='false'> "
		contents += " </object> ";
		document.write(contents);
}