<!--
// Bathmologies
function p(n){document.write(n)}
function write_omada(cls,name,bathmoi,agones,n,i,h,t1,t2,en,ei,eh,et1,et2,mn,mi,mh,mt1,mt2,bg1,bg2)
{
function box(cls2,opt)
{
p('<td bordercolor="'+bg1+'" bgcolor="'+bg2+'" align="center" class="'+cls+cls2+'" height="16">'+opt+'</td>');
}
p('<tr>');
p('<td width="130" bordercolor="'+bg1+'" align="left" bgcolor="'+bg2+'" class="'+cls+'1" height="16">'+name+'</td>');
p('<td width="30" bordercolor="'+bg1+'" align="center" bgcolor="'+bg1+'" class="'+cls+'1" height="16"><font color="white"><b>'+bathmoi+'</b></font></td>');
p('<td bordercolor="'+bg1+'" align="center" bgcolor="'+bg2+'" class="'+cls+'1" height="16"><font color="red"><b>'+agones+'</b></font></td>');
box(1,n);
box(0,i);
box(0,h);
p('<td colspan="2" bordercolor="'+bg1+'" bgcolor="'+bg2+'" align="center" class="'+cls+'1" height="16">'+t1+'-'+t2+'</td>');
box(1,en);
box(0,ei);
box(0,eh);
p('<td colspan="2" bordercolor="'+bg1+'" bgcolor="'+bg2+'" align="center" class="'+cls+'1" height="16">'+et1+'-'+et2+'</td>');
box(1,mn);
box(0,mi);
box(0,mh);
p('<td colspan="2" bordercolor="'+bg1+'" bgcolor="'+bg2+'" align="center" class="'+cls+'2" height="16">'+mt1+'-'+mt2+'</td></tr>');
}
function topb(name,topc1,topc2,idco,idch,idcd)
{
function topbox(span,cls,txt,sort)
{
p('<td bordercolor="'+topc1+'" align="center" bgcolor="'+topc2+'" class="'+cls+'" height="18"'+span+'>');
if (sort!=0) p('<a href="stats_soccer_ratings.aspx?idco='+idco+'&idch='+idch+'&idcd='+idcd+'&sort='+sort+'" target="_self">');
p('<font color="black">'+txt+'</font>');
if (sort!=0) p('</a>');
p('</td>');
}
p('<tr><td bordercolor="'+topc1+'" align="center" bgcolor="'+topc1+'" class="PT1" rowspan="2" colspan="2" width="160" height="36">');
p('<a href="stats_soccer_ratings.aspx?idco='+idco+'&idch='+idch+'&idcd='+idcd+'&sort=2" target="_self"><font face="Arial" color="white" size="3"><b>'+name+'</b></font></a></td>');
topbox(' width="150" colspan="6"','PT1b','<b>ΣΥΝΟΛΟ</b>',0);
topbox(' width="125" colspan="5"','PT1b','<b>ΕΝΤΟΣ ΕΔΡΑΣ</b>',0);
topbox(' width="125" colspan="5"','PT2b','<b>ΕΚΤΟΣ ΕΔΡΑΣ</b>',0);
p('</tr><tr>');
topbox(' width="25"','PT1','Αγ.',3);
topbox(' width="25"','PT1','Ν',4);
topbox(' width="25"','PT0','Ισ',5);
topbox(' width="25"','PT0','Ητ',6);
topbox(' width="25"','PT1','Επ',7);
topbox(' width="25"','PT0','Αμ',8);
topbox(' width="25"','PT1','Ν',9);
topbox(' width="25"','PT0','Ισ',10);
topbox(' width="25"','PT0','Ητ',11);
topbox(' width="25"','PT1','Επ',12);
topbox(' width="25"','PT0','Αμ',13);
topbox(' width="25"','PT1','Ν',14);
topbox(' width="25"','PT0','Ισ',15);
topbox(' width="25"','PT0','Ητ',16);
topbox(' width="25"','PT1','Επ',17);
topbox(' width="25"','PT3','Αμ',18);
p('</tr>');
}
//-->

