function over(a_color){
         a_color.color="#ff0000";
}
function out(a_color){
         a_color.color="#0000ff";
}
function showUser(user){
 window.showModalDialog('showusername.html?user='+user,window,'dialogHeight:220px;dialogWidth:360px;status:0;help:no');
}

function showArticle(aid){
  window.open("article.html?bbsid="+aid);
}

function showBoard(bid){
  top.window.location.href='board.html?boardid='+bid;
}

function writeBbs(bid){
 top.window.location.href="w.html?boardid="+bid;
}
function rssBbs(bid){
 top.window.location.href="rss.asp?boardID="+bid;
}
function isNumber(num){
 var patrn=/^[0-9]+$/;
 if (patrn.exec(num)) return false;
 return true;
}


function on_resize(){
	window.moveTo(-4,-4);
	window.resizeTo(screen.width+8,screen.height-20);
}

if(top.window.location.href==self.window.location.href){
	on_resize();
	if(screen.width<=800)window.onresize=on_resize;
}


function showHelp(){
  window.open("/97741/9/help.html","","width=500,height=400,scrollbars=yes");
}
function _m(id){
var url="manage/m.html?bbsId="+id;
var p=window.showModalDialog(url,window,'dialogHeight:80px;dialogWidth:250px;status:0;help:no');
}
