function header() {
	document.write("<div id='body'>");
	document.write("<div id='top'>Friends of Chi Gung and Tai Chi</div>");
	document.write("<div id='linksArea'>");
	document.write("<div id='links'><a href='index.html'>Home</a><a href='workshops.html'>Workshops</a><a href='register.html'>Register</a><a href='instructors.html'>Instructors</a><a href='faq.html'>FAQ</a><a href='contact.html'>Contact Us</a></div>");
	document.write("</div>");
	document.write("<div id='frame'>");
	document.write("<div id='bagua'>");
}

function footer() {
	document.write("</div>");
	document.write("</div>");
	document.write("<div id='footer'>Copyright &copy; 2007, Friends of Chi Gung &amp; Tai Chi</div>");
	document.write("</div>");
}

function upcomingWorkshops() {
	document.write("<p class='title'>Upcoming Workshops</p>");
	document.write("<div id='workshops'>");
	document.write("<p>No workshops are scheduled at this time.  Contact Martel Chen at <a href=\"mailto:chigung2@aol.com\">chigung2@aol.com</a> if you have any questions.</p>");
	document.write("</div>");
}

/*
function upcomingWorkshops() {
	var defaultTime = "11am - 6pm and 10:30am - 5:30pm";
	var defaultLocation = "Edward Health &amp; Fitness Center, 6600 Route 53, Woodridge, IL 60517";
	var defaultPrice = "$180* / $200";
	document.write("<p class='title'>Upcoming Workshops</p>");
	document.write("<div id='workshops'>");

	buildWorkshop("Single Palm Change - Ba Gua Workshop", 
		"Craig Barnes",
		"Saturday, April 21 and Sunday, April 22", 
		defaultTime,
		defaultLocation,
		"workshops.html#baguainfo",
		defaultPrice);
	buildWorkshop("Dragon and Tiger - Chi Gung Workshop", 
		"Craig Barnes",
		"Saturday, September 15 and Sunday, September 16", 
		defaultTime,
		defaultLocation,
		"workshops.html#dragontiger",
		defaultPrice);
	
	document.write("*Advanced registration (paid 14 days prior to workshop): $90 for Saturday only and $180 for the two-day weekend workshops; otherwise $100 and $200 respectively.  ($25 or $50 of the registration fee is non-refundable, respectively.)");
	document.write("<p><a href='registrationform.pdf'>Click here to download the PDF registration form!</a></p>");
	document.write("</div>");
}
*/

function buildWorkshop(title, instructor, dateString, timeString, locationString, url, price) {
	document.write("<p><a href='" + url + "' class='redtitle'>" + title + "</a>");
	document.write("<br><span class=\"label\">Instructor: </span>" + instructor);
	document.write("<br><span class=\"label\">Date: </span>" + dateString);
	document.write("<br><span class=\"label\">Time: </span>" + timeString);
	document.write("<br><span class=\"label\">Place: </span>" + locationString);
	document.write("<br><span class=\"label\">Price: </span>" + price);
	document.write("</p>");
}

