//이화인

	var URL = "/";
	var HOME = "/";

	function OpenWin(url){
	Openwidnow = window.open(url,"Openwindow","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes");
	}

	function OpenWin_size(url){
	Openwidnow_size = window.open(url,"Openwindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=820,height=700");
	}
	
	
	function M00(rnum){ // 메인으로(로고)
		if(rnum == 0){
			location.href = URL+"index.php";	    // 메인으로(로고)
		}				
	}


	function M01(rnum){ // company 
		if(rnum == 0){
			location.href = URL+"m11.php?pn=1&sn=1";       //about company
		}
		if(rnum == 1){
			location.href = URL+"m11.php?pn=1&sn=1";       //about company
		}
		if(rnum == 2){
			location.href = URL+"m15.php?pn=1&sn=2";       //vision
		}
		if(rnum == 3){
			location.href = URL+"m16.php?pn=1&sn=3";       //welfare support programs
		}
		if(rnum == 4){
			location.href = URL+"m12.php?pn=1&sn=4";       //vender
		}
		if(rnum == 5){
			location.href = URL+"m13.php?pn=1&sn=5";       //organization
		}
		if(rnum == 6){
			location.href = URL+"m14.php?pn=1&sn=6";       //contact us
		}
	}
	
	
	function M02(rnum){ // pump
		if(rnum == 0){
			location.href = URL+"m21.php?pn=2&sn=1";       //speck
		}
		if(rnum == 1){
			location.href = URL+"m21.php?pn=2&sn=1";       //speck
		}
		if(rnum == 11){
			location.href = URL+"m21.php?pn=2&sn=1&sn2=1"; 
		}
		if(rnum == 12){
			location.href = URL+"m21.php?pn=2&sn=1&sn2=2";  
		}
		if(rnum == 13){
			location.href = URL+"m21.php?pn=2&sn=1&sn2=3";  
		}
		if(rnum == 14){
			location.href = URL+"m21.php?pn=2&sn=1&sn2=4";  
		}
		if(rnum == 15){
			location.href = URL+"m21.php?pn=2&sn=1&sn2=5";  
		}
		if(rnum == 16){
			location.href = URL+"m21.php?pn=2&sn=1&sn2=6";  
		}
		if(rnum == 17){
			location.href = URL+"m21.php?pn=2&sn=1&sn2=7";  
		}
		if(rnum == 18){
			location.href = URL+"m21.php?pn=2&sn=1&sn2=8";  
		}
		if(rnum == 19){
			location.href = URL+"m21.php?pn=2&sn=1&sn2=9";  
		}
		if(rnum == 110){
			location.href = URL+"m21.php?pn=2&sn=1&sn2=10";  
		}
		if(rnum == 2){
			location.href = URL+"m21.php?pn=2&sn=2";       //liberty
		}
		if(rnum == 21){
			location.href = URL+"m21.php?pn=2&sn=2&sn2=1"; 
		}
		if(rnum == 22){
			location.href = URL+"m21.php?pn=2&sn=2&sn2=2";  
		}
		if(rnum == 23){
			location.href = URL+"m21.php?pn=2&sn=2&sn2=3";  
		}
		if(rnum == 24){
			location.href = URL+"m21.php?pn=2&sn=2&sn2=4";  
		}
		if(rnum == 3){
			location.href = URL+"m21.php?pn=2&sn=3";       //grundfos
		}
		if(rnum == 4){
			location.href = URL+"m21.php?pn=2&sn=4";       // boerger 2010-04-02 추가
		}
		if(rnum == 41){
			location.href = URL+"m21.php?pn=2&sn=4&sn2=1";       // boerger 2010-04-02 추가
		}
		if(rnum == 42){
			location.href = URL+"m21.php?pn=2&sn=4&sn2=2";       // boerger 2010-04-02 추가
		}
		if(rnum == 43){
			location.href = URL+"m21.php?pn=2&sn=4&sn2=3";       // boerger 2010-04-02 추가
		}
		if(rnum == 44){
			location.href = URL+"m21.php?pn=2&sn=4&sn2=4";       // boerger 2010-04-02 추가
		}
		if(rnum == 5){
			location.href = URL+"m21.php?pn=2&sn=5";       //
		}
		if(rnum == 6){
			location.href = URL+"m21.php?pn=2&sn=6";       //
		}
	}


	function M03(rnum){ // fan 
		if(rnum == 0){
			location.href = URL+"m21.php?pn=3&sn=1";       //a.c axial fan
		}
		if(rnum == 1){
			location.href = URL+"m21.php?pn=3&sn=1";       //a.c axial fan
		}
		if(rnum == 2){
			location.href = URL+"m21.php?pn=3&sn=2";       //d.c brushless
		}
		if(rnum == 3){
			location.href = URL+"m21.php?pn=3&sn=3";       //d.c brushless blower
		}
		if(rnum == 4){
			location.href = URL+"m21.php?pn=3&sn=4";       //accessories
		}
		if(rnum == 5){
			location.href = URL+"m21.php?pn=3&sn=5";       //crossflow
		}
		if(rnum == 6){
			location.href = URL+"m21.php?pn=3&sn=6";       //jetflow air
		}
		if(rnum == 7){
			location.href = URL+"m21.php?pn=3&sn=7";       //jetflow air
		}
		if(rnum == 8){
			location.href = URL+"m21.php?pn=3&sn=8";       //outer rotor
		}
	}
	
	function M04(rnum){ // motor
		if(rnum == 0){
			location.href = URL+"m21.php?pn=4&sn=1";       //러버정보DB센터
		}
		if(rnum == 1){
			location.href = URL+"m21.php?pn=4&sn=1";       //motor
		}
		if(rnum == 2){
			location.href = URL+"m21.php?pn=4&sn=2";       //motor
		}
		if(rnum == 3){
			location.href = URL+"m21.php?pn=4&sn=3";       //motor
		}
		if(rnum == 4){
			location.href = URL+"m21.php?pn=4&sn=4";       //motor
		}
		if(rnum == 5){
			location.href = URL+"m21.php?pn=4&sn=5";       //motor
		}
		if(rnum == 51){
			location.href = URL+"m21.php?pn=4&sn=5&sn2=1"; 
		}
		if(rnum == 52){
			location.href = URL+"m21.php?pn=4&sn=5&sn2=2";  
		}
		if(rnum == 6){
			location.href = URL+"m21.php?pn=4&sn=6";       //motor
		}
		if(rnum == 7){
			location.href = URL+"m21.php?pn=4&sn=7";       //motor
		}
		if(rnum == 8){
			location.href = URL+"m21.php?pn=4&sn=8";       //motor
		}
		if(rnum == 9){
			location.href = URL+"m21.php?pn=4&sn=9";       //motor
		}
		if(rnum == 91){
			location.href = URL+"m21.php?pn=4&sn=9&sn2=1"; 
		}
		if(rnum == 92){
			location.href = URL+"m21.php?pn=4&sn=9&sn2=2";  
		}

	}
	
	
	function M05(rnum){ // request
		if(rnum == 0){
			location.href = URL+"m51.php?pn=5&sn=1";       //request
		}
		if(rnum == 1){
			location.href = URL+"m51.php?pn=5&sn=1";       //request
		}
	}
	
	function M06(rnum){ // data room
		if(rnum == 0){
			location.href = URL+"board/bbs/board.php?bo_table=m61";       //notice
		}
		if(rnum == 1){
			location.href = URL+"board/bbs/board.php?bo_table=m61";       //notice
		}
		if(rnum == 2){
			location.href = URL+"board/bbs/board.php?bo_table=m62";       //web catalog
		}
		if(rnum == 3){
			location.href = URL+"board/bbs/board.php?bo_table=m63";       //gallery
		}
	}
	

	function M07(rnum){  //intranet
		if(rnum == 0){
			location.href = URL+"m14.php?pn=1&sn=4";       //intranet
		}
		if(rnum == 1){
			location.href = URL+"sitemap.php?pn=7&sn=1";	     //sitemap
		}
		if(rnum == 2){
			location.href = URL+"board/bbs/board.php?bo_table=m81";	     //intranet
		}
	}


	function infM(rnum){ // 메인화면 infomation   m12.php?pn=1&sn=2&s_no=4
		if(rnum == 0){location.href = URL+"#";  }    
		if(rnum == 1){location.href = URL+"m21.php?pn=3&sn=4";  }    //    cross fan                          
		if(rnum == 2){location.href = URL+"m21.php?pn=4&sn=1";  }    //    motor                               
		if(rnum == 3){location.href = URL+"m21.php?pn=4&sn=5";  }    //    dc geared motor                
		if(rnum == 4){location.href = URL+"m21.php?pn=2&sn=1";  }    //    grundfos                           
		if(rnum == 5){location.href = URL+"m21.php?pn=2&sn=4";  }    //    liverty pumps                     
		if(rnum == 6){location.href = URL+"m21.php?pn=2&sn=2";  }    //    speck pumpen                   
		if(rnum == 7){location.href = URL+"m21.php?pn=3&sn=1";  }    //    commonwealth                   
		if(rnum == 8){location.href = URL+"m21.php?pn=3&sn=5";  }    //    mes                                 
		if(rnum == 9){location.href = URL+"m21.php?pn=4&sn=6";  }    //    micro dc motor                  
		if(rnum == 10){location.href = URL+"m21.php?pn=4&sn=7";  }   //    belt                                 
		if(rnum == 11){location.href = URL+"m21.php?pn=4&sn=9";  }    //    air pump                         
		if(rnum == 12){location.href = URL+"m21.php?pn=2&sn=5";  }    //    fluitec                            
		if(rnum == 13){location.href = URL+"m21.php?pn=3&sn=6";  }    //    micronel                          
		if(rnum == 14){location.href = URL+"m21.php?pn=2&sn=3";  }    //    speck triplex pumpen         
		if(rnum == 15){location.href = URL+"m21.php?pn=4&sn=8";  }    //    clutch                            
		if(rnum == 16){location.href = URL+"m21.php?pn=2&sn=4";  }    //    borgerger                            
		}																	 
	
	function reqM(rnum){ // 메인화면 request
		if(rnum == 0){location.href = URL+"m51.php?type=";  }
		if(rnum == 1){location.href = URL+"m51.php?type=k02_4";  }       //    cross fan                    
		if(rnum == 2){location.href = URL+"m51.php?type=k03";  }       //    motor                         
		if(rnum == 3){location.href = URL+"m51.php?type=k03_5";  }       //    dc geared motor           
		if(rnum == 4){location.href = URL+"m51.php?type=k01_1";  }       //    grundfos                     
		if(rnum == 5){location.href = URL+"m51.php?type=k01_4";  }       //    liverty pumps               
		if(rnum == 6){location.href = URL+"m51.php?type=k01_2";  }       //    speck pumpen              
		if(rnum == 7){location.href = URL+"m51.php?type=k02_1";  }       //    commonwealth             
		if(rnum == 8){location.href = URL+"m51.php?type=k02_5";  }       //    mes                           
		if(rnum == 9){location.href = URL+"m51.php?type=k03_6";  }       //    micro dc motor             
		if(rnum == 10){location.href = URL+"m51.php?type=k03_7";  }      //    belt                           
		if(rnum == 11){location.href = URL+"m51.php?type=k03_9";  }       //    air pump                    
		if(rnum == 12){location.href = URL+"m51.php?type=k01_5";  }       //    fluitec                       
		if(rnum == 13){location.href = URL+"m51.php?type=k02_8";  }       //    micronel                    
		if(rnum == 14){location.href = URL+"m51.php?type=k01_3";  }       //    speck triplex pumpen   
		if(rnum == 15){location.href = URL+"m51.php?type=k03_8";  }       //    clutch                       
		if(rnum == 16){location.href = URL+"m51.php?type=k01_6";  }       //    borgerger                       
		}

	function topM(rnum){ // top-menu
		if(rnum == 1){
			location.href = URL       //home
		}
		if(rnum == 2){
			location.href = URL+"m14.php?pn=1&sn=4";	     //Contact us
		}
		if(rnum == 3){
			M07(1);	     //sitemap
		}
	}	
	

	function Movie(rnum){  //intranet
		if(rnum == 1){
			Openwidnow_size = window.open("m21_movie.php","","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=720,height=600");
		}
	}