﻿// JScript 파일

document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="954" height="285">')
document.write('<param name="movie" value="/images/main/top_menu.swf" />')
document.write('<param name="quality" value="high" />')
document.write('<param name="wmode" value="opaque" />')
document.write('<param name="allowScriptAccess" value="always" />')
document.write('<embed src="/images/main/top_menu.swf" allowScriptAccess="always" wmode="opaque" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"  width="954" height="285"></embed>')
document.write('</object>')

function TopnVisible(data)
{
	switch(data) 
	{
	    case "0" :
	        document.getElementById("no_topmn").style.zIndex = 2;
	        document.getElementById("topmn").style.zIndex    = 1;
		break;
	    case "1" :
	        document.getElementById("no_topmn").style.zIndex = 1;
	        document.getElementById("topmn").style.zIndex    = 2;
		break;
	}
}


function TopMenu(linkData)
{
	switch(linkData) 
	{
	    case "1-0" :document.location.href = "/Biz/Consulting.aspx";        //특허분쟁대응컨설팅
		break;
		case "1-1" :document.location.href = "/Biz/Consulting.aspx";        //특허분쟁대응컨설팅
		break;
        case "1-2" :document.location.href = "/Biz/Council.aspx";           //품목별 특허협의체
		break;
		case "1-3" :document.location.href = "/Biz/PatAnalysis.aspx";       //특허분석 //alert('서비스가 종료 되었습니다.');
		break;
//		case "1-4" :document.location.href = "#";       //정보서비스
//		break;
		case "1-4" :document.location.href = "/Biz/UnfairnessTrade.aspx";       //불공정무역행위신고
		break;
//		case "1-5" :document.location.href = "/Biz/InterNetwork.aspx";      //국제특허협력네트워크
//		break;
		case "1-5" :document.location.href = "/Biz/ProPoolList.aspx";       //지재권전문가 POOL
		break;
		case "1-6" :goAcaView();                                            //i-PAC 아카데미
		break;
//		case "1-7" :document.location.href = "/Biz/InternarOrgan.aspx";       //국제표준화 기반구축
//		break;
//		case "1-8" :document.location.href = "/Biz/StandardDevelop.aspx";       //표준개발협력기관활동
//		break;
//		case "1-9" :document.location.href = "/Biz/WtoTbt.aspx";       //WTO/TBT 기술규제 대응지원
//		break;
	
	    case "2-0" :document.location.href = "/PatSearch/SearchTrans.aspx";       //특허검색
		break;
		case "2-1" :document.location.href = "/PatSearch/SearchTrans.aspx";       //특허검색
		break;
		case "2-2" :document.location.href = "/PatSearch/TroubleForeknowledge.aspx";  //불공정무역행위신고
		break;
		case "2-3" :document.location.href = "/PatSearch/Procuration.aspx";  //소송대리인검색
		break;
	    
	    case "3-0" :document.location.href = "/PatInfo/KorPatList.aspx";        //특허동향
		break;
		case "3-1" :document.location.href = "/PatInfo/KorPatList.aspx";        //특허동향
		break;
		case "3-2" :document.location.href = "/PatInfo/TroubleNewsList.aspx";   //특허분쟁속보
		break;
		case "3-3" :document.location.href = "/PatInfo/CasePatList.aspx";       //특허분쟁사례분석
		break;
//		case "3-4" :alert('서비스준비중입니다');//goSpecialReport();   // 소송대리인 검색
//		break;	    
		case "3-4" :document.location.href = "/PatInfo/CeoBoardList.aspx";//goSpecialReport();   //Monthly Report
		break;	    
	
		case "4-0" :document.location.href = "/Info/NoticeList.aspx";       //공지사항
		break;
		case "4-1" :document.location.href = "/Info/NoticeList.aspx";       //공지사항 //OpenAcademy();//document.location.href = "/Biz/Seminar/PatentEdu.aspx";
		break;
		case "4-2" :document.location.href = "/Info/ReportList.aspx";       //보도자료
		break;
		case "4-3" :document.location.href = "/info/NewsLetterList.aspx";   //i-PAC NEWS
		break;
		case "4-4" :document.location.href = "/info/IpacCalendarList.aspx"; //i-PAC 일정&행사
		break;
		case "4-5" :document.location.href = "/Info/PhotoList.aspx";        //포토갤러리
		break;
		case "4-6" :document.location.href = "/Info/FaqList.aspx";          //자주하는 질문
		break;
		case "4-7" :document.location.href = "/Info/QnaList.aspx";          //묻고 답하기
		break;
		
		case "5-0" :document.location.href = "/Board/BuyBookList.aspx";     //자료구매
		break;
		case "5-1" :document.location.href = "/Board/BuyBookList.aspx";     //자료구매
		break;
		case "5-2" :document.location.href = "/Board/FreeInfoList.aspx";    //공개자료
		break;  
		case "5-3" :LoginMovieCheckID();                                    //국제특허분쟁동영상
		break;
		case "5-4" :PopItcSeminarMovie();                                    //ITC세미나동영상
		break;
			
		case "6-0" :document.location.href = "/Intro/Purpose.aspx";     //특허표준지원센터란?
		break;
		case "6-1" :document.location.href = "/Intro/Purpose.aspx";     //특허표준지원센터란?
		break;
		case "6-2" :document.location.href = "/Intro/BizItem.aspx";     //주요사업
		break;
		case "6-3" :document.location.href = "/Intro/Organ.aspx";       //조직도
		break;
		case "6-4" :document.location.href = "/Intro/CeoMemInfo.aspx";  //i-PAC 회원사
		break;
		case "6-5" :document.location.href = "/Intro/InterNetwork.aspx";      //국제특허협력네트워크
		break;
		case "6-6" :document.location.href = "/Intro/Map.aspx";         //오시는길
		break;
		
		case "7-0" :goAcaView();         //i-PAC 아카데미
		break;
		case "7-1" :goAcaView();         //i-PAC 아카데미
		break;
				
		case "10-1" :document.location.href = "/";         //濡쒓퀬
		break;
		case "10-2" :document.location.href = "/";         //home
		break;
		case "10-3" :document.location.href = "mailto:ipac@ipac.kr";         //Contact us
		break;
		case "10-4" :document.location.href = "/Intro/SiteMap.aspx";         //?ъ씠?몃㏊
		break;
		case "10-5" :document.location.href = "/Member/login.aspx";         //濡쒓렇??
		
		break;
		case "10-6" :document.location.href = "/Member/JoinMember.aspx";         //?뚯썝媛??
		
		break;
		
		default :window.location = "/" ;
		break;
	}
}




