<!--
/***********************************************************************
* ½ºÅ©¸³Æ®¸í : ÆÐ¹Ð¸®»çÀÌÆ® º¸±â
***********************************************************************/
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.arteshop.co.kr","images/f6.jpg"] ;
    familySite.site2 = ["" ,                    "http://www.iteebox.com","images/f7.jpg"] ;
    familySite.site3 = ["" ,                        "http://www.greenboat.com/media/default.asp","images/f8.jpg"] ;

    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="100" cellpadding="0" cellspacing="0" border="0" class=table01') ;
    document.write('        style="border:1px solid #ffffff ; cursor:hand">') ;

    for (i=1 ; i<=familySite.total ; i++) {
        document.write('        <tr bgcolor=#bdc2c6 onmouseover="javascript:this.style.backgroundColor=0xffffff;familysiteMode=true" onmouseout="javascript:this.style.backgroundColor=0xbdc2c6;familysiteMode=false"') ;
        document.write('            onClick="window.open(\''+familySite["site"+i][1]+'\');familysiteOn();">') ;
        document.write('            <td height=18><img src="'+familySite["site"+i][2]+'" border="0" align="ABSMIDDLE" vspace=1 hspace=1>'+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 #ffffff ; cursor:hand">') ;
    document.write('                    <tr bgcolor=#ffffff>') ;
    document.write('                        <td  width="100" height=19 class=table01></td>') ;
    document.write('                        <td width=1><img src="images/f1.jpg" width="102" height="16"></td>') ;
    document.write('                    </tr>') ;
    document.write('                </table>') ;
    document.write('            </td>') ;
    document.write('        </tr>') ;
    document.write('    </table>') ;
    document.write('</div>') ;
    
    document.write('<table width="100" cellpadding="0" cellspacing="0" border="0" class=table01') ;
    document.write('    style="border:1px solid #ffffff ; cursor:hand" onClick="javascript:familysiteOn();">') ;
    document.write('    <tr bgcolor=#ffffff>') ;
    document.write('        <td   width="100"  height=19 class=table01></td>') ;
    document.write('        <td width=1><img src="images/f1.jpg" width="102" height="16"></td>') ;
    document.write('    </tr>') ;
    document.write('</table>') ;
    document.write('</div>') ;

}

//-->

