

//#########################################
//################Flash 로드용 함수(2)###############
//#########################################

function printFlash(flashID, flashURL, flashWIDTH, flashHEIGHT, flashWmode) {
	if ( !flashWmode || flashWmode == 'y' ) {
		flashWmode = 'transparent';
	} else if ( flashWmode == 'n' ) {
		flashWmode = 'opaque';
	}
	flashURL = flashDir+flashURL;

	document.writeln ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+flashWIDTH+'" height="'+flashHEIGHT+'" id="'+flashID+'">');
	document.writeln ('<param name="movie" value="'+flashURL+'">');
	document.writeln ('<param name="wmode" value="'+flashWmode+'">');
	document.writeln ('<param name="menu" value="false">');
	document.writeln ('<param name="loop" value="true">');
	document.writeln ('<param name="quality" value="high">');
	document.writeln ('<embed src="'+flashURL+'" loop="true" wmode="'+flashWmode+'" menu="false" quality="high" swLiveConnect="false" width="'+flashWIDTH+'" height="'+flashHEIGHT+'" TYPE="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>');
	document.writeln ('</object>');
}




//########################
//#######팝업창 띄우기#########
//########################

function open_window(name, url, left, top, width, height, toolbar, menubar, 
statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
} 



//#######################################
//###########롤오버 최근게시물 기능##############
//#######################################

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}




//#########################################
//##############가입약관동의###################
//#########################################

