// JavaScript Document//ÇÃ·¡½¬ ÀÓº£µðµå
function view_movie(mU,mW,mH) {
	document.write ('<OBJECT id=player codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 	classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 width="'+mW+'" height="'+mH+'" type=application/x-oleobject VIEWASTEXT>');
	document.write ('<PARAM NAME="AudioStream" VALUE="-1"/>');
	document.write ('<PARAM NAME="AutoPlay" VALUE="0"/>');
	document.write ('<PARAM NAME="AutoSize" VALUE="0"/>');
	document.write ('<PARAM NAME="AutoStart" VALUE="0"/>');
	document.write ('<PARAM NAME="AnimationAtStart" VALUE="1"/>');
	document.write ('<PARAM NAME="AllowScan" VALUE="0"/>');
	document.write ('<PARAM NAME="AllowChangeDisplaySize" VALUE="0"/>');
	document.write ('<PARAM NAME="AllowChangeDisplayMode" VALUE="0"/>');
	document.write ('<PARAM NAME="AutoRewind" VALUE="-1"/>');
	document.write ('<PARAM NAME="Balance" VALUE="0"/>');
	document.write ('<PARAM NAME="BaseURL" VALUE=""/>');
	document.write ('<PARAM NAME="BufferingTime" VALUE="1000"/>');
	document.write ('<PARAM NAME="CaptioningID" VALUE=""/>');
	document.write ('<PARAM NAME="ClickToPlay" VALUE="0"/>');
	document.write ('<PARAM NAME="CursorType" VALUE="32512"/>');
	document.write ('<PARAM NAME="CurrentPosition" VALUE="-1"/>');
	document.write ('<PARAM NAME="CurrentMarker" VALUE="0"/>');
	document.write ('<PARAM NAME="DefaultFrame" VALUE=""/>');
	document.write ('<PARAM NAME="DisplayBackColor" VALUE="0"/>');
	document.write ('<PARAM NAME="DisplayForeColor" VALUE="0"/>');
	document.write ('<PARAM NAME="DisplayMode" VALUE="1"/>');
	document.write ('<PARAM NAME="DisplaySize" VALUE="1"/>');
	document.write ('<PARAM NAME="Enabled" VALUE="-1"/>');
	document.write ('<PARAM NAME="EnableContextMenu" VALUE="0"/>');
	document.write ('<PARAM NAME="EnablePositionControls" VALUE="-1"/>');
	document.write ('<PARAM NAME="EnableFullScreenControls" VALUE="-1"/>');
	document.write ('<PARAM NAME="EnableTracker" VALUE="-1"/>');
	document.write ('<PARAM NAME="FileName" VALUE="'+mU+'"/>');
	document.write ('<PARAM NAME="InvokeURLs" VALUE="-1"/>');
	document.write ('<PARAM NAME="Language" VALUE="0"/>');				
	document.write ('<PARAM NAME="Mute" VALUE=""/>');
	document.write ('<PARAM NAME="PlayCount" VALUE="1"/>');
	document.write ('<PARAM NAME="PreviewMode" VALUE="0"/>');
	document.write ('<PARAM NAME="Rate" VALUE="1"/>');
	document.write ('<PARAM NAME="SAMILang" VALUE=""/>');
	document.write ('<PARAM NAME="SAMIStyle" VALUE=""/>');
	document.write ('<PARAM NAME="SAMIFileName" VALUE=""/>');
	document.write ('<PARAM NAME="SelectionStart" VALUE="0"/>');
	document.write ('<PARAM NAME="SelectionEnd" VALUE="0"/>');
	document.write ('<PARAM NAME="SendOpenStateChangeEvents" VALUE="-1"/>');
	document.write ('<PARAM NAME="SendWarningEvents" VALUE="-1"/>');
	document.write ('<PARAM NAME="SendErrorEvents" VALUE="-1"/>');
	document.write ('<PARAM NAME="SendKeyboardEvents" VALUE="0"/>');
	document.write ('<PARAM NAME="SendMouseClickEvents" VALUE="0"/>');
	document.write ('<PARAM NAME="SendMouseMoveEvents" VALUE="0"/>');
	document.write ('<PARAM NAME="SendPlayStateChangeEvents" VALUE="-1"/>');
	document.write ('<PARAM NAME="ShowCaptioning" VALUE="0"/>');
	document.write ('<PARAM NAME="ShowControls" VALUE="0"/>');
	document.write ('<PARAM NAME="ShowAudioControls" VALUE="0"/>');
	document.write ('<PARAM NAME="ShowDisplay" VALUE="0"/>');
	document.write ('<PARAM NAME="ShowGotoBar" VALUE="0"/>');
	document.write ('<PARAM NAME="ShowPositionControls" VALUE="0"/>');
	document.write ('<PARAM NAME="ShowStatusBar" VALUE="0"/>');
	document.write ('<PARAM NAME="ShowTracker" VALUE="0"/>');
	document.write ('<PARAM NAME="SRC" VALUE="'+mU+'"/>');
	document.write ('<PARAM NAME="TransparentAtStart" VALUE="-1"/>');
	document.write ('<PARAM NAME="VideoBorderWidth" VALUE="0"/>');
	document.write ('<PARAM NAME="VideoBorderColor" VALUE="0"/>');
	document.write ('<PARAM NAME="VideoBorder3D" VALUE="0"/>');
	document.write ('<PARAM NAME="Volume" VALUE="0"/>');
	document.write ('<PARAM NAME="WindowlessVideo" VALUE="0"/>');
	document.write ('<PARAM NAME="Loop" VALUE="-1"/>');
	document.write ('</OBJECT>');
}

