document.write('<table width="1050" border="0" align="center" cellpadding="0" cellspacing="0" id="container">');
    document.write('<tr>');
        document.write('<td colspan="3" style="height:140px; vertical-align:top">');
				document.write('<div id="header">');
						document.write('<div id="logo"><a href="index.htm"><img src="images/logo.png" width="202" height="15" border="0" alt="j rudman & associates" /></a></div>');
						document.write('<div id="navigation">');
								document.write('<ul>');
										document.write('<li><a href="services1.htm"><img src="images/nav1off.png" alt="services" width="59" height="19" border="0" id="nav1" onmouseover="MM_swapImage(\'nav1\',\'\',\'images/nav1on.png\',1)" onmouseout="MM_swapImgRestore()" /></a></li>');
										document.write('<li><a href="process.htm"><img src="images/nav2off.png" alt="process" width="55" height="19" border="0" id="nav2" onmouseover="MM_swapImage(\'nav2\',\'\',\'images/nav2on.png\',1)" onmouseout="MM_swapImgRestore()" /></a></li>');
										document.write('<li><a href="edge.htm"><img src="images/nav3off.png" alt="edge" width="37" height="19" border="0" id="nav3" onmouseover="MM_swapImage(\'nav3\',\'\',\'images/nav3on.png\',1)" onmouseout="MM_swapImgRestore()" /></a></li>');
										document.write('<li><a href="clients.htm"><img src="images/nav4off.png" alt="clients" width="47" height="19" border="0" id="nav4" onmouseover="MM_swapImage(\'nav4\',\'\',\'images/nav4on.png\',1)" onmouseout="MM_swapImgRestore()" /></a></li>');
										document.write('<li><a href="people.htm"><img src="images/nav5off.png" alt="people" width="50" height="19" border="0" id="nav5" onmouseover="MM_swapImage(\'nav5\',\'\',\'images/nav5on.png\',1)" onmouseout="MM_swapImgRestore()" /></a></li>');
										document.write('<li style="margin-right:0"><a href="contact.php"><img src="images/nav6off.png" alt="contact" width="55" height="19" border="0" id="nav6" onmouseover="MM_swapImage(\'nav6\',\'\',\'images/nav6on.png\',1)" onmouseout="MM_swapImgRestore()" /></a></li>');
								document.write('</ul>');
						document.write('</div>');
				document.write('</div>');
		document.write('</td>');
    document.write('</tr>');

if (pageId=='home'){ // check to see if it's home page
		document.write('<tr id="home1">');
			document.write('<td>&nbsp;</td>');
			document.write('<td style="background-color:#ECEEE1; text-align:center">');
			document.write('<object type="application/x-shockwave-flash" data="flash/Main.swf?path=flash/Main.swf" width="900" height="350">');
				document.write('<param  name="movie" value="flash/Main.swf?path=flash/Main.swf" />');
				document.write('<img src="images/homeBanner.gif" width="900" height="350" alt="NoFlash" />');
			document.write('</object>');
			document.write('</td>');
			document.write('<td>&nbsp;</td>');
		document.write('</tr>');
		document.write('<tr>');
			document.write('<td colspan="3" height="15"></td>');
		document.write('</tr>');		
}

		document.write('<tr>');
if (parseInt(navigator.appVersion)>3) {
		if (navigator.appName=="Netscape") {  //no need to force height, only needed for IE
				document.write('<td width="100"><div>&nbsp;</div></td>'); // no height specified
		}
		if (navigator.appName.indexOf('Microsoft')!=-1) {
				winH = document.body.offsetHeight-20;
				if (pageId=='home') {
					divH = winH - 540; // 170 + 370 the height of the flash banner and gutter
				} else {
					divH = winH - 170;
				}
				document.write('<td width="100"><div style="height:' + divH + 'px">&nbsp;</div></td>'); //min height for IE
		}
} else {
		document.write('<td width="100"><div>&nbsp;</div></td>'); // no height specified
}
		document.write('<td valign="top" id="main">');
		
		
