 function MM_controlSound(x, _sndObj, sndFile) { //v3.0

  var i, method = "", sndObj = eval(_sndObj);

  if (sndObj != null) {

    if (navigator.appName == 'Netscape') method = "play";

    else {

      if (window.MM_WMP == null) {

        window.MM_WMP = false;

        for(i in sndObj) if (i == "ActiveMovie") {

          window.MM_WMP = true; break;

      } }

      if (window.MM_WMP) method = "play";

      else if (sndObj.FileName) method = "run";

  } }

  if (method) eval(_sndObj+"."+method+"()");

  else window.location = sndFile;

}

<!--»õ Ã¢ ¶ç¿ì±â
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

<!--ÆË¾÷¸Þ¼¼Áö
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
//-->

// Ä¿ÀúÀÇ »öÀ» ¹ÝÀüÇÏ´Â function

var old_bgcolor="";

function toggle_bgcolor(src) {   

    var new_bgcolor="#f0f0f0";

    if (src.bgColor != new_bgcolor) old_bgcolor=src.bgColor;

    src.bgColor=(src.bgColor == new_bgcolor)? old_bgcolor : new_bgcolor;

}



if (document.images) {

            img1on = new Image();

            img1on.src = "";

            img2on = new Image();

            img2on.src = "";

            img3on = new Image();

            img3on.src = "";

            img4on = new Image();                                                  

            img4on.src = "";

            img5on = new Image();                                                   

            img5on.src = "";

            img6on = new Image();                                                  

            img6on.src = "";

            img7on = new Image();                                                  

            img7on.src = "";

            img8on = new Image();                                                  

            img8on.src = "";

            img9on = new Image();                                                  

            img9on.src = "";

            



            img1off = new Image();

            img1off.src = "";

            img2off = new Image();                                               

            img2off.src = "";

            img3off = new Image();                                               

            img3off.src = "";

            img4off = new Image();                                                      

            img4off.src = "";

            img5off = new Image();                                                      

            img5off.src = "";

            img6off = new Image();                                                      

            img6off.src = "";

            img7off = new Image();                                                      

            img7off.src = "";

            img8off = new Image();                                                      

            img8off.src = "";

            img9off = new Image();                                                      

            img9off.src = "";

        }



function imgOn(imgName) {

        if (document.images) {

            document[imgName].src = eval(imgName + "on.src");

        }

}

function imgOff(imgName) {

        if (document.images) {

            document[imgName].src = eval(imgName + "off.src");

	}

}

function popWindow(theURL,winName,features) { //v1.0

  window.open(theURL,winName,features);

}

function mOvr(src,clrOver) {

	if (!src.contains(event.fromElement)) {

		src.style.cursor = 'hand'; 

		src.bgColor = clrOver;

	}

}

function mOut(src,clrIn){

	if (!src.contains(event.toElement)){

		src.style.cursor = 'default';

		src.bgColor = clrIn;

	}

}

function mClk(src){

	if(event.srcElement.tagName=='TD'){

		src.children.tags('A')[0].click();

	}

}

function mSelectOvr(src,clrOver) {

	if (!src.contains(event.fromElement)) {

		src.style.cursor = 'hand'; 

		src.bgColor = clrOver;

	}

}

function mSelectOut(src,clrIn){

	if (!src.contains(event.toElement)){

		src.style.cursor = 'default';

		src.bgColor = clrIn;

	}

}

function mSelectClk(src){

	if(event.srcElement.tagName=='TD'){

		src.children.tags('A')[0].click();

	}

}

function setCookie(name, value) {

	document.cookie = name + "=" + escape(value);

}

function reload() {

	if (document.cookie.length > 0) {

		var inx = document.cookie.indexOf("popup");

		if (inx != -1) {

			return;

		}

		else {

			setCookie("popup", "true");

			

		}

	}

	else {

		setCookie("popup", "true");

		

	}

}

