/*
»õÃ¢ ¶ç¿ì±â
*/
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

/*
»õÃ¢
*/
function openNewWindow(window) {
open (window,"NewWindow","left=0, top=0, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, width=500, height=500");
}
/*
ÇÁ·¹ÀÓ ±ú´Â°Å.. ´ø°¡? ^^;;
*/
if(parent.location.href != location.href) {parent.location.href = location.href;}
/*
µý ¼­¹ö¿¡¼­ µ¿ÀÛ±ÝÁö ^^;;
*/
var myurl=document.URL;
if (myurl.indexOf("http://")==-1){
alert("Á¢±ÙÀÌ °ÅºÎµÇ¾ú½À´Ï´Ù.");
location.href="http://onestream.or.kr/main/";
}



/*
¸µÅ©¿¡ Á¡¼± ¾ø¾Ö´Â °Å
*/
function bluring(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
} 
document.onfocusin=bluring; 



/*
	¸Þ´º
*/
<!-- 
function MM_reloadPage(init) { 
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { 
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} 
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); 
} 
MM_reloadPage(true); 
// --> 
function MM_findObj(n, d) { 
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 && document.getElementById) x=document.getElementById(n); return x; 
} 
function MM_showHideLayers() {
var i,p,v,obj,args=MM_showHideLayers.arguments; 
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; 
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; } 
obj.visibility=v; } 
} 


/*
¶ó¿îµå Å×ÀÌºí
*/

function top_round(w,c) {
var top_html;
top_html="<table cellpadding=0 cellspacing=0 border=0 width="+w+">";
top_html+="<tr height=1><td rowspan=4 width=1><img src=./image/trans.gif width=1 height=1 border=0></td><td rowspan=3 width=1><img src=./image/trans.gif width=1 height=1 border=0></td>";
top_html+="<td rowspan=2 width=1><img src=./image/trans.gif width=1 height=1 border=0></td><td width=2><img src=./image/trans.gif width=1 height=1 border=0></td><td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td>";
top_html+="<td width=2><img src=./image/trans.gif width=1 height=1 border=0></td><td rowspan=2 width=1><img src=./image/trans.gif width=1 height=1 border=0></td><td rowspan=3 width=1><img src=./image/trans.gif width=1 height=1 border=0></td>";
top_html+="<td rowspan=4 width=1><img src=./image/trans.gif width=1 height=1 border=0></td></tr><tr height=1><td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td>";
top_html+="<td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td></tr>";
top_html+="<tr height=1><td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td colspan=3 bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td>";
top_html+="<td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td></tr><tr height=2><td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td>";
top_html+="<td colspan=5 bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td></tr></table>";
document.write(top_html);
}

function bottom_round(w,c) {
var bottom_html;
bottom_html="<table cellpadding=0 cellspacing=0 border=0 width="+w+">";
bottom_html+="<tr height=2><td rowspan=4 width=1><img src=./image/trans.gif width=1 height=1 border=0></td><td width=1 bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td width=1 bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td>";
bottom_html+="<td width=2 bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td width=2 bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td>";
bottom_html+="<td width=1 bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td width=1 bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td rowspan=4 width=1><img src=./image/trans.gif width=1 height=1 border=0></td></tr>";
bottom_html+="<tr height=1><td rowspan=3><img src=./image/trans.gif width=1 height=1 border=0></td><td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td colspan=3 bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td>";
bottom_html+="<td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td rowspan=3><img src=./image/trans.gif width=1 height=1 border=0></td>  </tr><tr height=1><td rowspan=2><img src=./image/trans.gif width=1 height=1 border=0></td>";
bottom_html+="<td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td rowspan=2><img src=./image/trans.gif width=1 height=1 border=0></td></tr>";
bottom_html+="<tr height=1><td><img src=./image/trans.gif width=1 height=1 border=0></td><td bgcolor="+c+"><img src=./image/trans.gif width=1 height=1 border=0></td><td><img src=./image/trans.gif width=1 height=1 border=0></td></tr></table>";
document.write(bottom_html);
}


