///////////////////////////////////////////////////////////////////////////////////////////////
	function con01_1(){
		alert('called maintabOver01');
		maintabChange('maintab01');
	}
	function con01_2(){
		maintabChange('maintab02');
	}
	function con01_3(){
		maintabChange('maintab03');
	}
	function con01_4(){
		maintabChange('maintab04');
	}
	function maintabChange(objId){
		document.getElementById('maintab01').style.display = 'none';
		document.getElementById('maintab02').style.display = 'none';
		document.getElementById('maintab03').style.display = 'none';
		document.getElementById('maintab04').style.display = 'none';
		document.getElementById(objId).style.display = 'block';
	}

    function main()	
    { self.location.href = '/index.php'; }
	
    function top02()	
    { self.location.href = '/index.php?control=member&md=login&mg=sub08&p_id=080101'; } 
	function top03()	
    { self.location.href = '/index.php?control=member&md=join&mg=sub08&p_id=080201'; }
	function top04()	
    { self.location.href = '/index.php?control=member&md=logout&mg=sub08&p_id=080301'; }
	function top05()	
    { self.location.href = '/index.php?control=member&md=modify&mg=sub08&p_id=080401'; }
	function top06()	
    { self.location.href = '/index.php?control=html&mg=sub09&p_id=090101'; }

	
	function full_menu01()
    { showHideLayer(true) }
	
	function full_menu02()
    { showHideLayer(false) }
	
	function con01()	
    { self.location.href = '/con01.php';}	
	function con02()	
    { self.location.href = '/con02.php';} 	
	function con03()	
    { self.location.href = '/con03.php';} 	
	function con04()	
    { self.location.href = '/con04.php';} 	

	

	function menu010101()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=010101';}	
	function menu010201()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=010201';} 	
	function menu010301()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=010301';} 
		function menu010301_2()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=010301_2';} 
			function menu010301_3()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=010301_3';} 
	function menu010401()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=010401';} 	
	function menu010501()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=010501';} 	
	function menu010601()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=010601';}
	function menu010701()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=010701';}
	function menu010801()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=010801';}
	function menu010901()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=010901';}
	function menu011001()	
    { self.location.href = '/index.php?control=html&mg=sub01&p_id=011001';}
	 
 	
    function menu020101()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020101';}	
	 	
    function menu020101_2()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020101_2';}	

	function menu020201()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020201';}

	function menu020301()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020301';}
    function menu020301_2()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020301_2';}


	function menu020401()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020401';}
		function menu020401_2()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020401_2';}
	function menu020501()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020501';}
	function menu020601()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020601';}
			function menu020602()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020602';}
			function menu020603()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020603';}
			function menu020604()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020604';}
			function menu020605()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020605';}
			function menu020606()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020606';}
			function menu020607()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020607';}
	function menu020701()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020701';}
			function menu020701()	
		    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020701';}
			function menu020702()	
		    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020702';}
			function menu020703()	
		    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020703';}
			function menu020704()	
		    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020704';}
			function menu020705()	
		    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020705';}
			function menu020706()	
		    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020706';}
	function menu020801()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020801';}
			function menu020802()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020802';}
			function menu020803()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020803';}
			function menu020804()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020804';}
			function menu020805()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020805';}
			function menu020806()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020806';}
			function menu020807()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020807';}
			function menu020808()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020808';}
			function menu020809()	
			{ self.location.href = '/index.php?control=html&mg=sub02&p_id=020809';}

	function menu020901()	
    { self.location.href = '/index.php?control=html&mg=sub02&p_id=020901';} 

 
	function menu030101()	
    { self.location.href = '/index.php?control=html&mg=sub03&p_id=030101';}
		function menu030201()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=030201';}
		function menu030301()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=030301';}
				function menu030301_2()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=030301_2';}
		function menu030401()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=030401';}
				function menu030401_2()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=030401_2';}
		function menu030501()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=030501';}
		function menu030501_2()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=030501_2';}
		function menu030601()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=030601';}
		function menu030701()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=030701';}
		function menu030801()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=030801';}
		function menu030901()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=030901';}
		
		
	function menu031001()	
    { self.location.href = '/index.php?control=html&mg=sub03&p_id=031001';}
		function menu031101()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=031101';}
		function menu031201()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=031201';}
		function menu031301()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=031301';}
		
		function menu031401()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=031401';}
		function menu031501()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=031501';}
		function menu031601()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=031601';}
		function menu031701()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=031701';}
		function menu031801()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=031801';}
		function menu031901()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=031901';}
		function menu032001()	
   		{ self.location.href = '/index.php?control=html&mg=sub03&p_id=032001';}
		 
		 
 
	
    function menu040101()	
    { self.location.href = '/index.php?control=html&mg=sub04&p_id=040101';}	
	function menu040201()	
    { self.location.href = '/index.php?control=html&mg=sub04&p_id=040201';}
	function menu040301()	
    { self.location.href = '/index.php?control=html&mg=sub04&p_id=040301';}
	function menu040401()	
    { self.location.href = '/index.php?control=html&mg=sub04&p_id=040401';}
	function menu040501()	
    { self.location.href = '/index.php?control=html&mg=sub04&p_id=040501';}
	function menu040601()	
    { self.location.href = '/index.php?control=html&mg=sub04&p_id=040601';}
	function menu040701()	
    { self.location.href = '/index.php?control=html&mg=sub04&p_id=040701';}
	function menu040801()	
    { self.location.href = '/index.php?control=html&mg=sub04&p_id=040801';}
	function menu040901()	
    { self.location.href = '/index.php?control=html&mg=sub04&p_id=040901';}
	function menu041001()	
    { self.location.href = '/index.php?control=html&mg=sub04&p_id=041001';}


	
	function menu050101()	
	{ self.location.href = '/index.php?control=html&mg=sub05&p_id=050101';}	 	
		function menu050201()	
	{ self.location.href = '/index.php?control=html&mg=sub05&p_id=050201';}	 
			function menu050201_2()	
	{ self.location.href = '/index.php?control=html&mg=sub05&p_id=050201_2';}	 
				function menu050201_3()	
	{ self.location.href = '/index.php?control=html&mg=sub05&p_id=050201_3';}	 
    //function menu060101()	
    //{ self.location.href = '/index.php?control=html&mg=sub06&p_id=060101';}	
	
	function menu060101()	
    { self.location.href = '/index.php?control=bbs&&md=list&bo_table=online&mg=sub06&p_id=060101';}	
	function menu060201()	
    { self.location.href = '/?control=bbs&md=list&bo_table=visit_qna&mg=sub06&p_id=060201';}
	function menu060301()	
    { self.location.href = '/index.php?control=bbs&md=write&bo_table=phone_qna&mg=sub06&p_id=060301';}
	function menu060401()	
    { self.location.href = '/index.php?control=html&mg=sub06&p_id=060401';}
	function menu060501()	
    { self.location.href = '/index.php?control=html&mg=sub06&p_id=060501';}
	function menu060601()	
    { self.location.href = '/index.php?control=html&mg=sub06&p_id=060601';}
	function menu060701()	
    { self.location.href = '/index.php?control=html&mg=sub06&p_id=060701';}
	function menu060801()	
    { self.location.href = '/index.php?control=html&mg=sub06&p_id=060801';}
	function menu060901()	
    { self.location.href = '/index.php?control=html&mg=sub06&p_id=060901';}
	function menu061001()	
    { self.location.href = '/index.php?control=html&mg=sub06&p_id=061001';}
	function menu061101()	
    { self.location.href = '/index.php?control=html&mg=sub06&p_id=061101';}


	//function menu070101()	
    //{ self.location.href = '/index.php?control=html&mg=sub07&p_id=070101';}
	function menu070101()	
    { self.location.href = '/index.php?control=bbs&md=list&bo_table=notice&mg=sub07&p_id=070101';}
		function menu070102()	
	    { self.location.href = '/index.php?control=bbs&md=list&bo_table=notice&mg=sub07&p_id=070102';}
		function menu070103()	
	    { self.location.href = '/index.php?control=bbs&md=list&bo_table=notice&mg=sub07&p_id=070103';}
		function menu070104()	
	    { self.location.href = '/index.php?control=bbs&md=list&bo_table=notice&mg=sub07&p_id=070104';}
		function menu070105()	
	    { self.location.href = '/index.php?control=bbs&md=list&bo_table=notice&mg=sub07&p_id=070105';}
		function menu070106()	
	    { self.location.href = '/index.php?control=bbs&md=list&bo_table=notice&mg=sub07&p_id=070106';}
		function menu070107()	
	    { self.location.href = '/index.php?control=bbs&md=list&bo_table=notice&mg=sub07&p_id=070107';}
		function menu070108()	
	    { self.location.href = '/index.php?control=bbs&md=list&bo_table=notice&mg=sub07&p_id=070108';}
		function menu070109()	
	    { self.location.href = '/index.php?control=bbs&md=list&bo_table=notice&mg=sub07&p_id=070109';}

	//function menu070201()	
    //{ self.location.href = '/index.php?control=html&mg=sub07&p_id=070201';}
	function menu070201()	
    { self.location.href = '/index.php?control=bbs&md=list&bo_table=bodo&mg=sub07&p_id=070201';}
		function menu070201_2()	
    { self.location.href = '/index.php?control=bbs&md=list&bo_table=bodo&mg=sub07&p_id=070201&list_wr_4=rose';}

	//function menu070301()	
    //{ self.location.href = '/index.php?control=html&mg=sub07&p_id=070301';}
	function menu070301()	
	{ self.location.href = '/index.php?control=bbs&md=list&bo_table=job&mg=sub07&p_id=070301';}	 
		function menu070301_2()	
	{ self.location.href = '/index.php?control=bbs&md=list&bo_table=job&mg=sub07&p_id=070301_2&list_wr_4=rose';}	 
 	
	
    function menu080101()	
    { self.location.href = '/index.php?control=member&md=login&mg=sub08&p_id=080101'; } 
	function menu080201()	
    { self.location.href = '/index.php?control=member&md=join&mg=sub08&p_id=080201'; }
	function menu080301()	
    { self.location.href = '/index.php?control=member&md=logout&mg=sub08&p_id=080301'; }
	function menu080401()	
    { self.location.href = '/index.php?control=member&md=modify&mg=sub08&p_id=080401'; }
	function menu080501()	
    { self.location.href = '/index.php?control=html&mg=sub09&p_id=090101'; }
	
	
	
	function menu090101()	
    { self.location.href = '/index.php?control=html&mg=sub09&p_id=090101';}	
	function menu090201()	
    { self.location.href = '/index.php?control=html&mg=sub09&p_id=090201';}	
	function menu090301()	
    { self.location.href = '/index.php?control=html&mg=sub09&p_id=090301';}	
	function menu090401()	
    { self.location.href = '/index.php?control=html&mg=sub09&p_id=090401';}	
	function menu090501()	
    { self.location.href = '/index.php?control=html&mg=sub09&p_id=090501';}	
	function menu090601()	
    { self.location.href = '/index.php?control=html&mg=sub09&p_id=090601';}	
	function menu090701()	
    { self.location.href = '/index.php?control=html&mg=sub09&p_id=090701';}	
	
	function menu100101()	
    { self.location.href = '/index.php?control=html&mg=sub10&p_id=100101';}	
	function menu100201()	
    { self.location.href = '/index.php?control=html&mg=sub10&p_id=100201';}	
	function menu100301()	
    { self.location.href = '/index.php?control=html&mg=sub10&p_id=100301';}	
	function menu100401()	
    { self.location.href = '/index.php?control=html&mg=sub10&p_id=100401';}	
	function menu100501()	
    { self.location.href = '/index.php?control=html&mg=sub10&p_id=100501';}	
	function menu100601()	
    { self.location.href = '/index.php?control=html&mg=sub10&p_id=100601';}	
	function menu100701()	
    { self.location.href = '/index.php?control=html&mg=sub10&p_id=100701';}	
	
	function menu110101()	
	{ self.location.href = '/index.php?control=bbs&md=list&bo_table=online&mg=sub11&p_id=110101';}	
	function menu110201()	
    { self.location.href = '/index.php?control=bbs&md=list&bo_table=notice&mg=sub11&p_id=110201';}
	function menu110301()	
    { self.location.href = '/index.php?control=bbs&md=list&bo_table=news&mg=sub11&p_id=110301';}
	function menu110401()	
    { self.location.href = '/index.php?control=bbs&md=list&bo_table=bodo&mg=sub11&p_id=110401';}
	function menu110501()	
    { self.location.href = '/index.php?control=bbs&md=list&bo_table=job&mg=sub11&p_id=110501';}

	


	function menu120101()	
    { self.location.href = '/index.php?control=member&md=login&mg=sub12&p_id=120101';}	
	function menu120201()	
    { self.location.href = '/index.php?control=member&md=join&mg=sub12&p_id=120201';}	
	function menu120301()	
    { self.location.href = '/index.php?control=member&md=modify&mg=sub12&p_id=120301';}	
	function menu120401()	
    { self.location.href = '/index.php?control=member&md=logout&mg=sub12&p_id=120401';}	
	function menu120501()	
    { self.location.href = '/index.php?control=member&md=out&mg=sub12&p_id=120501';}	
 
 
 
	function menu130101()	
    { self.location.href = '/index.php?control=html&mg=sub13&p_id=130101';}	






	//==========Å°º¸µå ¸¶¿ì½º ¹æÁö=================//

	function js_event_anti_right(e) {
	 evt = e || event;
		try{
	  if (document.all){
	  if(evt.button == 2 || evt.button == 3) {   
	 //alert('Don\'t! Mouse Right/Middle Click.'); 
		js_event_anti_stop_event(evt);
		return false;    }
	  }else {
	  if(evt.which == 3 || evt.which == 2) { 
	 //alert('Don\'t! Mouse Right/Middle Click.'); 
		js_event_anti_stop_event(evt);
		return false; }
	  }
		}catch(ex){
	  return false;
		}
	}
	//==== Å°º¸µå ÀÔ·Â ¸·±â
	function js_event_anti_processKey(e){
	 evt = e || event;
	 //alert('Don\'t! Key Input.');
	  try{
	  js_event_anti_stop_event(evt);
	  return false;
		}catch(ex){
	  return false;
		}
	}
	//==== ÀÌº¥Æ® µ¿ÀÛ ¹«½Ã!
	function js_event_anti_stop_event(evt){
	 if(window.event){
	 window.event.keyCode = 0;
	 window.event.cancelBubble = true;
	 window.event.returnValue = true;   
	 }else{
	 evt.stopPropagation();
	 evt.preventDefault();
	 evt.initEvent;
	 }
	 return false;
	}
	//==== ±âº»¾ÈÆ¼ ÀÌº¥Æ® µî·Ï(¿À¸¥ÂÊ¸¶¿ì½º,µå·¡±×,Å°ÀÔ·Â)
	function js_event_anti(this_s){
	//¹®Á¦Á¡ : FF¿¡¼­´Â µå·¡±× ÀÌº¥Æ®¸¦ Á¦¾îÇÒ ¼ö ¾ø´Ù.
	 if(!this_s){this_s = window.document;}
	 if(document.attachEvent){
	 //this_s.attachEvent("onkeydown", js_event_anti_processKey );
	 this_s.attachEvent("onmousedown", js_event_anti_right );
	 this_s.attachEvent("onselectstart", js_event_anti_stop_event );
	 this_s.attachEvent("ondragstart", js_event_anti_stop_event );
	 this_s.attachEvent("oncontextmenu", js_event_anti_stop_event );
	 }
	 else{
	 window.captureEvents(Event.MOUSEDOWN);
	 window.captureEvents(Event.ONKEYDOWN);
	 //this_s.addEventListener("keydown", js_event_anti_processKey , false);
	 this_s.addEventListener("mousedown", js_event_anti_right , false);
	 this_s.addEventListener("dragstart", js_event_anti_stop_event , false);  //FF¿¡¼­ Áö¿øµÇÁö ¾Ê´Â´Ù.
	 this_s.addEventListener("selectstart", js_event_anti_stop_event , false);  //FF¿¡¼­ Áö¿øµÇÁö ¾Ê´Â´Ù.
	 this_s.addEventListener("contextmenu", js_event_anti_stop_event , false);
	 }
	}


	js_event_anti(window.document);


