function flashWrite(url,w,h,id,bg,vars,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='allowScriptAccess' value='always' />"+
        "<param name='movie' value='"+url+"' />"+
        "<param name='FlashVars' value='"+vars+"' />"+
        "<param name='wmode' value='"+win+"' />"+
        "<param name='menu' value='false' />"+
        "<param name='quality' value='high' />"+
        "<param name='bgcolor' value='"+bg+"' />"+
        "<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
        "</object>";
        document.write(flashStr);

}


/****** menu ¸µÅ© *****************/
function menu1() { location.href = "/intro/intro01.php"; }
function menu2() { location.href = "/learning/learning01.php"; }
function menu3() { location.href = "/treatise/treatise01.php"; }
function menu4() { location.href = "/memoir/memoir03.php";}
function menu5() { location.href = "/board/notice.php";}
function menu6() { location.href = "/private/board01.php";}



/******* ÇÐÈ¸¼Ò°³ ¸µÅ© *****************/
function menu1sub1() { location.href = "/intro/intro01.php"; }
function menu1sub2() { location.href = "/intro/intro02.php"; }
function menu1sub3() { location.href = "/intro/intro03.php"; }
function menu1sub4() { location.href = "/intro/intro04.php"; }
function menu1sub5() { location.href = "/intro/intro05.php"; }
function menu1sub6() { location.href = "/intro/intro06.php"; }
function menu1sub7() { location.href = "/intro/intro07.php"; }
function menu1sub8() { location.href = "/intro/intro08.php"; }


/******* ÇÐ¼úÈ°µ¿ ¸µÅ© *****************/
function menu2sub1() { location.href = "/learning/learning01.php"; }
function menu2sub2() { location.href = "/learning/learning02.php"; }
function menu2sub3() { location.href = "/learning/learning03.php"; }



/******* ³í¹®Åõ°í ¸µÅ© *****************/
function menu3sub1() { location.href = "/treatise/treatise01.php"; }
function menu3sub2() { location.href = "/treatise/treatise02.php"; }
function menu3sub3() { location.href = "/treatise/treatise03.php"; }
function menu3sub4() { location.href = "/treatise/treatise04.php"; }
function menu3sub5() { location.href = "/treatise/treatise05.php"; }


/******* ÇÐÈ¸Áö ¸µÅ© *****************/
function menu4sub1() { location.href = "/memoir/memoir03.php"; }
function menu4sub2() { location.href = "/memoir/memoir12.php"; }
function menu4sub3() { location.href = "/memoir/memoir13.php"; }
function menu4sub4() { location.href = "/memoir/memoir14.php"; }



/******* °Ô½ÃÆÇ ¸µÅ© *****************/
function menu5sub1() { location.href = "/board/notice.php"; }
function menu5sub2() { location.href = "/board/news.php"; }


/******* È¸¿øÀü¿ë ¸µÅ© *****************/
function menu6sub1() { location.href = "/private/board01.php"; }
function menu6sub2() { location.href = "/private/board02.php"; }
function menu6sub3() { location.href = "/private/board03.php"; }
function menu6sub4() { location.href = "/club/"; }
function menu6sub5() { location.href = "/private/site10.php"; }
function menu6sub6() { location.href = "/private/site02.php"; }


/******* »çÀÌÆ®¸Ê ¸µÅ© *****************/
function menu7sub1() { location.href = "/sitemap.php"; }


/******* È¸¿øÀü¿ë ¸µÅ© *****************/
function menu8sub1() { location.href = "/member/login.php"; }
function menu8sub2() { location.href = "/member/join.php"; }
function menu8sub3() { location.href = "/member/find.php"; }


/******* È¸¿øÀü¿ë ¸µÅ© *****************/
function menu9sub1() { location.href = "/member/modify.php"; }
function menu9sub2() { location.href = "/member/logout.php"; }