function go_main(){window.location="./"}; // ¸ÞÀÎÆäÀÌÁö
function go_notice(){window.location="./?doc=bbs/gnuboard.php&bo_table=notice"}; // ³ªÆÈ¼Ò¸® (°øÁö»çÇ×)
function go_contact(){window.location="./?doc=contact.php"}; // °ü¸®ÀÚ¿¡°Ô ÀÌ¸ÞÀÏ
function go_sitemap(){window.location="./?doc=sitemap.php"}; // »çÀÌÆ®¸Ê
function go_webhard(){window.location="./?doc=webhard/index.php"}; // À¥ÇÏµå
function go_hotlink(){window.location="./?doc=bbs/gnuboard.php&bo_table=hotlink2"}; // ¸ÞÀÎÆäÀÌÁö ÃßÃµ»çÀÌÆ®
function go_greeting(){window.location="./?doc=greeting.php"}; // ÀÎ»ç³²±â±â



function go_01(){window.location="./?doc=member.php"}; // °æ±â³²ºÎ±³È¸µé
  function go_01_01(){window.location="./?doc=member.php"}; // ºÀ»çÀÚ ¿¬¶ôÃ³
  function go_01_02(){window.location="./?doc=bbs/gnuboard.php&bo_table=churches"}; // °¢Áö±³È¸¼Ò°³
  function go_01_03(){window.location="./?doc=member_1.php"}; // ¸öÀÇ ÁöÃ¼µé


function go_02(){window.location="./?doc=bbs/gnuboard.php&bo_table=calendar"}; // ÇÑÈå¸§
  function go_02_01(){window.location="./?doc=bbs/gnuboard.php&bo_table=calendar"}; // ¿ùÁßÇà»ç ÀÏ¶÷
  function go_02_02(){window.location="./?doc=bbs/gnuboard.php&bo_table=bbs01"}; // ºÀ»çÀÚ ¼¯ÀÓ
  function go_02_03(){window.location="./?doc=bbs/gnuboard.php&bo_table=bbs02"}; // º¸¹è·Î¿î Ä£±¸
  function go_02_04(){window.location="./?doc=bbs/gnuboard.php&bo_table=pds01"}; // ºÀ»çÀÚ·á
  function go_02_05(){window.location="./?doc=bbs/gnuboard.php&bo_table=column"}; // ÇÐºÎ¸ð¡¤ºÀ»çÀÚ ÄÃ·³


function go_03(){window.location="./?doc=bbs/gnuboard.php&bo_table=freetalk"}; // Ä¿¹Â´ÏÆ¼
  function go_03_01(){window.location="./?doc=bbs/gnuboard.php&bo_table=freetalk"}; // ÇÏ°í½ÍÀº¸»
  function go_03_02(){window.location="./?doc=bbs/gnuboard.php&bo_table=qna"}; // ¹¯°í ´äÇÏ±â
  function go_03_03(){window.location="./?doc=bbs/gnuboard.php&bo_table=hotlink"}; // ÃßÃµ»çÀÌÆ®  

function go_04(){window.location="./?doc=bbs/gnuboard.php&bo_table=photo"}; // ÀÚ·á½Ç
  function go_04_01(){window.location="./?doc=bbs/gnuboard.php&bo_table=photo"}; // »çÁøÀÚ·á½Ç
  function go_04_02(){window.location="./?doc=bbs/gnuboard.php&bo_table=pds02"}; // ÆÄÀÏÀÚ·á½Ç
  function go_04_03(){window.location="./?doc=bbs/gnuboard.php&bo_table=pds03"}; // À¯Æ¿ÀÚ·á½Ç
  function go_04_04(){window.location="./?doc=bbs/gnuboard.php&bo_table=pds_song02"}; // Âù¾ç³ª´®
  function go_04_05(){window.location="./?doc=bbs/gnuboard.php&bo_table=movie"}; // µ¿¿µ»ó




