function rolling1() { location.href = "../sub05/sub05_01.php"; }
function rolling2() { location.href = "../sub06/sub06_01.php"; }
function rolling3() { location.href = "../sub04/sub04_01.php"; }

function intro1() { location.href = "../sub05/sub05_01.php"; }
function intro2() { location.href = "../sub06/sub06_01.php"; }
function intro3() { location.href = "../sub04/sub04_01.php"; }
function intro4() { location.href = "../sub05/sub05_01.php"; }
function intro5() { location.href = "../sub06/sub06_01.php"; }
function intro6() { location.href = "../sub04/sub04_01.php"; }
function intro7() { location.href = "../sub05/sub05_01.php"; }
function intro8() { location.href = "../sub06/sub06_01.php"; }
function intro9() { location.href = "../sub04/sub04_01.php"; }



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; }
}
//·Ñ¿À¹ö

function mchangeimage(mimgsrc,iObj)
{ 
iObj.src=mimgsrc;
}
	
//¸µÅ©Å×µÎ¸® °¨Ãß±â
function autoBlur(){ 
  if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") 
  document.body.focus(); 
} 
  document.onfocusin=autoBlur; 

<!--·¹ÀÌ¾î ÀÌ¹ÌÁöÃ¢
function openimg(title,source){
    var imgElm=new Image();imgElm.src=source;
    var imageLayer=document.createElement("div");
    imageLayer.innerHTML="&nbsp;"+title;

    if(imgElm.complete){
        imageLayer.style.cssText="z-index;99999;position:absolute;top:"+(document.body.clientHeight-imgElm.height)/2+";left:"+(document.body.clientWidth-imgElm.width)/2+";width:"+imgElm.width+";height:"+imgElm.height+";cursor:hand;border:1px solid #666666;padding:4 4 4 4;font:normal 12px lucida console;color:white;background-color:#666666;";
    }else{
        imageLayer.style.cssText="z-index;99999;position:absolute;top:-4000;left:-4000;cursor:hand;border:1px solid #666666;padding:4 4 4 4;font:normal 12px lucida console;color:white;background-color:#666666;";
    }

    with(imageLayer.appendChild(document.createElement("div")))
    {
        style.cssText="padding:1 1 1 1;background-color:888888;";
        with(appendChild(document.createElement("div")))
        {
            style.cssText="padding:5;background-color:white;";
            with(appendChild(document.createElement("img")))
            {
                src=source;
                if(!imgElm.complete){
                    onload=function(){//resize
                        with(this.parentNode.parentNode.parentNode.style){
                            left=(document.body.clientWidth-this.width)/2;
                            top=(document.body.clientHeight-this.height)/2;
                            width=this.width;
                            height=this.height;
                        }
                    };//onload
                }

                onclick=function(){//remove
                    var win=this.parentNode.parentNode.parentNode;
                    win.parentNode.removeChild(win);
                };//onclick
            }//with
        }//with
    }//with
    document.body.appendChild(imageLayer);
}
//-->

//»óÅÂ¹Ù °¨Ãß±â

function hidestatus() 
{ 
window.status='' 
return true 
} 
if (document.layers) 
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) 
document.onmouseover=hidestatus 
document.onmouseout=hidestatus
function status_message()
{
window.status = "";
}
setInterval("status_message()",100)
 



    // ºê¶ó¿ìÀú¿¡¼­ ¿ÀºêÁ§Æ®ÀÇ ¿ÞÂÊ ÁÂÇ¥
    function get_left_pos(obj)
    {
        var parentObj = null;
        var clientObj = obj;
        //var left = obj.offsetLeft + document.body.clientLeft;
        var left = obj.offsetLeft;

        while((parentObj=clientObj.offsetParent) != null)
        {
            left = left + parentObj.offsetLeft;
            clientObj = parentObj;
        }

        return left;
    }

    // ºê¶ó¿ìÀú¿¡¼­ ¿ÀºêÁ§Æ®ÀÇ »ó´Ü ÁÂÇ¥
    function get_top_pos(obj)
    {
        var parentObj = null;
        var clientObj = obj;
        //var top = obj.offsetTop + document.body.clientTop;
        var top = obj.offsetTop;

        while((parentObj=clientObj.offsetParent) != null)
        {
            top = top + parentObj.offsetTop;
            clientObj = parentObj;
        }

        return top;
    }

    function flash_movie(src, ids, width, height, wmode)
    {
        var wh = "";
        if (parseInt(width) && parseInt(height)) 
            wh = " width='"+width+"' height='"+height+"' ";
        return "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' "+wh+" id="+ids+"><param name=wmode value="+wmode+"><param name=movie value="+src+"><param name=quality value=high><embed src="+src+" quality=high wmode="+wmode+" type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash' "+wh+"></embed></object>";
    }

    function obj_movie(src, ids, width, height, autostart)
    {
        var wh = "";
        if (parseInt(width) && parseInt(height)) 
            wh = " width='"+width+"' height='"+height+"' ";
        if (!autostart) autostart = false;
        return "<embed src='"+src+"' "+wh+" autostart='"+autostart+"'></embed>";
    }

    function obj_movie1(src, ids, width, height, autostart)
    {
        var wh = "";
        if (parseInt(width) && parseInt(height)) 
            wh = " width='"+width+"' height='"+height+"' ";
        if (!autostart) autostart = false;
        return "<embed id='"+ids+"' src='"+src+"' "+wh+" autostart='"+autostart+"' enablecontextmenu='false' ShowControls='0'></embed>";
    }
	
    function doc_write(cont)
    {
        document.write(cont);
    }
	
