
//ÇÃ·¡½¬ °ü·Ã½ºÅ©¸³Æ®

function swfprint(furl,fwidth,fheight,transoption,id_name)	{
	var id_names = "main_flash";
	if(typeof(id_name) != 'undefined') id_names = id_name;
	
	document.write('<object id="'+id_names+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+ fwidth +'" height="' + fheight +'" align="middle">');
	document.write('<param name="movie" value="'+ furl +'"/>');
	document.write('<param name="allowScriptAccess" value="always" />');

	if (transoption == "t")	{
		document.write('<param name="wmode" value="transparent"/>');
	} else if	(transoption == "o")	{
		document.write('<param name="wmode" value="opaque"/>');
	}

	document.write('<!-- Hixie method -->');
	document.write('<!--[if !IE]> <-->');
	document.write('<object type="application/x-shockwave-flash" data="'+ furl +'" width="'+ fwidth +'" height="' + fheight +'"');
	if (transoption == "t")	{
		document.write(' wmode="transparent"');
	} else if	(transoption == "o")	{
		document.write(' wmode="opaque"');
	}
	document.write('></object>');
	document.write('<!--> <![endif]-->');
	document.write('</object>');

	if(id_names=="top_flash"){
		//window.onload = fn_resize_top_flash;
		window.attachEvent("onload", fn_resize_top_flash)
		window.onresize = fn_resize_top_flash;
	}
}






// ·¹ÀÌ¾î°ü·Ã ½ºÅ©¸³Æ®

function show(n) {
		var tg1 = (document.all.dck_as);

		
	if (tg1.length != undefined){
		if(tg1.length > 0){
			for (var i = 0; i  < tg1.length; i++) {
			if(i == n){ 
				if (tg1[i].style.display == "block") {
				tg1[i].style.display = "none";
					} 
				else {
					tg1[i].style.display = "block";
					}
				}
			else{
			tg1[i].style.display = "none";
			}

			}
		}
	}else {
				if (tg1.style.display == "block") {
				tg1.style.display = "none";
					} 
				else {
					tg1.style.display = "block";
					}
				}



	}


//ÆË¾÷°ü·Ã½ºÅ©¸³Æ®

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

