
function flashWrite(url,w,h,id,bg,vars,win){
 var flashStr= 
 "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='" + document.location.protocol + "//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+"' />"+
 "<param name='base' value='.'>"+
 
 "<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='" + document.location.protocol + "//www.macromedia.com/go/etflashplayer' />"+
 "</object>";

 document.write(flashStr);
 }
 
 //·¹ÀÌ¾î º¸ÀÌ°í ¼û±â±â
function show(div) {
	div.style.display = 'block';
}
function hide(div) {
	div.style.display = 'none';
}


//DIV ÅÇ¸Þ´º1
function DisplayMenu1st(index1,s_index1,e_index1) {
		for (i=s_index1; i<=e_index1; i++)
			if (index1 == i) {
				thisMenu = eval("menu1st" + index1 + ".style");
				thisMenu.display = "";
			} 
			else {
				otherMenu = eval("menu1st" + i + ".style"); 
				otherMenu.display = "none"; 
			}
		}

//DIV ÅÇ¸Þ´º2
function DisplayMenu2nd(index2,s_index2,e_index2) {
		for (j=s_index2; j<=e_index2; j++)
			if (index2 == j) {
				thisMenu = eval("menu2nd" + index2 + ".style");
				thisMenu.display = "";
			} 
			else {
				otherMenu = eval("menu2nd" + j + ".style"); 
				otherMenu.display = "none"; 
			}
		}


