// flash(ÆÄÀÏÁÖ¼Ò, °¡·Î, ¼¼·Î, ¹è°æ»ö, À©µµ¿ì¸ðµå, º¯¼ö, °æ·Î)
function flash(url,w,h,vars){
	var s=
	"<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+"' align='middle'>"+
	"<param name='movie' value='"+url+"' />"+
	"<param name='wmode' value='transparent' />"+
	"<param name='menu' value='false' />"+
	"<param name='quality' value='high' />"+
	"<param name='FlashVars' value='"+vars+"' />"+
	"<param name='bgcolor' value='.' />"+
	"<param name='base' value='.' />"+
	"<embed src='"+url+"' base='.' wmode='transparent' menu='false' quality='high' bgcolor='.' width='"+w+"' height='"+h+"' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";
	document.write(s);
}

// ¸¶¿ì½ºÁ¦ÇÑ
if (window.Event) // ³Ý½ºÄÉÀÌÇÁ¿¡¼­¸¸ ´ë¹®ÀÚ E.
  document.captureEvents(Event.MOUSEUP); // mouse up ÀÌº¥Æ®¸¦ ÀâÀ½

function nocontextmenu() {   // IE
   event.cancelBubble = true
   event.returnValue = false;
   return false;
}

document.oncontextmenu = nocontextmenu;

//ÇÁ·ÎÇÊ»ó¼¼º¸±âÆË¾÷
function profile() {
w = 610;
h = 500;

LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; 
TopPosition = (screen.height) ? (screen.height-h)/2 : 0; 
settings = 'width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,resizable=no';

window.open("profile.php","name",settings)
}

function warning(){
	alert("ÁØºñÁß ÀÔ´Ï´Ù.")
}