function goAcaView()
{
    //window.open('http://academy.ipac.kr','acaboard','');
    window.open('http://academy.ipac.kr/EtcLinkPage.action?cookiString='+document.forms[0].Top1$hidAcaUrl.value+'&PAGE=MAIN','academy','');
}






//document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="743" height="55" id="FlashID" title="">')
//document.write('<param name="movie" value="/images/top_menu_8.swf" />')
//document.write('<param name="quality" value="high" />')
//document.write('<param name="wmode" value="opaque" />')
//document.write('<param name="allowScriptAccess" value="always" />')
//document.write('<param name="swfversion" value="8.0.35.0" />')
//document.write('<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->')
//document.write('<param name="expressinstall" value="../intro/Scripts/expressInstall.swf" />')
//document.write('<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->')
//document.write('<!--[if !IE]>-->')
//document.write('<object type="application/x-shockwave-flash" data="/images/top_menu_8.swf" width="743" height="55">')
//document.write('<!--<![endif]-->')
//document.write('<param name="quality" value="high" />')
//document.write('<param name="wmode" value="opaque" />')
//document.write('<param name="swfversion" value="8.0.35.0" />')
//document.write('<param name="expressinstall" value="../intro/Scripts/expressInstall.swf" />')
//document.write('<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->')
//document.write('<div>')
//document.write('<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>')
//document.write('<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>')
//document.write('</div>')
//document.write('<!--[if !IE]>-->')
//document.write('</object>')
//document.write('<!--<![endif]-->')
//document.write('</object>')

