function swfLoad(sUrl,sWidth,sHeight,sName,sAlign,sColor,sTrans) {
	// ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ
	var flashStr=
	"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+sWidth+"' height='"+sHeight+"' id='"+sName+"' align='middle'>"+
	"<param name='allowScriptAccess' value='always' />"+
	"<param name='movie' value='"+sUrl+"' />"+
	"<param name='wmode' value='"+sTrans+"' />"+
	"<param name='menu' value='false' />"+
	"<param name='quality' value='high' />"+
	"<param name='bgcolor' value='"+sColor+"' />"+
	"<embed src='"+sUrl+"' wmode='"+sTrans+"' menu='false' quality='high' bgcolor='"+sColor+"' width='"+sWidth+"' height='"+sHeight+"' name='"+sName+"' align='"+sAlign+"' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";

	// ÇÃ·¡½Ã ÄÚµå Ãâ·Â
	document.write(flashStr);
}

function YoutubeLoad(sUrl,sWidth,sHeight,sName,sAlign,sColor,sTrans) {
	// ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ
	var flashStr=
	"<object width='"+sWidth+"' height='"+sHeight+"' id='"+sName+"' align='middle'>"+
	"<param name='allowScriptAccess' value='always' />"+
	"<param name='allowFullScreen' value='true' />"+
	"<param name='movie' value='"+sUrl+"' />"+
	"<param name='wmode' value='"+sTrans+"' />"+
	"<param name='menu' value='false' />"+
	"<param name='quality' value='high' />"+
	"<param name='bgcolor' value='"+sColor+"' />"+
	"<embed src='"+sUrl+"' wmode='"+sTrans+"' menu='false' quality='high' bgcolor='"+sColor+"' width='"+sWidth+"' height='"+sHeight+"' name='"+sName+"' align='"+sAlign+"' allowScriptAccess='always' type='application/x-shockwave-flash' allowFullScreen='true' />"+
	"</object>";

	// ÇÃ·¡½Ã ÄÚµå Ãâ·Â
	document.write(flashStr);
}

function wmvLoad(sUrl,sWidth,sHeight,sName) {
	// µ¿¿µ»ó ÄÚµå Á¤ÀÇ
	var wmvStr=
	"<object classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject' width='"+sWidth+"' height='"+sHeight+"' id='"+sName+"' VIEWASTEXT>"+
	"<PARAM NAME='AudioStream' VALUE='1' />"+
	"<PARAM NAME='AutoPlay' VALUE='0' />"+
	"<PARAM NAME='AutoSize' VALUE='0' />"+
	"<PARAM NAME='AutoStart' VALUE='0' />"+
	"<PARAM NAME='AnimationAtStart' VALUE='0' />"+
	"<PARAM NAME='AutoRewind' VALUE='1' />"+
	"<PARAM NAME='Balance' VALUE='0' />"+
	"<PARAM NAME='BufferingTime' VALUE='1000' />"+
	"<PARAM NAME='CaptioningID' VALUE='' />"+
	"<PARAM NAME='ClickToPlay' VALUE='1' />"+
	"<PARAM NAME='CursorType' VALUE='32512' />"+
	"<PARAM NAME='CurrentPosition' VALUE='-1' />"+
	"<PARAM NAME='CurrentMarker' VALUE='0' />"+
	"<PARAM NAME='DefaultFrame' VALUE='' />"+
	"<PARAM NAME='DisplayBackColor' VALUE='0' />"+
	"<PARAM NAME='DisplayForeColor' VALUE='0' />"+
	"<PARAM NAME='DisplaySize' VALUE='4' />"+
	"<PARAM NAME='uiMode' VALUE='none' />"+
	"<PARAM NAME='stretchToFit' VALUE='0' />"+
	"<PARAM NAME='Enabled' VALUE='-1' />"+
	"<PARAM NAME='EnableContextMenu' VALUE='0' />"+
	"<PARAM NAME='EnablePositionControls' VALUE='-1' />"+
	"<PARAM NAME='EnableFullScreenControls' VALUE='1' />"+
	"<PARAM NAME='EnableTracker' VALUE='-1' />"+
	"<PARAM NAME='InvokeURLs' VALUE='-1' />"+
	"<PARAM NAME='Language' VALUE='0' />"+
	"<PARAM NAME='Mute' VALUE='0' />"+
	"<PARAM NAME='PlayCount' VALUE='1' />"+
	"<PARAM NAME='PreviewMode' VALUE='0' />"+
	"<PARAM NAME='Rate' VALUE='1' />"+
	"<PARAM NAME='SAMILang' VALUE='' />"+
	"<PARAM NAME='SAMIStyle' VALUE='' />"+
	"<PARAM NAME='SAMIFileName' VALUE='' />"+
	"<PARAM NAME='SelectionStart' VALUE='0' />"+
	"<PARAM NAME='SelectionEnd' VALUE='0' />"+
	"<PARAM NAME='SendOpenStateChangeEvents' VALUE='-1' />"+
	"<PARAM NAME='SendWarningEvents' VALUE='-1' />"+
	"<PARAM NAME='SendErrorEvents' VALUE='-1' />"+
	"<PARAM NAME='SendKeyboardEvents' VALUE='0' />"+
	"<PARAM NAME='SendMouseClickEvents' VALUE='0' />"+
	"<PARAM NAME='SendMouseMoveEvents' VALUE='0' />"+
	"<PARAM NAME='SendPlayStateChangeEvents' VALUE='1' />"+
	"<PARAM NAME='ShowCaptioning' VALUE='0' />"+
	"<PARAM NAME='ShowControls' VALUE='1' />"+
	"<PARAM NAME='ShowAudioControls' VALUE='1' />"+
	"<PARAM NAME='ShowDisplay' VALUE='0' />"+
	"<PARAM NAME='ShowGotoBar' VALUE='0' />"+
	"<PARAM NAME='ShowPositionControls' VALUE='1' />"+
	"<PARAM NAME='ShowTracker' VALUE='1' />"+
	"<PARAM NAME='TransparentAtStart' VALUE='1' />"+
	"<PARAM NAME='VideoBorderWidth' VALUE='0' />"+
	"<PARAM NAME='VideoBorderColor' VALUE='0' />"+
	"<PARAM NAME='VideoBorder3D' VALUE='0' />"+
	"<PARAM NAME='Volume' VALUE='600' />"+
	"<PARAM NAME='WindowlessVideo' VALUE='0' />"+
	"<PARAM NAME='FileName' value='"+sUrl+"' />"+
	"<embed src='"+sUrl+"' menu='false' width='"+sWidth+"' height='"+sHeight+"' name='"+sName+"' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/windows/mediaplayer/en/download/Win32IE4x86.asp' />"+
	"</object>";

	// µ¿¿µ»ó ÄÚµå Ãâ·Â
	document.write(wmvStr);
}