function eScrollling() {	
	/*********************************
	 * eScrollling ( eNamoo scroll script )
	 * by mirrh
	 * 2006.07.16
	 ********************************/
	
	var thisObj = this;
	this.timeObj = null;
	
	/*** ¼³Á¤º¯¼ö ***/
	this.mode = "top";				// ½ºÅ©·Ñ ¹æÇâ (top|left)
	this.width = "100%";			// ¶óÀÎ´ç °¡·Î°ª (pixel)
	this.height = 20;				// ¶óÀÎ´ç ³ôÀÌ°ª (pixel)
	this.line = 1;					// Ãâ·Â ¶óÀÎ¼ö
	this.delay = 50;				// ½ºÅ©·ÑÈÄ µô·¹ÀÌ ½Ã°£
	this.speed = 1;					// ½ºÅ©·Ñ ¼Óµµ (ÀÛÀ»¼ö·Ï ºü¸§)
	this.id = 'obj_eScrollling';		// °´Ã¼ id (Å¬·¡½º ´ÙÁß »ç¿ë½Ã id ´Ù¸£°Ô ÁöÁ¤ ¿ä¸Á)
	this.contents = new Array();	// Ãâ·Â ³»¿ë (¹è¿­·Î ³»¿ë ÁöÁ¤ ¿ä¸Á)
	this.align = "left";			// ³»¿ë aligne
	this.valign = "middle";			// ³»¿ë valigne

	/*** ³»Àåº¯¼ö ***/
	this.gap = 0;
	this.direction = 1;

	this.add = add;
	this.exec = exec;
	this.start = start;
	this.stop = stop;
	this.scroll = scroll;
	this.direct = direct;
	this.go = go;

	function add(str)
	{
		this.contents[this.contents.length] = str;
	}
	
	function exec()
	{
		this.basis = (this.mode == "left") ? this.width : this.height;
		var outWidth = this.width * ((this.mode == "left") ? this.line : 1);
		var outHeight = this.height * ((this.mode == "top") ? this.line : 1);
		
		var outline = "<div id=" + this.id + " style='overflow:hidden;width:" + outWidth + ";height:" + outHeight + "'><table></table></div>";
		document.write(outline);
		this.obj = document.getElementById(this.id);
		
		var tb = this.obj.appendChild(document.createElement("table"));
		var tbody = tb.appendChild(document.createElement("tbody"));
		tb.cellPadding = 0 ;
		tb.cellSpacing = 0 ;
		tb.onmouseover = function(){thisObj.stop()};
		tb.onmouseout = function(){thisObj.start()};
		
		if (this.mode=="left") var tr = tbody.appendChild(document.createElement("tr"));
		for (k in this.contents){
			if (this.mode=="top") var tr = tbody.appendChild(document.createElement("tr"));
			var td = tr.appendChild(document.createElement("td"));
			td.noWrap = true;
			td.style.width = this.width;
			td.style.height = this.height;
			td.style.textAlign = this.align;
			td.style.verticalAlign = this.valign;
			td.innerHTML = this.contents[k];
		}
		
		var len = (this.contents.length<this.line) ? this.contents.length : this.line;
		for (i=0;i<len;i++){
			if (this.mode=="top") var tr = tbody.appendChild(document.createElement("tr"));
			td = tr.appendChild(document.createElement("td"));
			td.noWrap = true;
			td.style.width = this.width;
			td.style.height = this.height;
			td.style.textAlign = this.align;
			td.style.verticalAlign = this.valign;
			td.innerHTML = this.contents[i];
		}

		this.obj.parent = this;
		this.tpoint = this.basis * this.contents.length;
		this.start();
	}

	function scroll() {
		var out = (this.mode=="left") ? this.obj.scrollLeft : this.obj.scrollTop;
		if (out%this.basis==0){
			this.gap++;
			if (this.gap>=this.delay) this.gap = 0;
		}
		if (!this.gap){
			var ret = (out==this.tpoint) ? this.direction : out + this.direction;
			if (ret<0) ret = this.tpoint + ret;
			if (this.mode=="left") this.obj.scrollLeft = ret;
			else this.obj.scrollTop = ret;
		}
	}

	function start() {
		this.timeObj = window.setInterval("(document.getElementById('" + this.id + "')).parent.scroll()",this.speed);
	}

	function stop()
	{
		clearTimeout(this.timeObj);
	}

	function direct(d)
	{
		this.direction = d;
	}

	function go()
	{
		this.stop();
		var out = (this.mode=="left") ? this.obj.scrollLeft : this.obj.scrollTop;
		var ret = (parseInt(out / this.basis) + this.direction) * this.basis;
		if (ret<0) ret = this.tpoint + ret;
		if (ret>this.tpoint) ret = this.basis;
		if (this.mode=="left") this.obj.scrollLeft = ret;
		else this.obj.scrollTop = ret;
	}

}
function OutImg(name)  {
	var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? 'document.'+name : 'document.all.'+name);
			
	if (name == '')	return;
	if (img && img.altsrc) {
		img.src    = img.altsrc;
		img.altsrc = null;
	}
}

function OverImg(name, rpath)  {
	var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? 'document.'+name : 'document.all.'+name);

	if (name == '') return;
	if (img) {
		img.altsrc = img.src;
		img.src    = rpath;
	}
}
