<!-- Start of main header code
{
	// set this variable to null for live system or other value for testing
	if ( document.domain == "dev.henman.ca" )
	{
		baseURL="http://dev.henman.ca/badinto";

		<!-- WHILE I'M TESTING ...	//-->
		document.write('<style type="text/css" media="all">'
		+			'body, html, #page { background-color: pink; }'
		+		'<\/style>'
		);

		// baseURL="http://www.badinto.com/in_dev";
		// document.write("*** Remove temp patch from badinto.css and header.js ***");
	}
	else
	{
		baseURL="http://www.badinto.com";
	}

	// open the page style
	document.write( '<div id="page">');

		// BADinTO logo
		document.write( '<div id="logo">');
			document.write( '<a href="'+baseURL+'">'
			+			'<img src="'+baseURL+'/badinto-logo.jpg" alt="BADinTO">'
			+		'<\/a>'
			);
		document.write( '<\/div>');

		// navigation = links to sub-pages
		document.write( '<div id="navbar">');
			spacer=" | ";
			// add the buttons
			document.write( "Navigate the BADinTO website: "
			+	'<a href="'+baseURL+'/season.htm">Season Dates<\/a> '
			+	spacer
			+	'<a href="'+baseURL+'/news.htm">Events/News<\/a> '
			+	spacer
			+	'<a href="'+baseURL+'/locations.htm">Locations<\/a> '
			+	spacer
			+	'<a href="'+baseURL+'/registration.htm">Registration<\/a> '
			+	spacer
			+	'<a href="'+baseURL+'/clinics.htm">Clinics<\/a> '
			+	spacer
			+	'<a href="'+baseURL+'/links.htm">Links<\/a> '
			+	spacer
			+	'<a href="'+baseURL+'/contact.htm">Contact Us<\/a> '
			+	spacer
			+	'<a href="'+baseURL+'"/">Home<\/a> '
			);
		document.write( '<\/div>');

// If membership is FULL ....
		document.write(	'<a href="mailto:info@BADinTO.com?subject=Membership" title="click on button to contact us">'
		+			'<img src="full.jpg" alt="Membership is currently FULL! Please contact us to be added to the waiting list" '
		+				'style="position: absolute; left: 600px; top: 20px; display: block;" border="0" />'
		+		'</a>'
		);

		// open the content style
		document.write( '<div id="page-content">');

	// *NOTE* The page and content styles are left OPEN here - they are closed in footer.js
}
//-->
