function f_link(link){	
	
	if( link == "01" ){ window.self.location.href='./index.html';} //È¨
	else if( link == "02" ){ window.self.location.href='mailto:fullhouse@fullhouse.co.kr';} //ÀÌ¸ÞÀÏ
	else if( link == "03" ){ window.self.location.href='user.php3?query=login';} //·Î±×ÀÎ
	else if( link == "04" ){ window.self.location.href='user.php3?query=regis';} //È¸¿ø°¡ÀÔ
	else if( link == "05" ){ window.self.location.href='include/LOGOUT.php3';} //·Î±×¾Æ¿ô
	else if( link == "06" ){ window.self.location.href='user.php3?query=member_info';} //È¸¿øÁ¤º¸¼öÁ¤	
	else if( link == "07" ){ window.self.location.href='javascript:personwin();';} //°³ÀÎÁ¤º¸º¸È£
	else if( link == "08" ){ window.self.location.href='javascript:emailwin();';} //ÀÌ¸ÞÀÏ¼öÁý°ÅºÎ		
	else if( link == "09" ){ window.self.location.href='mailto:fullhouse@fullhouse.co.kr';} //°ü¸®ÀÚÀÌ¸ÞÀÏ
	else if( link == "10" ){ window.self.location.href='./sub_09.html';} //¾ÆÀÌµðÆÐ½º¿öµåÃ£±â
	else if( link == "11" ){ window.self.location.href='./page/index.html';} 
	
	
	
	else if( link == "01_01" ){ window.self.location.href='./sub_01.html';} 	

	else if( link == "02_01" ){ window.self.location.href='./sub_02.html';}
	else if( link == "02_02" ){ window.self.location.href='./sub_02_01.html';}
	else if( link == "02_03" ){ window.self.location.href='./sub_02_02.html';}
	else if( link == "02_04" ){ window.self.location.href='./sub_02_03.html';}
	else if( link == "02_05" ){ window.self.location.href='./sub_02_04.html';}
	else if( link == "02_06" ){ window.self.location.href='./sub_02_05.html';}
	else if( link == "02_07" ){ window.self.location.href='./sub_02_06.html';}	
	
	else if( link == "03_01" ){ window.self.location.href='./sub_03.html#sub31';}
	else if( link == "03_02" ){ window.self.location.href='./sub_03.html#sub32';}
	else if( link == "03_03" ){ window.self.location.href='./sub_03.html#sub33';}
	else if( link == "03_04" ){ window.self.location.href='./sub_03.html#sub34';}	
	
	else if( link == "04_01" ){ window.self.location.href='./sub_04.html#sub41';}
	else if( link == "04_02" ){ window.self.location.href='./sub_04.html#sub42';}
	else if( link == "04_03" ){ window.self.location.href='./sub_04.html#sub43';}	
	else if( link == "04_04" ){ window.self.location.href='./sub_04.html#sub44';}
	else if( link == "04_05" ){ window.self.location.href='./sub_04.html#sub45';}	
	
	
	else if( link == "05_01" ){ window.self.location.href='./sub_05.html#sub51';}
	else if( link == "05_02" ){ window.self.location.href='./sub_05.html#sub52';}
	else if( link == "05_03" ){ window.self.location.href='./sub_05.html#sub53';}	
	
	
	else if( link == "06_01" ){ window.self.location.href='./bbs.php3?table=photo';}
	else if( link == "06_02" ){ window.self.location.href='./sub_06_01.html';}
	else if( link == "06_03" ){ window.self.location.href='./sub_06_02.html';}
	else if( link == "06_04" ){ window.self.location.href='./sub_06_03.html';}
	else if( link == "06_05" ){ window.self.location.href='./sub_06_04.html';}
	else if( link == "06_06" ){ window.self.location.href='./sub_06_05.html';}


	else if( link == "07_01" ){ window.self.location.href='./sub_07.html';}
	else if( link == "07_02" ){ window.self.location.href='./bbs.php3?table=re';}
	else if( link == "07_03" ){ window.self.location.href='./sub_07_02.html';}
	
	else if( link == "08_01" ){ window.self.location.href='./bbs.php3?table=notice';}
	else if( link == "08_02" ){ window.self.location.href='./bbs.php3?table=free';}
	else if( link == "08_03" ){ window.self.location.href='./sub_08_02.html';}
	else if( link == "08_04" ){ window.self.location.href='./bbs.php3?table=tour';}
	else if( link == "08_05" ){ window.self.location.href='./sub_08_04.html';}
else if( link == "09_01" ){ window.self.location.href='./user.php3?query=login';}
	else if( link == "09_02" ){ window.self.location.href='./user.php3?query=regis';}	
	
	
}


