function getCookie(){
 if (document.cookie.indexOf(arguments[0]) != -1) return true ;
 else return null ;
}


document.write("<table width=210 border=0 cellspacing=0 cellpadding=0><tr>") ;

if (location.href.indexOf("chosun.com") != -1){
 var thisUrl = escape(location.href) ;
 if (getCookie("cs_id") == null){
  document.write(""
  +"<td><a href=http://membership.chosun.com/login/protect_sso/sso_user_info.jsp?returl="+thisUrl+"><img src=http://www.chosun.com/img/200305/vacation/mu_login_in.gif width=104 height=46 border=0></a></td>"
  +"<td><a href=http://membership.chosun.com/join/registUser.jsp?site=chosun><img src=http://www.chosun.com/img/200305/vacation/mu_login_regi.gif width=106 height=46 border=0></a></td>"
  +"") ;
 }else {
  document.write(""
  +"<td><a href=http://membership.chosun.com/login/logout.jsp?returl="+thisUrl+"><img src=http://www.chosun.com/img/200305/vacation/mu_login_out.gif width=104 height=46 border=0></a></td>"
  +"<td><a href=http://membership.chosun.com/join/registUser.jsp?act=update&site=chosun><img src=http://www.chosun.com/img/200305/vacation/mu_login_modi.gif width=106 height=46 border=0></a></td>"
  +"") ;
 }
}

document.write("</tr></table>") ;