<?php include_once("common_menu.html");?>
<?php
//주메뉴 초기선택을 위한 class 속성 부여(메뉴개수만큼 규칙에 따라 추가)
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=subpage")>0){$selected01=" class='selected'";}
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=business")>0){$selected02=" class='selected'";}
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=product")>0){$selected03=" class='selected'";}
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=gallery")>0){$selected04=" class='selected'";}
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=notice")>0){$selected05=" class='selected'";}
//서브메뉴 초기선택을 위한 class 속성 부여(메뉴개수만큼 규칙에 따라 추가)
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=subpage&wr_id=1")>0){$selected01_sub01=" class='selected'";}
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=subpage&wr_id=2")>0){$selected01_sub02=" class='selected'";}
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=subpage&wr_id=3")>0){$selected01_sub03=" class='selected'";}
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=subpage&wr_id=4")>0){$selected01_sub04=" class='selected'";}
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=notice")>0){$selected05_sub01=" class='selected'";}
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=qna")>0){$selected05_sub02=" class='selected'";}
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=faq")>0){$selected05_sub03=" class='selected'";}
if(substr_count($_SERVER["REQUEST_URI"],"bo_table=free")>0){$selected05_sub04=" class='selected'";}
?>
<ul id="codingsa_nav_top">
	<li>
		<a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=subpage&amp;wr_id=1" title="회사소개로이동"<?php echo $selected01;?>>
			회사소개
		</a>
		<ul id="codingsa_nav_top_submenu01">
			<li class="left"></li>
			<li><a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=subpage&amp;wr_id=1" title="인사말로이동"<?php echo $selected01_sub01;?>>인사말</a></li>
			<li><a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=subpage&amp;wr_id=2" title="회사연혁으로이동"<?php echo $selected01_sub02;?>>회사연혁</a></li>
			<li><a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=subpage&amp;wr_id=3" title="조직도로이동"<?php echo $selected01_sub03;?>>조직도</a></li>
			<li><a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=subpage&amp;wr_id=4" title="오시는길로이동"<?php echo $selected01_sub04;?>>오시는길</a></li>
			<li class="right"></li>
		</ul>		
	</li>
	<li>
		<a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=business" title="주요사업으로이동"<?php echo $selected02;?>>
			주요사업
		</a>		
	</li>
	<li>
		<a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=product" title="제품안내로이동"<?php echo $selected03;?>>
			제품안내
		</a>		
	</li>
	<li>
		<a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=gallery" title="현장갤러리로 이동"<?php echo $selected04;?>>
			현장갤러리
		</a>
	</li>
	<li>
		<a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=notice" title="커뮤니티로이동"<?php echo $selected05;?>>
			커뮤니티
		</a>
		<ul id="codingsa_nav_top_submenu05">
			<li class="left"></li>
			<li><a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=notice" title="공지사항으로이동"<?php echo $selected05_sub01;?>>공지사항</a></li>
			<li><a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=qna" title="묻고답하기로이동"<?php echo $selected05_sub02;?>>묻고답하기</a></li>
			<li><a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=faq" title="자주묻는질문으로이동"<?php echo $selected05_sub03;?>>자주묻는질문</a></li>
			<li><a href="<?php echo G5_BBS_URL;?>/board.php?bo_table=free" title="자유게시판으로이동"<?php echo $selected05_sub04;?>>자유게시판</a></li>
			<li class="right"></li>
		</ul>		
	</li>
</ul>