function personwin() {
    var width_ = 500; //»õÃ¢°¡·ÎÅ©±â
    var height_ = 590; //»õÃ¢¼¼·ÎÅ©±â
    var left_ = screen.width;
    var top_ = screen.height;
    left_ = left_/2 - (width_/2);
    top_ = top_/2 - (height_/2);  
    var swin = window.open('./person.html',"personwindow",'height='+height_+',width='+width_+',left='+left_+',top='+top_+',status=0,scrollbars=no,resizable=0')
   
  }

function emailwin() {
    var width_ = 500; //»õÃ¢°¡·ÎÅ©±â
    var height_ = 590; //»õÃ¢¼¼·ÎÅ©±â
    var left_ = screen.width;
    var top_ = screen.height;
    left_ = left_/2 - (width_/2);
    top_ = top_/2 - (height_/2);  
    var swin = window.open('./email.html',"emailwindow",'height='+height_+',width='+width_+',left='+left_+',top='+top_+',status=0,scrollbars=no,resizable=0')   
  }

//µ¥Å© ÆË¾÷Ã¢ ¶ç¿ì±â
function winopen(){ 
window.open('sub03_popup01.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen1(){ 
window.open('sub03_popup02.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen2(){ 
window.open('sub03_popup03.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen3(){ 
window.open('sub03_popup04.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen4(){ 
window.open('sub03_popup05.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen5(){ 
window.open('sub03_popup06.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen6(){ 
window.open('sub03_popup07.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen7(){ 
window.open('sub03_popup08.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen8(){ 
window.open('sub03_popup09.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen9(){ 
window.open('sub03_popup10.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen10(){ 
window.open('sub03_popup11.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen11(){ 
window.open('sub03_popup12.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

//µ¥Å© ÆË¾÷ ³¡

//º§¸® ÆË¾÷Ã¢ ¶ç¿ì±â
function winopen21(){ 
window.open('sub03_popup21.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen22(){ 
window.open('sub03_popup22.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen23(){ 
window.open('sub03_popup23.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen24(){ 
window.open('sub03_popup24.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen25(){ 
window.open('sub03_popup25.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen26(){ 
window.open('sub03_popup26.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen27(){ 
window.open('sub03_popup27.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

function winopen28(){ 
window.open('sub03_popup28.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=750,height=500')

} 

//º§¸® ÆË¾÷ ³¡


//ÇÁ¸°Æ®

function print1(){ 
window.open('sub08_popup.html','NewWindow1', 'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=668,height=750')

} 

//ÇÁ¸°Æ® ³¡



function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}



// flashWrite(ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ¾ÆÀÌµð, ¹è°æ»ö, º¯¼ö, À©µµ¿ì¸ðµå)
function flashWrite(url,w,h,id,bg,vars,win){

	// ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ
	var flashStr=
	"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
	"<param name='allowScriptAccess' value='always' />"+
	"<param name='movie' value='"+url+"' />"+
	"<param name='FlashVars' value='"+vars+"' />"+
	"<param name='wmode' value='"+win+"' />"+
	"<param name='menu' value='false' />"+
	"<param name='quality' value='high' />"+
	"<param name='bgcolor' value='"+bg+"' />"+
	"<param name='swliveconnect' value='true'>"+
	"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' swliveconnect='true' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";

	// ÇÃ·¡½Ã ÄÚµå Ãâ·Â
	document.write(flashStr);

}


function main_swf(src,w,h){
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="param" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name="bgcolor" value="#ffffff">';
	html += '<param name="menu" value="false">';
	html += '<param name="wmode" value="transparent">';
	html += '<param name="swliveconnect" value="true">';
	html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" menu="false" width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}






//document.write("<div id='top_b' style='position:absolute;  visibility:show; left:980px;'>				");	
//document.write("		<a href='#top'>																	");
//document.write("	<img src='images/btn_top.gif' border='0'></a>			");
//document.write("</div>				
//");
//function top_b()
//{
//	document.all.top_b.style.pixelTop = document.body.clientHeight + document.body.scrollTop - 100;
//}

//function right_top_controll()
//{
//	document.all.top_b.style.pixelTop = document.body.clientHeight - 100;
//}

//function top_init()
//{
//	document.all.top_b.style.pixelTop = document.body.clientHeight - 100;
//}

//setInterval("top_b()",100);
//onresize = right_top_controll;

