function listen_to(id) {
  window.open("/listen?itemID="+id, "listen", "width=300,height=230,status=no");
}

function write_watermark() {
  var str = "";
  if (window.navigator.userAgent.indexOf("MSIE")>=0) {
    //for IE display Only
    str = '<img src="/images/spacer.gif" align="right" '
        + 'style="display:none !important;display:inline; '
        + 'margin-left:-3px; margin-top:-136px; width: 106px; height: 136px; '
        + 'filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'/images/protect02.png\', sizingMethod=\'crop\');"/>';    
  }
  else {
    //for MZ display Only
    str = '<img src="/images/protect02.png" width="109" height="136" style="display: inline ! important;margin-top:-136px; z-index:100;"/>';
  }  
  document.write(str);
}  

function write_watermark2() {
  var str = "";
  if (window.navigator.userAgent.indexOf("MSIE")>=0) {
    //for IE display Only
    str = '<img src="/images/spacer.gif" align="right" '
        + ' style="display:none !important;display:inline; '
        + ' margin-left:-3px; margin-top:-107px; width: 82px; height: 107px; '
        + ' filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'/images/protect01.png\', sizingMethod=\'crop\');"/>';
  }
  else {
    //for MZ display Only
    str = '<img src="/images/protect01.png" width="85" height="107" style="display: inline ! important;margin-top:-107px; z-index:100;"/>';
  }  
  document.write(str);
}  

function show_flash(idx){
  window.open('/page/playFlash?id='+idx, '_blank', 'width=400,height=375');
}