function view_flash(fU,fW,fH,fN){
	var fU, fW, fH, fN;
	document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"  width="'+fW+'" height="'+fH+'" id="'+fN+'" align="middle">');
	document.write ('<param name="wmode" value="transparent"/>');
	document.write ('<param name="movie" value="'+fU+'"/>');
	document.write ('<param name="quality" value="high"/>');
	document.write ('<embed src="'+fU+'" wmode="transparent" quality="high" bgcolor="#ffffff" width="'+fW+'" height="'+fH+'" name="'+fN+'" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
	document.write ('</object>');
}





//FLASH Link
function GoMenu(name) {
    if (eval(name) == "") {
        alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.");
        return;    
    } else {
		document.location.href = eval(name);
	}
}



//Main Link

	var mMenu1="../s1/s1_01.html";
	var mMenu2="../s2/s2_01.html";
	var mMenu3="../s3/s3_01.html";
	var mMenu4="../s4/s4_01.html";
	var mMenu5="../s5/s5_01.html";






	var sMenu1_1="../s1/s1_01.html";
	var sMenu1_2="../s1/s1_02.html";	
	var sMenu1_3="../s1/s1_06.html";




	var sMenu2_1="../s2/s2_01.html";
	var sMenu2_2="../s1/s1_05.html";
	var sMenu2_3="../s2/s2_02.html";
	var sMenu2_4="../s2/s2_03.html";
	var sMenu2_5="../s2/s2_04.html";

	



	var sMenu3_1="../s3/s3_01.html";
	var sMenu3_2="../s3/s3_02.html";
	var sMenu3_3="../s3/s3_03.html";
	




	var sMenu4_1="../s4/s4_01.html";
	var sMenu4_2="../s4/s4_02.html";




	var sMenu5_1="../s5/s5_01.html";
	var sMenu5_2="../s5/s5_02.html";
	var sMenu5_3="../s5/s5_03.html";
	var sMenu5_4="../s5/s5_04.html";
	
	
	
	
function menulink(link_go) {  

		switch ( link_go ) {

			case '1_1' : <!--About KNPA, Greetings-->
			location.href=   "http://www.police.go.kr/KNPA/about/ab_greetings.jsp";
			break;
			
			case '1_2' : <!--History-->
			location.href=   "http://www.police.go.kr/KNPA/about/ab_history_01.jsp";
			break;
			
			case '1_3' : <!--Police-->
			location.href=   "http://www.police.go.kr/KNPA/about/ab_polices.jsp";
			break;
			
			case '1_4' : <!--Symbols-->
			location.href=   "http://www.police.go.kr/KNPA/about/ab_symbol_ci.jsp";
			break;
			
			case '1_5' : <!--Ranks and Roles->
			location.href=   "http://www.police.go.kr/KNPA/about/ab_rankandrole_01.jsp";
			break;
			
			case '1_6' : <!--Police Offices-->
			location.href=   "http://www.police.go.kr/KNPA/about/ab_organization.jsp";
			break;

			case '1_7' : <!--Location-->
			location.href=   "http://www.police.go.kr/KNPA/about/ab_location.jsp";
			break;				
		
			


			case '2_1' : <!--Public Relations, News-->
			location.href=   "http://www.police.go.kr/KNPA/public/pr_news_list.jsp";
			break;

			case '2_2' : <!--Police Monthly News-->
			location.href=   "http://www.police.go.kr/KNPA/public/pr_pbnews_list.jsp";
			break;
			
			case '2_3' : <!--Active Police of Korea-->
			location.href=   "http://www.police.go.kr/KNPA/public/pb_movie.jsp";
			break;
			
			
			
			case '3_1' : <!--Foreigner's Human Right Protection, About the center -->
			location.href=   "http://www.police.go.kr/KNPA/foreigner/fr_about.jsp";
			break;
			
			case '3_2' : <!--Operation Office -->
			location.href=    "http://www.police.go.kr/KNPA/foreigner/fr_office.jsp";
			break;
			
			case '3_3' : <!--What the Center does -->
			location.href=    "http://www.police.go.kr/KNPA/foreigner/fr_what.jsp";
			break;
			
			case '3_4' : <!--How to use -->
			location.href=    "http://www.police.go.kr/KNPA/foreigner/fr_how.jsp";
			break;
			
			
			
			case '4_1' : <!--Civil Board, Civil Counseling-->
			location.href=   "http://www.police.go.kr/KNPA/civil/cv_counseling_list.jsp";
			break;
			
			
						
			case '5_1' : <!--Statistics, Polic Administration-->
			location.href=   "http://www.police.go.kr/KNPA/statistics/st_administration_01.jsp";
			break;
			
			case '5_2' : <!--Public Safety-->
			location.href=   "http://www.police.go.kr/KNPA/statistics/st_safety_01.jsp";
			break;
			
			case '5_3' : <!--Criminal Investigation-->
			location.href=   "http://www.police.go.kr/KNPA/statistics/st_investingation_01.jsp";
			break;
			
			case '5_4' : <!--Criminal Affairs-->
			location.href=   "http://www.police.go.kr/KNPA/statistics/st_criminal_affairs.jsp";
			break;
			
			case '5_5' : <!--Traffic Affairs-->
			location.href=   "http://www.police.go.kr/KNPA/statistics/st_traffic_affairs_01.jsp";
			break;
			
			case '5_6' : <!--Public Security-->
			location.href=   "http://www.police.go.kr/KNPA/statistics/st_security_01.jsp";
			break;
			
			case '5_7' : <!--Foreign Affairs-->
			location.href=   "http://www.police.go.kr/KNPA/statistics/st_foreign_affairs_01.jsp";
			break;
			
		}
		
}

