function calhead(calmonth,updated) {
document.write('<table align="center" width="600" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">');
document.write('<tr><td rowspan="2">');
document.write('<img src="graphics/sgiphx_text_logo_small.gif" width="292" height="45" alt="titlebar"></td>');
document.write('<td align="center"><div class="title">');
document.write(calmonth);
document.write('</div></td></tr>');
document.write('<tr><td align="center"><div class="updated">updated ');
document.write(updated);
document.write('</div></td></tr></table><p></p>');
}



function caltoplinks(nextmonthyear,fdeskmonth) {
document.write('<table class="toplinks" align="center" border="0" cellpadding="3" cellspacing="0" bgcolor="#EEEEFF">');
document.write('<tr><td width="118" align="center"><a href="index.html">home page</a></td>');
document.write('<td width="118" align="center"><a href="javascript:history.go(-1)">&lt;&lt; back </a></td>');
document.write('<td width="118" align="center"><a href="');
document.write(nextmonthyear);
document.write('_schedule.html">next month &gt;&gt;</a></td>');
document.write('<td width="118" align="center"><a href="http://sgi-usa.org/memberresources/fncc/fnccschedule.php" target="_blank">fncc schedule</a></td>');
document.write('<td width="118" align="center"><a href="');
document.write(fdeskmonth);
document.write('_front_desk.PDF" target="_blank">front desk</a></td></tr></table><p></p>');
}


function mFeature(FOfMonth) {
if (FOfMonth=='none') {
	document.write('<table align="center" width="600" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">');
	document.write('<tr><td align="center"><p>&nbsp;'); 
	document.write('</p></td></tr></table>');
	}
else {
	document.write('<table align="center" width="600" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">');
	document.write('<tr><td align="center"><p class="recur">FEATURE OF THE MONTH: '); 
	document.write(FOfMonth);
	document.write('</p></td></tr></table>');
	}
}


function daysOfWeek() {
document.write('<table class="txt" width="585" align="center" border="1" bordercolor="#000000" cellpadding="3" cellspacing="0">');
document.write('<tr bgcolor="#CCCCEE">');

document.write('<td><img src="graphics/transparent.gif" width="82" height="1" border="0" alt=""><br><span class="days"><center>Sun</center></span></td>');

document.write('<td><img src="graphics/transparent.gif" width="80" height="1" border="0" alt=""><br><span class="days"><center>Mon</center></span></td>');

document.write('<td><img src="graphics/transparent.gif" width="80" height="1" border="0" alt=""><br><span class="days"><center>Tue</center></span></td>');

document.write('<td><img src="graphics/transparent.gif" width="80" height="1" border="0" alt=""><br><span class="days"><center>Wed</center></span></td>');

document.write('<td><img src="graphics/transparent.gif" width="80" height="1" border="0" alt=""><br><span class="days"><center>Thu</center></span></td>');

document.write('<td><img src="graphics/transparent.gif" width="80" height="1" border="0" alt=""><br><span class="days"><center>Fri</center></span></td>');

document.write('<td><img src="graphics/transparent.gif" width="82" height="1" border="0" alt=""><br><span class="days"><center>Sat</center></span></td>');

document.write('</tr>');
}


function recurring() {
document.write('<tr><td class="toplinks" colspan="7" align="center" bgcolor="#CCCCEE">R e c u r r i n g &nbsp; &nbsp; E v e n t s</td></tr>');
document.write('<tr height="68">');

document.write('<td class="event"><p class="recur">Sundays:</p>');
document.write('<p></p>');
document.write('</td>');

document.write('<td class="event"><p class="recur">Mondays:</p>');
document.write('<p>&nbsp;</p>');
document.write('</td>');

document.write('<td class="event"><p class="recur">Tuesdays:</p>');
document.write('<p>&nbsp;</p>');
document.write('</td>');

document.write('<td class="event"><p class="recur">Wednesdays:</p>');
document.write('<p></p>');
document.write('<p></p>');
document.write('<p></p>');
document.write('</td>');

document.write('<td class="event"><p class="recur">Thursdays:</p>');
document.write('<p>&nbsp;</p>');
document.write('</td>');

document.write('<td class="event"><p class="recur">Fridays:</p>');
document.write('<p>&nbsp;</p>');
document.write('</td>');

document.write('<td class="event"><p class="recur">Saturdays:</p>');
document.write('<p></p>');
document.write('</td>');
document.write('</tr></table><p></p>');}



function footer() {
document.write('<div class="tdaddy">');
document.write('<a href="index.html">home</a> | '); 
document.write('<a href="about.html">about us</a> | '); 
document.write(' calendar | '); 
document.write('<a href="activities.html">activities</a> | '); 
document.write('<a href="links.html">links</a> | '); 
document.write('<a href="archive.html">archive</a> | '); 
document.write('<a href="sitemap.html">site map</a>');
document.write('</div>');
document.write('<br>');

document.write('<table align="center" width="624" height="6" border="0" cellpadding="0" cellspacing="0" bgcolor="#DDDDEE">');document.write('<tr><td><img src="graphics/transparent.gif" width="1" height="1" border="0" alt=""></td></tr></table>');
}