
///////////////////////////// flash //////////////////////////////////////
function flash(swf,w,h){
 html = '';
 html = '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="param" width="'+w+'" height="'+h+'">';
 html += '<param name="movie" value="'+swf+'">';
 html += '<param name="quality" value="high">';
 html += '<param name="bgcolor" value="#ffffff">';
 html += '<param name="menu" value="false">';
 html += '<param name="swliveconnect" value="true">';
 html += '<param name="wmode" value="transparent">';
 html += '<embed src="'+swf+'" quality=high bgcolor="#ffffff" menu="false" width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
 html += '<\/object>';
 document.write(html);
}
  
///////////////////////////// Link Á¡¼±¾ø¾Ö±â ///////////////////////////////
function bluring(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
} 
document.onfocusin=bluring;

///////////////////////////// notice ///////////////////////////////
function tabmenuProcess(idx, imgName, onValue)
{
	for(var i = 1; i <= 2; i++)
	{
		if(idx == i)
		{
			document.getElementById('img_'+i).src = 'image/' + imgName + '' + i + '' + onValue + '.gif';
		} else {
			document.getElementById('img_'+i).src = 'image/' + imgName + '' + i + '.gif';
		}
	}
}
var tmpLayer1	= ""
function showLayer1(idx)
{
	if(tmpLayer1 == "")
		{
			document.getElementById('contents1_'+idx).style.display = 'inline';
			tmpLayer1 = idx;
		} else {
			if (tmpLayer1 == idx)
			{
				 document.getElementById('contents1_'+idx).style.display = 'inline';
				 tmpLayer1 = idx;
			}
			else {
				document.getElementById('contents1_'+tmpLayer1).style.display = 'none';
				document.getElementById('contents1_'+idx).style.display = 'inline';
				tmpLayer1 = idx;
			}
		}
}
