Atlas.sk script

Hello,

I've created script for mail.atlas.sk. Basically it's just copy of centrum.sk, because they are using the same engine.

@tobwithu: can you please check on seznam.cz script it doesn't work anymore.

Regards

tomop

<code>

/**********************************************************
Atlas.sk
**********************************************************/
var name="Atlas.sk";
var ver="2013-10-05";

function init(){
    this.loginData=["https://user.atlas.sk/","ego_user","ego_secret","ego_domain=atlas.sk"];
    this.dataURL="http://mail.atlas.sk/index.php?m=hp&op=load&qabook=0";
    this.viewURL="http://mail.atlas.sk/";
}
function getIconURL(){
  return "http://i0.cz/l/favicon/email-atlas-sk.png";
}
function getCount(aData){
  var fnd=aData.match(/"id":"0".+?"totalUnread":"(\d+)"/);
  return fnd?fnd[1]:-1;
}

</code>