/*
 * ONLY USE lowercase FOR ALL OPTIONS
 * CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON
 */
var color		= "0F0066"	// HEADER BACKGROUND COLOR (EDIT IN navygray.css FILE)
var flashheight	= "50"		// HEIGHT OF THE FLASH (IN PIXELS)
var flashwidth	= "750"		// WIDTH OF THE FLASH (IN PIXELS)
var showdate	= "yes"		// SHOW THE DATE ON THE PAGE
var stripes	 	= "yes"		// SHOW STRIPE UNDER THE FLASH
var fixwrap		= "no"		// MAKE yes ONLY IF MENUS ARE WRAPPING
	
var paragraph_1 	= "yes"		// SHOW THE 1ST PARAGRAPH
var paragraph_2 	= "yes"		// SHOW THE 2ND PARAGRAPH
var paragraph_3 	= "yes"		// SHOW THE 3RD PARAGRAPH
var paragraph_4 	= "yes"		// SHOW THE 4TH PARAGRAPH
var showimage		= "yes"		// SHOW A SIDEBAR IMAGE											
var topspacing		= "10"		// NUDGE SIDEBAR DOWN
var sidewidth		= "125"		// SIDEBAR WIDTH
var d				= new Date();

function printHeader()
{
	var headerContent = 
	'<table cellpadding="0" cellspacing="0" border="0" width="100%">' +
	'	<tr>' +
	'		<td align="center" valign="top">' +
	'			<table cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="#'+color+'">' +
	'				<tr>' +
	'					<td align="left" class="headercolor">' +
	'						<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" id="logo">' +
	'							<PARAM NAME="movie" VALUE="logo.swf">' +
	'							<PARAM NAME="quality" VALUE="high">' +
	'							<PARAM NAME="wmode" VALUE="transparent">' +
	'							<PARAM NAME="bgcolor" VALUE="#'+color+'">' +
	'							<EMBED src="logo.swf" quality="high" wmode="transparent" bgcolor="#'+color+'" WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" NAME="logo" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>' +
	'						</OBJECT><br>';
	if (stripes == "yes") {
		headerContent += 
		'				</td>' +
		'			</tr>' +
		'			<tr class="printhide">' +
		'				<td class="pagebars">' +
		'					<img src="images/spacer.gif" width="10" height="1"><br>';
	}
	headerContent +=
	'					</td>' +
	'				</tr>' +
	'			</table>';
	if (showdate == "yes") {
		var d = new Date();
		var weekday = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
		var monthname = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
		headerContent +=
		'		<div id="date-location" class="printhide">' +
		'			<span class="date-font">' + 
						weekday[d.getDay()] + ',&nbsp;' +
						monthname[d.getMonth()] + '&nbsp;' +
						d.getDate() + ',&nbsp;' +
						d.getFullYear() + '<br>' +
		'			</span>' +
		'		</div>';
	}
	headerContent +=
	'			<table cellpadding="0" cellspacing="0" border="0" width="100%">' +
	'				<tr>' +
	'					<td class="lighthousebackground">' +
	'						<img src="images/lighthouse.jpg" border="0" width="1042" height="150" alt="Image"><br>' +
	'					</td>' +
	'				</tr>' +
	'				<tr class="printhide">' +
	'					<td class="pagebars">' +
	'						<img src="images/spacer.gif" width="10" height="1" alt="image"><br>' +
	'					</td>' +
	'				</tr>' +
	'			</table>' +
	'			<table cellpadding="0" cellspacing="0" border="0" class="menutable">' +
	'				<tr>' +
	'					<td class="printhide" align="center">' +
	'						<table cellpadding="0" cellspacing="0" border="0">' +
	'							<tr>' +
	'								<td>' +
	'									<ul id="menunav">' +
	'										<li style="width: 85px;"><a href="index.html">Welcome</a></li>' +
	'										<li style="width: 85px;"><a href="about.html">About Us</a></li>' + 
	'										<li style="width: 85px;"><a href="planning.html">Planning</a></li>' + 
	'										<li style="width: 85px;"><a href="solutions.html">Solutions</a></li>' +
	'										<li style="width: 85px;"><a href="international.html">International</a></li>' + 
	'										<li style="width: 85px;"><a href="philanthropy.html">Philanthropy</a></li>' +
	'										<li style="width: 85px;"><a href="advisors.html">Advisors</a></li>' +
	'										<li style="width: 85px;"><a href="publications.html">Publications</a></li>' +
	'										<li style="width: 85px;"><a href="gallery1.html">Gallery</a></li>' +
	'										<li style="width: 85px;"><a href="testimonials.html">Testimonials</a></li>' + 
	'										<li style="width: 85px;"><a href="contact.html">Contact Us</a></li>' +
	'									</ul>' +
	'								</td>' +
	'							</tr>' +
	'						</table>';
	if (fixwrap == "yes") {
		headerContent +=
		'					<img src="images/spacer.gif" width="900" height="1"><br>';
	}
	headerContent +=
	'					</td>' +
	'				</tr>' +
	'			</table>' +
	'			<table cellpadding="0" cellspacing="0" border="0" width="100%">' +
	'				<tr>' +
	'					<td align="left" valign="top" class="sidebar-background">' +
	'						<iframe name="Sidebar" src="sidebar.html" width="187" height="600" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" class="sidebar-frame"></iframe>' +
	'					</td>' +
	'					<td align="left" valign="top" width="40" class="pageheight">' +
	'						<div id="cornerimage">' +
	'							<img src="images/spacer.gif" height="40" width="40" alt="image"><br>' +
	'						</div>' +
	'						<img src="images/spacer.gif" height="200" width="10" border="0" alt="image"><br>' +
	'					</td>' +
	'					<td align="center" valign="top" class="shadow-horizontal">' +
	'						<br><br>' +
	'						<table cellpadding="5" cellspacing="0" border="0" width="100%">' +
	'							<tr>' +
	'								<td align="center"><img src="images/Headers/TWG Logo.jpg"></td>' +
	'							</tr>' +
	'							<tr>' +
	'								<td align="center" class="logotitle">' +
	'									Innovative Wealth Strategies for Centimillionaires &amp; Billionaires Worldwide' +
	'								</td>' +
	'							</tr>' +
	'							<tr>' +
	'								<td>&nbsp;</td>' +
	'							</tr>' +
	'							<tr>' +
	'								<td align="left" valign="top" class="just">';
	document.write(headerContent);
}
function printFooter()
{
	var footerContent = 
	'									<a href="contact.html"><i>Contact Us</i></a> | <a href="sitemap.html"><i>Site Map</i></a><br>' +
	'									<br><br>' +
	'								</td>' +
	'							</tr>' +
	'							<tr>' +
	'								<td class="shadow-horizontal">' +
	'									<table cellpadding="6" cellspacing="0" border="0" width="100%">' +
	'										<tr>' +
	'											<td align="left" valign="top" width="33%">' +
	'												<span class="footer">Copyright &copy; 1983-' + d.getFullYear() + ' <a href="index.html" target="_top">The Wealth Group</a>' +			
	'												<br>' +
	'												All Rights Reserved.</span>' +
	'											</td>' +
	'											<td align="center" valign="top" width="33%">' +
	'												<span class="footer">Our Privacy Policy: <a href="privacy.html">Privacy Policy</a></span>' +
	'											</td>' +
	'											<td align="right" valign="top" width="33%">' +
	'												<span class="footer">For more information: <a href="contact.html">Contact Us</a></span>' +
	'											</td>' +
	'										</tr>' +
	'										<tr>' +
	'											<td align="left" valign="top" colspan="3">' +
	'												<span class="footer">Information in this web site is intended only as a general explanation of any estate or charitable planning issues faced by high net worth individuals and families.&nbsp; Nothing herein is intended to constitute a professional opinion or tax or legal advice.&nbsp; Please be sure to consult with your own advisors, or other competent professionals, for specific counsel.</span>' +
	'												<p></p>' +
	'												<span class="footerunderline">Required IRS Circular 230 Notice:</span><br>' +
	'												<span class="footer">Any advice, or information, concerning a federal tax issue on this web site is not intended to be used, and cannot be used, for the purposes of (i) avoiding penalties imposed under the United States Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter discussed herein.</span>' +
	'											</td>' +
	'										</tr>' +
	'									</table>' +
	'								</td>' +
	'							</tr>' +
	'						</table>' +
	'					</td>' +
	'					<td align="left" valign="top" width="40" class="pageheightright">' +
	'						<div id="cornerimageright">' +
	'							<img src="images/spacer.gif" height="40" width="40" alt="image"><br>' +
	'						</div>' +
	'						<img src="images/spacer.gif" height="200" width="10" border="0" alt="image"><br>' +
	'					</td>' +
	'					<td align="middle" valign="top" class="sidebar-background-right">' +
	'						<table cellpadding="0" cellspacing="0" border="0" class="sidebartext-right" style="width: 150px;">' +
	'							<tr>' +
	'								<td>' +
	'									<br><br>' +
	'									<br><br>' +
	'									<br><br>';
	if (paragraph_1 == "yes") {
		footerContent += 
		'								<fieldset>' +
		'									<legend class="italic">Proprietary Ideas</legend>' +
		'									<div class="topPad">' +
		'										Be sure to visit our <a href="solutions.html">Solutions</a> section to see how we offer you proprietary, unique ideas to solve your unique goals.' +
		'									</div>' +
		'								</fieldset>' +
		'								<br><br>';
	}
	if (paragraph_2 == "yes") {
		footerContent += 
		'								<fieldset>' +
		'									<legend class="italic">International Clientele</legend>' +
		'									<div class="topPad">' +
		'										Be sure to visit our <a href="international.html">International</a> section to see how we work with clients all over the world.' +
		'									</div>' +
		'								</fieldset>' +
		'								<br><br>';
	}
	if (paragraph_3 == "yes") {
		footerContent += 
		'								<fieldset>' +
		'									<legend class="italic">Philanthropy</legend>' +
		'									<div class="topPad">' +
		'										We are especially passionate about supporting charities.&nbsp; See our <a href="philanthropy.html">Philanthropy</a> section to see the various charities we, and our clients, support.&nbsp; See how we could support your favorite charity too!' +
		'									</div>' +
		'								</fieldset>' +
		'								<br><br>';
	}
	if (paragraph_4 == "yes") {
		footerContent += 
		'								<fieldset>' +
		'									<legend class="italic">Multimedia</legend>' +
		'									<div class="topPad">' +
		'										Be sure to visit our own Wealth magazines in the <a href="publications.html">Publications</a> section and photos of Michael with celebrities and well known business people in the <a href="gallery1.html">Gallery</a> section.' +
		'									</div>' +
		'								</fieldset>' +
		'								<br><br>';
	}
	footerContent += 
	'								</td>' +
	'							</tr>' +
	'						</table>' +
	'					</td>' +
	'				</tr>' +
	'			</table>' +
	'		</td>' +
	'	</tr>' +
	'</table>';
	
	document.write(footerContent);
}
