/***************************************************************************************************/
// »ç¿ë¿¹½Ã //

//<A HREF="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('°´Ã¼¸í','','ÇÇÀÏ°æ·ÎÀÌ¸§',1);"><IMG SRC="img/topmenu01.gif" WIDTH="87" HEIGHT="26" name=°´Ã¼¸í></A>

/***************************************************************************************************/
// µå¸²À§¹ö±âº» //

function getflash(URL,wid,hei,mode,LT) 
{
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+wid+"' height='"+hei+"'>");
document.write("<param name='movie' value='"+URL+"'>");
document.write("<param name='quality' value='high'>");
document.write("<param name='WMODE' value='"+mode+"'>");
document.write("<param name='salign' value='"+LT+"'>");
document.write("<embed src='"+URL+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+wid+"' height='"+hei+"'></embed>");
document.write("</object>");
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v3.0
  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); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_showHideLayers() { //v3.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 MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

/***************************************************************************************************/
// myshin JavaScript v2005.12.28 //

// ÆË¾÷
function openWin(url,wn,sc,ww,wh,le,to) {
 window.open(url,wn,"'" + "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=" + sc + ",resizable=yes,width=" + ww + " ,height=" + wh + ",left=" + le + ",top=" + to + "'");
}
// ÆË¾÷¸ð´ÏÅÍÁß¾Ó
function popMid(url,wn,ww,wh,sc) {
 le = (screen.width-ww)/2;
 to = (screen.height-wh)/2;
 window.open(url,wn,"'" + "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=" + sc + ",resizable=yes,width=" + ww + " ,height=" + wh + ",left=" + le + ",top=" + to + "'");
}
// º¸ÀÌ±â°¨Ãß±â
function displayOn(a) {
obj = eval("document.all." + a);
if (obj) { obj.style.display = "block"; }
}
function displayOff(a) {
obj = eval("document.all." + a);
if (obj) { obj.style.display = "none"; }
}
/***************************************************************************************************/
// iacts JavaScript //

// ÇÁ¸°Æ®½ºÅ©¸³Æ®
function contentPrint() {
  var windowLeft = (screen.width-640)/2;
  var windowTop = (screen.height-480)/2;
  var printURL = "../inc/printpage.html";
   window.open(printURL,"content",'width=722, height=564, menubar=yes, scrollbars=yes,status=no,resizable=yes,top=' + windowTop + ',left=' + windowLeft + '');
}

/***************************************************************************************************/
// Menu //
function c0000() { location.href="../main/index.html" }
function c0001() { location.href="../main/sitemap.html" }
function c0002() { location.href="mailto:webmaster@yangsan.ac.kr" }

function c0100() { location.href="../about/01.html" }
function c0101() { location.href="../about/01.html" }
function c0102() { location.href="../about/02.html" }
function c0103() { location.href="../about/03.html" }
function c0104() { location.href="../about/04.html" }
function c0105() { location.href="../about/05.html" }
//Ä·ÆÛ½º¸Ê ¸µÅ©
function c0106() { window.open("../about/campus_tour.html","","Fullscreen=yes,type=Fullwindow,scrollbars=0"); }
function c0107() { location.href="../about/07.html" }

function c0200() { location.href="../admission/01.html" }
function c0201() { location.href="../admission/01.html" }
function c0202() { location.href="../admission/02.html" }

function c0300() { location.href="../department/01.html" }

function c0400() { location.href="../exchange/01.html" }
function c0401() { location.href="../exchange/01.html" }
function c0402() { location.href="../exchange/02.html" }
function c0403() { location.href="../exchange/03.html" }

function c0500() { location.href="../organization/01.html" }
function c0501() { location.href="../organization/01.html" }
function c0502() { location.href="../organization/02.html" }
function c0503() { location.href="../organization/03.html" }
function c0504() { location.href="../organization/04.html" }
function c0505() { location.href="../organization/05.html" }
function c0506() { location.href="../organization/06.html" }
function c0507() { location.href="../photo/list.php" }
