<!-- #include file="../include/skin.asp" -->
<script language = "JavaScript" src = "../style/magic.js"></script>
<%


tit="ÇÉ×ìÍÞÍÞ"
call web_head(0,0,4,0,0)
'----------------------------ÖÐ¼ä ¿ªÊ¼----------------------------
call em_main()
'----------------------------ÖÐ¼ä ½áÊø----------------------------
call web_end(0,4)

sub em_main()
%>
<table cellspacing=1 cellpadding=4 class=table>
<tr><td class=td0>&nbsp;ÇÉ×ìÍÞÍÞ</td></tr>
<tr class=bg_td><td align=center>
<div id=em_menu></div><div id=em_body></div></td></tr>
</table>
<script language=javascript>
self.resizeTo(550,400);
self.moveTo(0,0);

var img_m="<%response.write img_skin("m_")%>";
var i,j,k,k1,n,m1,ems="",em_dim,ntit="",em_frm="",em_word="",n_num=0,n_col=0;
var num_wawa=52;
var col_wawa=8;
var emss=document.location.search;
if (emss!="" && emss!=null)
{
  emss=emss.substring(1,emss.length);
  m1=emss.indexOf(",");
  if (m1>0)
  {
    em_dim=emss.split(",");
    em_frm=em_dim[0];
    em_word=em_dim[1];
    ems=em_dim[2];
  }
}

var tmp1="";
tmp1+="  <table border=0>";
//tmp1+="  <tr><td height=5></td></tr>";
tmp1+="  <tr>";
tmp1+="  <td><a style=\"cursor: hand;\" onclick=\"javascript:img_body('wawa');\">ÇÉ×ìÍÞÍÞ</a></td>";
tmp1+="  </tr>";
//tmp1+="  <tr><td height=5></td></tr>";
tmp1+="  </table>";
window.em_menu.innerHTML=tmp1;

function img_body(ib_ems)
{
  switch (ib_ems)
  {
  case "wawa":
    n_num=num_wawa;
    n_col=col_wawa;
    ntit="ÇÉ×ìÍÞÍÞ";
    break;
  default :
    n_num=num_wawa;
    n_col=col_wawa;
    ntit="ÇÉ×ìÍÞÍÞ";
    break;
  }
  var tmps="";
  tmps+="  <table border=0 cellspacing=0 cellpadding=3 oncontextmenu=\"self.event.returnValue=false\">";
  k=n_num/n_col;
  k1=Math.floor(k);
  if (k>k1) { k++; }
  for (i=1;i<=k;i++)
  {
    tmps+="    <tr height=28>";
    for (j=1;j<=n_col;j++)
    {
      if (((i-1)*n_col+j)>n_num) { break; }
      n=(i-1)*n_col+j;
      tmps+="  <td><Div style='padding:0;position:relative;width:48;height:48;left:0;top:0;'><Div style='padding:0;position:absolute;width:48;height:48;left:0;top:0;z-index:1;'><OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=48 height=48><PARAM NAME=movie VALUE='images/icon/audio/"+n+".swf'><param name=menu value=false><PARAM NAME=quality VALUE=high><PARAM NAME=play VALUE=false><param name='wmode' value='transparent'><embed src='images/icon/audio/"+n+".swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width=48 height=48></embed></OBJECT></Div><img src='images/icon/audio/blank.gif' style='padding:0;position:absolute;width:48;height:48;left:0;top:0;z-index:2;cursor:hand;' oncontextmenu=\"this.parentElement.children[0].children[0].Play();\" onmouseover=\"this.title = Audibles_Text["+n+"]\" onclick=\"javascript:jk_insert_ems('["+ib_ems+n+"]');\"></Div></td>";
    }
    tmps+="  </tr>";
  }
  tmps+="  </table>";
  window.em_body.innerHTML=tmps;
}

function img_skin(img_var) { return("<img border=0 src='<%response.write joekoe_cms.web_dir_skin%>small/" + img_var + ".gif' align=absmiddle>&nbsp;"); }

function jk_insert_ems(emvar)
{
  eval("opener.window."+em_frm+"."+em_word+".value+='"+emvar+"'");
}
-->
</script>
<%
  call web_copy()
end sub


%>