
// flashWrite(ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ¾ÆÀÌµð, ¹è°æ»ö, À©µµ¿ì¸ðµå)
function flashWrite(url,w,h,id,bg,win){

	// ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ
	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='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
	"<param name='movie' value='"+url+"' />"+
	"<param name='wmode' value='"+win+"' />"+
	"<param name='menu' value='false' />"+
	"<param name='quality' value='high' />"+
	"<param name='bgcolor' value='"+bg+"' />"+
	"<embed src='"+url+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";
	
	// ÇÃ·¡½Ã ÄÚµå Ãâ·Â
	document.write(flashStr);

}

function bbs_movie(url,w_size,h_size){

	var movieStr="<object id=\"NSPlay\" 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\" border=\"0\"  width=\""+w_size+"\" height=\""+h_size+"\">";     
	movieStr=movieStr+"<PARAM NAME=\"AnimationAtStart\" value=\"0\">";
    movieStr=movieStr+"<PARAM NAME=\"CurrentPosition\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"SetCurrentEntry\" VALUE=\"1\">";
	movieStr=movieStr+"<PARAM NAME=\"EnableContextMenu\" VALUE=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"AutoStart\" VALUE=\"1\">";
	movieStr=movieStr+"<PARAM NAME=\"AutoSize\" VALUE=\"1\">";
	movieStr=movieStr+"<PARAM NAME=\"DisplayMode\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"DisplaySize\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"DisplayBackColor\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"Filename\" value=\""+url+"\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowControls\" value=\"1\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowPositionControls\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowStatusBar\" VALUE=\"1\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowDisplay\" VALUE=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowTracker\" VALUE=\"1\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowAudioControls\" VALUE=\"1\">";
	movieStr=movieStr+"<PARAM NAME=\"ClickToPlay\" VALUE=\"-1\">";
	movieStr=movieStr+"<param name=\"EnableFullScreenControls\" value=\"-1\">";
	movieStr=movieStr+"<PARAM NAME=\"SendKeyboardEvents\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"SendMouseClickEvents\" value=\"1\">";
	movieStr=movieStr+"<PARAM NAME=\"SendMouseMoveEvents\" value=\"-1\">";
	movieStr=movieStr+"<PARAM NAME=\"SendOpenStateChangeEvents\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"SendPlayStateChangeEvents\" value=\"1\">";
	movieStr=movieStr+"<PARAM NAME=\"Volume\" value=\"-60\">";
	movieStr=movieStr+"<PARAM NAME=\"SAMILang\">";
	movieStr=movieStr+"<PARAM NAME=\"SAMIStyle\">";
	movieStr=movieStr+"<PARAM NAME=\"SAMIFileName\">";
	movieStr=movieStr+"<PARAM NAME=\"SelectionStart\" value=\"-1\">";
	movieStr=movieStr+"<PARAM NAME=\"SelectionEnd\" value=\"-1\">";
	movieStr=movieStr+"<PARAM NAME=\"SendWarningEvents\" value=\"-1\">";
	movieStr=movieStr+"<PARAM NAME=\"SendErrorEvents\" value=\"-1\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowCaptioning\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowAudioControls\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowDisplay\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowGotoBar\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowStatusBar\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowTracker\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"TransparentAtStart\" value=\"-1\">";
	movieStr=movieStr+"<PARAM NAME=\"VideoBorderWidth\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"VideoBorderColor\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"VideoBorder3D\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"WindowlessVideo\" value=\"0\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowTracker\" VALUE=\"1\">";
	movieStr=movieStr+"<PARAM NAME=\"ShowCaptioning\" VALUE=\"0\"></object>";
	// µ¿¿µ»ó Ãâ·Â
	document.write(movieStr);

}

// png ie6.0 Ã³¸®
function setPng24(obj) { 
    obj.width=obj.height=1; 
    obj.className=obj.className.replace(/\bpng24\b/i,''); 
    obj.style.filter = 
    "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');" 
    obj.src='';  
    return ''; 
}


function flashmenu(n){

	if(n=='00'){
		location.href="/main.php";
	
	}else if(n=='01'){
		location.href="/profile.php?p_mbs=01-02";
	}else if(n=='02'){
		location.href="/zboard/zboard.php?id=media";
	}else if(n=='03'){
		location.href="/zboard/zboard.php?id=photo";
	}else if(n=='04'){
		location.href="/zboard/zboard.php?id=i_music";
	}else if(n=='05'){
		location.href="/zboard/zboard.php?id=i_link";
	
	}else if(n=='06_1'){
		location.href="/zboard/zboard.php?id=i_guest";
	}else if(n=='06_2'){
		//location.href="/board/index.php?p_mid=2";
	}else if(n=='06_3'){
		//location.href="/board/index.php?p_mid=3";

	}else if(n=='07_1'){
		location.href="/zboard/zboard.php?id=i_board";
	}else if(n=='07_2'){
		location.href="/zboard/zboard.php?id=i_text";
	
	}else if(n=='08'){
		location.href="/zboard/zboard.php?id=movie";
	}
}