// Flash Activating Script

// s: source url
// d: flash id
// w: source width
// h: source height
// t: wmode ("" for none, transparent, opaque ...)
function mf(s,d,w,h,t){
        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\" id="+d+" width="+w+" height="+h+" wmode="+t+" ><param name=movie value="+s+" /><param name=quality value=high /><param name=wmode value="+t+" ><embed src="+s+" quality=high wmode="+t+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+w+" height="+h+"></embed></object>";
}

// write document contents
function documentwrite(src){
        document.write(src);
}

// assign code innerHTML
function setcode(target, code){
        target.innerHTML = code;
}

//¸Þ´º ÇöÀçÀ§Ä¡Ç¥½Ã
IEx = navigator.appName.indexOf("Microsoft") != -1; 

function trace(n) 
{ 
    flashObj = IEx ? Fmovie : document.Fmovie; 
    flashObj.TGotoFrame("_root",n) 
	
}


//Äü¸Þ´º ¸µÅ©
function quick_link(num) 
{ 
		if(num=="1")
		{
			window.open("http://ipsi.ycc.ac.kr/","quick");
		}else if(num=="2")
		{
			window.open("http://ipsi.ycc.ac.kr/jsp/ipsi/talk/talk_09.jsp","quick");
		}else if(num=="3")
		{
			window.open("http://ipsi.ycc.ac.kr/jsp/ipsi/form/form_02.jsp","quick");
		}else if(num=="4")
		{
			window.open("http://cafe.ycc.ac.kr/uni_club/uniclub_default.jsp","quick");
		}else if(num=="6")
		{
			window.open("http://mentor.ycc.ac.kr/ins/index.jsp ","quick");
		}else if(num=="5")
		{
			window.open("http://edu.ycc.ac.kr/","quick");
		}
	
}