function mini_zoom(num) {
	window.open('/goods/mini_zoom.asp?num='+num,'miniZoom','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no ,width=720,height=600,left=10,top=10');
}

function mini_review(num) {
	window.open('/goods/mini_review.asp?num='+num,'miniReview','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no ,width=720,height=650,left=10,top=10');
}

function mini_zoom_admin(num) {
	window.open('/goods/mini_zoom.asp?admin_opt=1&num='+num,'miniZoom','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no ,width=720,height=600,left=10,top=10');
}

function mini_review_admin(num) {
	window.open('/goods/mini_review.asp?admin_opt=1&num='+num,'miniReview','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no ,width=720,height=650,left=10,top=10');
}

function mini_zoom_win(num) {
	window.open('/goods/mini_zoom.asp?win_opt=1&num='+num,'miniZoom','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no ,width=720,height=600,left=10,top=10');
}

function mini_review_win(num) {
	window.open('/goods/mini_review.asp?win_opt=1&num='+num,'miniReview','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no ,width=720,height=650,left=10,top=10');
}

function moveGoodsUrl(num) {
	document.location.href = '/goods/content.asp?num='+num;
}

function moveGoodsUrl2(num) {
	window.open('/goods/content.asp?num='+num,'GWIN');
}

function swfmenu(sUrl,sWidth,sHeight) {
	document.write("<object style='position: absolute; left: 0px; top: 0;' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+sWidth+"' height='"+sHeight+"'>");
	document.write("    <param name='movie' value='"+sUrl+"' />");
	document.write("    <param name='wmode' value='transparent'/>");
	document.write("    <param name='quality' value='high'/>");
	document.write("    <param name='menu' value='false'/>");
	document.write("    <param name='bgcolor' value='#ffffff'/>");
	document.write("    <embed src='"+sUrl+"' quality='high' bgcolor='#ffffff' width='"+sWidth+"' height='"+sHeight+"' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}

// Top ¸ÞÀÎ¸Þ´º ·¹ÀÌ¾î On/Off //
function OnOffMainMenu(sw)
{
	var othercate = document.all.othercategory;
	if(sw=="on")
		othercate.style.visibility = "visible";
	else
		othercate.style.visibility = 'hidden';
}

// Ä«Å×°í¸® Left ¼­ºê¸Þ´º ·¹ÀÌ¾î On/Off //
function OnOffLeftSubMenu(fnm,sw)
{
	var leftcate = document.all[fnm];
	if(sw=="on")
		leftcate.style.visibility = "visible";
	else
		leftcate.style.visibility = 'hidden';
}

function id_pop(){
	var url = "/member/lose_id.asp";
	window.open(url,"lose_id","scrollbers=no, toolber=no, location=no, directories=no, status=no, width=400, height=200, resizable=no, menuber=no, top=100, left=400")
}
function pwd_pop(){
	var url = "/member/lose_password.asp";
	window.open(url,"lose_pwd","scrollbers=no, toolber=no, location=no, directories=no, status=no, width=400, height=200, resizable=no, menuber=no, top=100, left=400")
}

function page_width()
{
  return (navigator.appName.indexOf('Netscape', 0) != -1) ? innerWidth  : document.body.clientWidth;
}

function page_height()
{
  return (navigator.appName.indexOf('Netscape', 0) != -1) ? innerHeight : document.body.clientHeight;
}