quotepost_spanover = false
sflag = false
function quotepost_onmouseover(id,highlight)
{
 if (typeof quotepost_out_timeout != 'undefined') {clearTimeout(quotepost_out_timeout);}
 if (window.quotepost_spanover) {return;}
 var span_quotepost = layer("span_quotepost");
 span_quotepost.write('<table class="table_simple" style="background-color: #ECECEC" cellspacing="0" cellPadding="5" border="1"><tr style="background-color: #ECECEC"><td>'+xE_lang['MESS_LOADING']+'</td></tr></table>');

 mouseFollower = function()
 {
  var span_quotepost = layer("span_quotepost");
  span_quotepost.moveTo(mousex+25,mousey);
  span_quotepost.show();
 }

 var req = new JSHttpRequest();
 req.onreadystatechange = function()
 {
  if (req.readyState == 4)
  {
   layer('span_debug').write(req.responseText);
   if (typeof req.responseJS.span != 'undefined')
   {
    var span_quotepost = layer("span_quotepost");
    span_quotepost.write(req.responseJS.span);
    success = true;
   }
  }
 }
 req.caching = true;
 req.open('POST','/'+xE_lang['LANG']+'/forum,dyn,quotepost,'+id+'/',true);
 if (typeof highlight != 'undefined')
 {
  req.send({
	highlight: highlight
  });
 }
 else {req.send();}
}
function quotepost_onmouseout()
{
 if (window.quotepost_spanover) {return;}
 quotepost_out_timeout = setTimeout(function()
 {
  layer("span_quotepost").hide();
 },50);
 mouseFollower = function() {}
}