//¹«ºñ ÄÁÆ®·Ñ
function media_play(id) {
document.getElementById(id).play();
}
function media_stop(id){
document.getElementById(id).stop();
}
function media_pause(id){
document.getElementById(id).Pause();
}
/*
	»ç¿ë¿¹ : 
	<!--
	<script>doc_write(flash_movie("top_menu.swf", "_FLASH", 800, 100, "transparent"));</script>
	<script>doc_write(obj_movie1("mms://nhnext.hvod.nefficient.co.kr/nhnext/media/brandsearch/hanbiton/0512/granado-1.wmv", "musa", 240, 180, "true"));</script>
	//-->
<a href="#" OnClick="media_play('musa');">Àç»ý</a> 
<a href="#" OnClick="media_stop('musa');">Á¤Áö</a>
<a href="#" OnClick="media_pause('musa');">ÀÏ½ÃÁ¤Áö</a>
*/
function swf(src,w,h){
	var flashStr=
	"<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+"'>"+
	"<param name='movie' value='"+src+"' />"+
	"<param name='quality' value='high' />"+
	"<param name='bgcolor' value='#ffffff' />"+
	"<param name='menu' value='false' />"+
	"<PARAM NAME='wmode' VALUE='transparent' />"+
	"<param name='swliveconnect' value='true' />"+
	"<embed src='"+src+"' 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' />"+
	"</object>";
	document.write(flashStr);
}

function swf_w(src,w,h){
	var flashStr=
	"<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+"'>"+
	"<param name='movie' value='"+src+"' />"+
	"<param name='quality' value='high' />"+
	"<param name='bgcolor' value='#ffffff' />"+
	"<param name='menu' value='false' />"+
	"<PARAM NAME='wmode' VALUE='transparent' />"+
	"<param name='swliveconnect' value='true' />"+
	"<embed src='"+src+"' 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' />"+
	"</object>";
	document.write(flashStr);
}

function swf_title(src,w,h,title){
	var flashStr=
	"<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+"'>"+
	"<param name='movie' value='"+src+"' />"+
	"<param name='quality' value='high' />"+
	"<param name='FlashVars' value='tq="+title+"' />"+
	"<param name='bgcolor' value='#ffffff' />"+
	"<param name='menu' value='false' />"+
	"<PARAM NAME='wmode' VALUE='transparent' />"+
	"<param name='swliveconnect' value='true' />"+
	"<embed src='"+src+"' quality=high bgcolor='#ffffff' menu='false' width='"+w+"' height='"+h+"' swliveconnect='true' id='param' name='param' FlashVars='tq="+title+"' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";
	document.write(flashStr);
}


// ·¹ÀÌ¾î ºä ½ºÅ©¸³Æ®
var iDelay = 50 // Delay to hide in milliseconds
var iNSWidth=130 // Default width for netscape
var sDisplayTimer = null, oLastItem

function getRealPosition(i,which) {
	iPos = 0
	while (i!=null) {
	 	iPos += i["offset" + which]
		i = i.offsetParent
	}
	return iPos
}
function showLayers(sDest,itop,ileft,iWidth) {
	if (document.all!=null) {
		var i = window.event.srcElement
		stopTimer()
		dest = document.all[sDest]
		if ((oLastItem!=null) && (oLastItem!=dest))
			hideItem()
		if (dest) {
			// Netscape Hack
			if (i.offsetWidth==0) 
				if (iWidth)
					i.offsetWidth=iWidth
				else
					i.offsetWidth=iNSWidth;
			if (ileft) 
				dest.style.pixelLeft = ileft
			else
			dest.style.pixelLeft = getRealPosition(i,"Left") + -33 // ºÒ·¯¿À´Â ·¹ÀÌ¾î left °ª, Å¬¼ö·Ï ¿À¸¥ÂÊÀ¸·Î

			if (itop)
				dest.style.pixelTop = itop
			else
			   	dest.style.pixelTop = getRealPosition(i,"Top") + 26 // ºÒ·¯¿À´Â ·¹ÀÌ¾î top °ª, Å¬¼ö·Ï ¾Æ·¡·Î
			dest.style.display = "block"
		}
		oLastItem = dest
	}
}
function stopTimer() {
	clearTimeout(sDisplayTimer)
}

function startTimer(el) {
	if (!el.contains(event.toElement)) {
		stopTimer()
		sDisplayTimer = setTimeout("hideItem()",iDelay)
	}
}

function hideItem() {
	if (oLastItem)
		oLastItem.style.display="none"
}

function checkOver() {
	if ((oLastItem) && (oLastItem.contains(event.srcElement))) {
		stopTimer()
	}
}

function checkOut() {
	if (oLastItem==event.srcElement)
		startTimer(event.srcElement)
}

document.onmouseover = checkOver
document.onmouseout = checkOut

function urlgo(url){
opener.document.location.href=url;
//window.close();
}
