<!--

document.write('<img src="https://admin.instantservice.com/resources/smartbutton/6391/25837/available.gif?'+Math.floor(Math.random()*10001)+'" style="width:0;height:0;visibility:hidden;position:absolute;" onLoad="agents_available()" onError="agents_not_available()">');

// IF AGENTS ARE AVAILABLE:
function agents_available(){
document.getElementById('smartbutton').innerHTML = '<A HREF="" onClick="window.open(\'https://admin.instantservice.com/links/6391/25837\',' +
   '\'custclient\',\'width=500,height=320,scrollbars=0\');var s=s_gi(s_account); s.eVar18= s.pageName; s.t(); return false;">' +
   '<IMG SRC="/images/zones/livechat/LCbtn_available.jpg" border="0"></A>';
   return true;
  }
// IF AGENTS ARE NOT AVAILABLE:
function agents_not_available() {
document.getElementById('smartbutton').innerHTML = '<A HREF="" onClick="window.open(\'https://admin.instantservice.com/links/6391/25837\',' +
   '\'custclient\',\'width=500,height=320,scrollbars=0\');var s=s_gi(s_account); s.eVar18= s.pageName; s.t(); return false;">' +
   '<IMG SRC="/images/zones/livechat/LCbtn_unavailable.jpg" border="0"></A>';
return true;
}

//-->