/********************************************************************************************************
	Site Link
********************************************************************************************************/

/*»õÃ¢À¸·Î¶ã °æ¿ì*/
//function main_act01(){ //
//	window.open('http://www.naver.com','','');
//}

/*About HK*******************************************************************************************************/

function main_act01(){ //About HK
	location.href = ("/abouthk/hk_information.php");
}

function act01_s01(){ //About HK-Material on HK
	location.href = ("/abouthk/hk_information.php");

}
function act01_s02(){ //About HK-Material on HK
	location.href = ("/notice_s/notice_s.php?b_idx=about&mm=1&ss=1");
}


/*Neo-Renaissance*******************************************************************************************************/

function main_act02(){ //Neo-Renaissance
	location.href = ("/renaissance/tif_information.html");
}
function act02_s01(){ //Neo-Renaissance-TIF Symposium
	location.href = ("/renaissance/tif_information.html");
}

function act02_s02(){ //Neo-Renaissance-TIF Forum
	location.href = ("/material_s/material_s.php?b_idx=forum&mm=2&ss=2");
}

function act02_s03(){ //Neo-Renaissance-TIF Symposium
	location.href = ("/material_s/material_s.php?b_idx=symposium&mm=2&ss=3");
}

function act02_s04(){ //Neo-Renaissance-Techno Seminar
	location.href = ("/material_s/material_s.php?b_idx=seminar&mm=2&ss=4");
}

function act02_s05(){ //Neo-Renaissance-TIF  Culture Series
	location.href = ("/material_s/material_s.php?b_idx=culture&mm=2&ss=5");
	//window.open('http://hk.yonsei.ac.kr','','');
}


/*News & Notice*******************************************************************************************************/

function main_act03(){ //News & Notice
	location.href = ("/notice_s/notice_s.php?b_idx=notice&mm=3");
}
function act03_s01(){ //Neo-Renaissance-TIF Symposium
	location.href = ("/notice_s/notice_s.php?b_idx=notice&mm=3&ss=1");
}

function act03_s02(){ //Neo-Renaissance-TIF Forum
	location.href = ("/notice_s/notice_s.php?b_idx=Newsletter&mm=3&ss=2");
}

/*Material*******************************************************************************************************/

function main_act04(){ //Material
	location.href = ("/material_s/material_s.php?b_idx=material&mm=4");
}

/*About US*******************************************************************************************************/
function main_act05(){ //About US
	alert('ÁØºñÁßÀÔ´Ï´Ù.');
}

function act05_s01(){ //Neo-Renaissance-TIF Symposium
	alert('ÁØºñÁßÀÔ´Ï´Ù.');
}

function act05_s02(){ //Neo-Renaissance-TIF Symposium
	location.href = ("/aboutus/persons.html");
}

	function act05_s01_01(){ //Neo-Renaissance-TIF Symposium
		location.href = ("/aboutus/persons.html");
	}
	function act05_s01_02(){ //Neo-Renaissance-TIF Symposium
		location.href = ("/aboutus/persons01.html");
	}
	function act05_s01_03(){ //Neo-Renaissance-TIF Symposium
		location.href = ("/aboutus/persons02.html");
	}
	function act05_s01_04(){ //Neo-Renaissance-TIF Symposium
		location.href = ("/aboutus/persons03.html");
	}
	function act05_s01_05(){ //Neo-Renaissance-TIF Symposium
		location.href = ("/aboutus/persons04.html");
	}
	function act05_s01_06(){ //Neo-Renaissance-TIF Symposium
		location.href = ("/aboutus/persons05.html");
	}
	function act05_s01_07(){ //Neo-Renaissance-TIF Symposium
		location.href = ("/aboutus/persons06.html");
	}

function act05_s03(){ //Neo-Renaissance-TIF Seminar
	location.href = ("/aboutus/contactus.html");
}

/*Utility_¸Þ´º*******************************************************************************************************/

function act_home(){ //È¨&·Î°í
	location.href = ("/");
}

function act_login(){ //·Î±×ÀÎ
//	location.href = ("/");
	window.open('/member/login.php','','toolbar=no,width=500,height=320,left=50,top=50, screenX=50,screenY=50,status=no,scrollbars=no, resize=no');
}

function act_logout(){ //·Î±×¾Æ¿ô
	location.href = ("/member/logout.php");
}

function act_regist(){ //È¸¿ø°¡ÀÔ
	location.href = ("/member/registration.php");
}

function act_profile(){ //È¸¿øÁ¤º¸¼öÁ¤
	location.href = ("/member/profile.php");
}

function act_research(){ //¿¬±¸ÀÚ È¨
	//location.href = ("/study/login.php");
	window.open('/manager/login.php','','');
}

function act_admin(){ //°ü¸®ÀÚ È¨
//	location.href = ("/admin/login.php");
	window.open('/manager/login.php','','');
}

function act_english(){ //¿µ¾î
	location.href = ("/eng/index.php");
}

function act_korean(){ //ÇÑ±¹¾î
	location.href = ("/");
}

function act_sitemap(){ //»çÀÌÆ®¸Ê
	location.href = ("/sitemap/sitemap.php");
}


/*°ü·Ã»çÀÌÆ®*******************************************************************************************************/

function act_dbsearch(){ //DB°Ë»ö
	location.href = ("/TIF_DB/index.php");
}

function act_ima(){ //¹Ìµð¾î¾ÆÆ®¿¬±¸¼Ò
	//location.href = ("/");
	window.open('http://ima.yonsei.ac.kr','','');
}

function act_yonsei(){ //¿¬¼¼´ëÇÐ±³
	//location.href = ("/");
	window.open('http://www.yonsei.ac.kr','','');
}

function act_krf(){ //ÇÑ±¹ÇÐ¼úÁøÈï¿ø
	//location.href = ("/");
	window.open('http://www.nrf.go.kr/htm/main/main.jsp','','');
}



/*¸Þ´º&¾Ö´Ï ******************************************************************************************************************/
function imaSwf(src,ms,w,h)
{
	//param : ms
	//value	: m=1&s=1
	//param : w,h
	//value : ³ôÀÌ³ÐÀÌ°ª
	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=\""+w+"\" height=\""+h+"\">");
	document.write("<param name=\"movie\" value=\""+src+"\">");
	document.write("<param name=\"quality\" value=\"high\">");
	document.write("<param name=\"wmode\" value=\"transparent\">");
	document.write("<param name=\"menu\" value=\"false\">");
	document.writeln("<param name=\"FlashVars\" VALUE=\""+ms+"\">");
	document.write("<embed src=\""+src+"\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+w+"\" height=\""+h+"\"></embed>");
	document.write("</object>");	
}

function swf(url_root, w, h){
   	  document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' \n"
      +" codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' \n"
      +" width='"+w+"' Height='"+h+"'> \n"
      +"<param name='movie' value='"+url_root+"'>\n"
      +"<param name='quality' value='high'>\n"
      +"<param name='allowScriptAccess' value='always' />"
      +"<param name='wmode' value='transparent'>\n"
      +"<embed src='"+url_root+"' "
      +" wmode='transparent' quality='high' width='"+w+"' height='"+h+"' "
      +" type='application/x-shockwave-flash'  allowScriptAccess='always' "
      +" pluginspage='http://www.macromedia.com/shockwav/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>\n"
      +"</embed></object>\n");
}

