function komo (polozenie, styl, ital, pad, k_font, k_kom, tekst)

{
document.write("<td style='font : 11px/15px  \"Arial CE\", \"Arial\" ; letter-spacing : 1px ; )")

if (polozenie==0)
{
document.write("text-align : left ; text-indent : 8px ; ")
}
else
{
document.write("text-align : center ; ")
}

if (styl==0)
{
document.write("font-weight : normal ; ")
}
else
{
document.write("font-weight : bold ; ")
}

if (ital==0)
{
document.write("font-style : normal ; ")
}
else
{
document.write("font-style : italic ; ")
}

document.write("padding : ")
document.write(pad)
document.write("px ;")

switch (k_font)
{
case 'bi' : document.write("color : #eeeeee ; ") ; break
case 'sz' : document.write("color : #5f5f5f ; ") ; break
case 'gr' : document.write("color : #2040a0 ;  ") ; break
case 'ca' : document.write("color : #000000 ; ") ; break
case 'cz' : document.write("color : #801010 ; ") ; break
default : 
{
document.write("color : #")
document.write(k_font)
document.write("; ")
}
}

switch (k_kom)
{
case 'bi' : document.write("background : #ffffff ") ; break
case 'gr' : document.write("background : #2040a0 ") ; break
case 'ni' : document.write("background : #2050d0 ") ; break
case 'cz' : document.write("background : #801010 ") ; break
case 'ja' : document.write("background : #c0c0c0 ") ; break
case 'sz' : document.write("background : #909090 ") ; break
case 'st' : document.write("background : #507099 ") ; break
case 'sj' : document.write("background : #5a7cac ") ; break
default : 
{
document.write("background : #")
document.write(k_kom)
}
}

document.write("'>")

if (((navigator.appName != "Microsoft Internet Explorer") ||  (parseInt(navigator.appVersion)>=6)) && polozenie==1)document.write("<center>")

document.write(tekst)
}

function pusta ()
{
komo (0,0,0,2,'bi','ffffff','')
}

function nagl (tekst)
{
komo (1,1,0,2,'bi','204080',tekst)
}

function lp (tekst)
{
komo (1,0,0,2,'bi','204080',tekst)
}

function gracz (tekst)
{
komo (0,0,0,2,'bi','507099',tekst)
}

function wynik (tekst)
{
komo (1,0,0,2,'ca','ccd2dd',tekst)
}

function tie (tekst)
{
komo (1,0,0,2,'ca','e4eaea',tekst)
}

function rankf (tekst)
{
komo (1,0,0,2,'bi','507099',tekst)
}

function rankp (tekst)
{
komo (1,0,0,2,'bi','608099',tekst)
}

function fed (tekst)
{
komo (1,0,0,2,'bi','507099',tekst)
}

