
function members(kraj,kod,flaga,nazwa,president,emailpres,fotopres,inforg,logo,webpage,status) {
dw('<div style="margin-top:5px; width:600px; padding:2px; border-color:white; border-style:solid; border-width:1px; margin-left:10px; ">');
dw('<table align="center" border="0" style="margin-left:5px; margin-top:10px; width:590px;" cellspacing="1" cellpadding="1">');
dw('<tr><td  valign="top" style="font-size:12px; width="525">');
if (kod != "") {
dw('<u>'+kraj+'</u> ('+kod+')');
} else {
dw('<u>'+kraj);
}
dw('</td><td rowspan="2" align="center" width="75" valign="middle">');
dw('<img src="../images/flags/'+flaga+'" width="48" height="32" border="0" alt="'+kraj+'"></td>');
dw('</td></tr>');
dw('<tr><td valign="top">');
dw('<div style="background-color:#E3F5FD; padding:2px; padding-left:100px; border-top-width:1px; border-top-style:solid; border-top-color:silver; border-bottom-width:1px; border-bottom-style:solid; border-bottom-color:silver; font-weight:normal; margin-right:10px;">');
dw('<b>'+nazwa+'</b>');
dw('</div>');
dw('</td></tr>');
dw('</table>');

if (status == "pending") {

dw('<table style="width:100%; font-weight:normal; background-color:#F1FAFE; ">');
dw('<tr><td width="100" style="vertical-align:top; text-align:center;">');
dw('&nbsp;');
dw('</td><td valign="top" style="line-height:18px; background-color:#F1FAFE; padding-left:5px;">');
dw('pending');
dw('</td></tr></table>');
dw('</div>');

} else if (status == "OK") {
dw('<table style="width:100%; font-weight:normal; background-color:#F1FAFE; ">');
dw('<tr><td width="100" style="vertical-align:top; text-align:center;">');
if (ver_lang == "esp") {
dw('<b>Presidente</b>:<br />');
} else if (ver_lang == "fran") {
dw('<b>Président</b>:<br />');
} else  {
dw('<b>President</b>:<br />');
}

if (fotopres == "") { fotopres = "nopresidentfoto.jpg"; }
if (emailpres != "") {
dw('<a href="mailto:'+emailpres+'"><img style="margin-top:3px; margin-bottom:3px;" src="../images/'+fotopres+'" width="67" border="0" alt="'+president+'"></a><br />');
} else {
dw('<img style="margin-top:3px; margin-bottom:3px;"  src="../images/'+fotopres+'" width="67" border="0" alt="'+president+'"><br />');
}
dw('<span style="font-size:9px;">'+president+'</span><br />');
if (emailpres != "") {
dw('<span style="margin-left:50px;">&rarr; <a href="mailto:'+emailpres+'">Email</a></span>');
}
dw('</td><td valign="top" style="line-height:18px; background-color:#F1FAFE; padding-left:5px;">');
dw(inforg);
dw('</td><td width="80" style="vertical-align:top; background-color:#F1FAFE;">');
if (webpage != "") {
dw('<a href="'+webpage+'" target="'+kraj+'"><img style="margin-top:3px;" src="../images/'+logo+'" width="80" alt="'+kraj+' webpage" border="0" /></a>');
} else {
dw('&nbsp;');
}
dw('</td></tr></table>');
dw('</div>');
}
}
