function greyTableHeader() {
document.write ('<table width="100%" cellspacing="0" cellpadding="0" class="tableBorders" align="center">');
document.write ('<tr><td width="100%" height="21">');
document.write ('<table width="100%" cellspacing="0" cellpadding="0">');
document.write ('<tr>');
document.write ('<td width="10" height="21"><img src="/imgs/template/tables/grey_lft.jpg" border="0"></td>');
document.write ('<td class="greyTableLogo">');
}

function greyTableContent() {
document.write ('</td>');
document.write ('<td width="10"><img src="/imgs/template/tables/grey_rgt.jpg" border="0"></td>');
document.write ('</tr>');
document.write ('</table>');
document.write ('</td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td class="tableMidLine articleText">');
}

function redTableHeader() {
document.write ('<table width="100%" cellspacing="0" cellpadding="0" class="tableBorders" align="center">');
document.write ('<tr><td width="100%" height="21">');
document.write ('<table width="100%" cellspacing="0" cellpadding="0">');
document.write ('<tr>');
document.write ('<td width="10" height="21"><img src="/imgs/template/tables/red_lft.jpg" border="0"></td>');
document.write ('<td class="redTableLogo">');
}

function redTableContent() {
document.write ('</td>');
document.write ('<td width="10"><img src="/imgs/template/tables/red_rgt.jpg" border="0"></td>');
document.write ('</tr>');
document.write ('</table>');
document.write ('</td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td class="tableMidLine shortcutText">');
}

function endTable() {
document.write ('</td>');
document.write ('</tr>');
document.write ('</table>');
document.write ('<br><br>');
}

function tableGap() {
document.write ('<tr>');
document.write ('<td height="5">');
document.write ('<img src="/imgs/template/generic/1x1.gif" height="5">');
document.write ('</td>');
document.write ('</tr>');
}

function buttonOpen() {
document.write ('<tr>');
document.write ('<td width="10" height="24"><img src="/imgs/template/tables/menu_lft.jpg" border="0"></td>');
document.write ('<td width="140" class="menuTableLogo">');
}

function buttonClose() {
document.write ('</td>');
document.write ('<td width="10"><img src="/imgs/template/tables/menu_rgt.jpg" border="0"></td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td colspan="3" height="2"><img src="imgs/template/generic/1x1.gif" height="2" border="0"></td>');
document.write ('</tr>');
}

function menuSpacer() {
document.write ('<tr>');
document.write ('<td colspan="3" height="2"><img src="imgs/template/generic/1x1.gif" height="2" border="0"></td>');
document.write ('</tr>');
}

function popup(mylink, windowname) {
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=600, height=540');
return false;
}

function popupP(mylink, windowname) {
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=450, height=700');
return false;
}

function variWin(mylink, windowname, wdth, hght) {
var bordersHeight=(hght+60);
var commandString='width='+wdth+', height='+bordersHeight;
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, commandString);
return false;
}