<!--
/***********************************************************************
* ½ºÅ©¸³Æ®¸í : ÆÐ¹Ð¸®»çÀÌÆ® º¸±â
***********************************************************************/
function familysiteOn(objTD) {
	obj = document.getElementById("familysite") ;
	if (obj.style.display == "none") {
		obj.style.display = "" ;
	} else {
		obj.style.display = "none" ;
	}
}

/***********************************************************************
* ½ºÅ©¸³Æ®¸í : ÆÐ¹Ð¸®»çÀÌÆ® ´Ý±â
***********************************************************************/
function familysiteOff() {
	obj = document.getElementById("familysite") ;
	obj.style.display = "none" ;
}

/***********************************************************************
* ½ºÅ©¸³Æ®¸í : ÇªÅÍÃâ·Â
***********************************************************************/
function writeFooter() {

	familySite = new Object() ;
	familySite.total = 0 ;

	familySite.site1 = ["Çö´ë±×·ì" ,			    "http://www.hyundaigroup.com"] ;
	familySite.site2 = ["Çö´ë¿¤¸®º£ÀÌÅÍ" , 	"http://www.hyundaielevator.co.kr"] ;
	familySite.site3 = ["Çö´ë»ó¼±" ,			    "http://www.hmm21.com"] ;
	familySite.site4 = ["Çö´ëÅÃ¹è" ,				"http://www.hlc.co.kr"] ;
	familySite.site5 = ["Çö´ëÁõ±Ç" ,				"http://www.youfirst.co.kr"] ;
	familySite.site6 = ["Çö´ë°æÁ¦¿¬±¸¿ø" ,		"http://www.hri.co.kr"] ;
	familySite.site7 = ["Çö´ëÀ¯¿£¾ÆÀÌ" ,		"http://www.hyundai-uni.com"] ;

	for (i=1 ; familySite["site"+i] ; i++) {
		familySite.total++ ;
	}

	// family site
	document.write('<div id="" style="position:relative ; z-index:10">') ;
	
	document.write('<div id="familysite" style="position:absolute ; top:-'+(familySite.total*18+1)+' ; z-index:50 ; display:none">') ;
	document.write('	<table width="150" cellpadding="0" cellspacing="0" border="0" class=table01') ;
	document.write('		style="border:1px solid #D4D4D4 ; cursor:hand">') ;

	for (i=1 ; i<=familySite.total ; i++) {
		document.write('		<tr bgcolor=#FFFFFF onmouseover="javascript:this.style.backgroundColor=0xF6F6F6;familysiteMode=true" onmouseout="javascript:this.style.backgroundColor=0xFFFFFF;familysiteMode=false"') ;
		document.write('			onClick="window.open(\''+familySite["site"+i][1]+'\');familysiteOn();">') ;
		document.write('			<td height=18>&nbsp;'+familySite["site"+i][0]+'</td>') ;
		document.write('		</tr>') ;
	}

	document.write('		<tr bgcolor=#FFFFFF onClick="javascript:familysiteOn(this);">') ;
	document.write('			<td>');
	document.write('				<table width="100%" cellpadding="0" cellspacing="0" border="0" class=table01') ;
	document.write('					style="border-top:1px solid #D4D4D4 ; cursor:hand">') ;
	document.write('					<tr bgcolor=#FFFFFF>') ;
	document.write('						<td height=15>&nbsp;SELECT SITE</td>') ;
	document.write('						<td width=1><img src="/img/common/select_arrow_search.gif" border="0" align="ABSMIDDLE" vspace=1 hspace=1></td>') ;
	document.write('					</tr>') ;
	document.write('				</table>') ;
	document.write('			</td>') ;
	document.write('		</tr>') ;
	document.write('	</table>') ;
	document.write('</div>') ;
	
	document.write('<table width="150" cellpadding="0" cellspacing="0" border="0" class=table01') ;
	document.write('	style="border:1px solid #D4D4D4 ; cursor:hand" onClick="javascript:familysiteOn();">') ;
	document.write('	<tr bgcolor=#FFFFFF>') ;
	document.write('		<td height=15>&nbsp;SELECT SITE</td>') ;
	document.write('		<td width=1><img src="/img/common/select_arrow_search.gif" border="0" align="ABSMIDDLE" vspace=1 hspace=1></td>') ;
	document.write('	</tr>') ;
	document.write('</table>') ;
	document.write('</div>') ;

}

//-->