<!--
browserName=navigator.appName; 
if ((browserName=="Netscape") ||  (browserName=="Microsoft Internet Explorer"))
{     
 if (browserName=="Netscape")
    version="NS";
 else
    version="IE";
}
 else
    version="OTHER";
   
if ((version=="NS") || (version=="IE"))
{
if (version=="NS") 
    /* NS CSS URL */ 
     document.write('<'+'link rel="stylesheet" type="text/css" href="/css/riverPub1105.css" /><link href="/css/tmp_rpc.css" rel="stylesheet" type="text/css" />');
else
    /* IE CSS URL */
     document.write('<'+'link rel="stylesheet" type="text/css" href="/css/riverPub1105.css" /><link href="/css/tmp_rpc.css" rel="stylesheet" type="text/css" />');
}
else
    /* OTHER CSS URL */
     document.write('<'+'link rel="stylesheet" type="text/css" href="/css/riverPub1105Opera.css" /><link href="/css/tmp_rpc.css" rel="stylesheet" type="text/css" />');
//-->

document.write('<script type="text/javascript" src="/scripts/jquery.js"></script>');

function writeMainNav(header, logo) {
	document.write('<body>');
	document.write('<a name="top"></a>');
	document.write('<table width="100%" border="0" cellpadding="0" cellSpacing="0" class="mainTable">');
	document.write('<tr>');
	document.write('<td height="140px" width="100%" align="center"><iframe src="/store/ProductCatalog/webdocs/Riverside/topiframe.jsp" id="riversidecart" frameborder="0" scrolling="no" title="Sign In / Register and Shopping Cart links"></iframe></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td colspan="5" id="menu-top"><A class="headermenubutton" href="/products/index.html">Products A-Z</A><A class="headermenubutton" href="/scoring/index.html">Scoring Services</A><a class="headermenubutton" href="/large-scaleprograms/">Large-Scale Assessments</a><A class="headermenubutton" href="/events/index.html">Conferences &amp; Professional Development</A><A class="headermenubutton" href="/support/customer.html">Customer Service</A><A class="headermenubutton" href="/support/software.html">Software Support</A></td>');
	document.write('</tr>');
	document.write('<tr>'); 
	document.write('<td colspan="5" align="left" valign="top"><img src="/images/site/spacer.gif" alt="" width="20" height="20"></td>');
	document.write('</tr>');
	document.write('</table>');
}
function OuterContentShellPart1 () {
//*** This is the begining code of the MAIN outter table tag placed under the top Main Navigation area.
//*** The table below has been split to accommodates for the left content area/folder specific product menu list with menu imageBoxHeader. 
	document.write('<table width="100%" border="0" cellpadding="0" cellSpacing="0" class="mainTable">');
		document.write('<tr>')
			document.write('<td width="9" valign="top"><img src="../../images/site/spacer.gif" alt="" width="9" height="9"></td>');
			document.write('<td valign="top" class="leftwidth">');	
	  			document.write('<table border="0" cellpadding="0" cellspacing="0">');
}
function writeOuterContentAreaShell_withLeftMenu(imageBoxHeader, multipleItemsONLeftSide) {
	
					OuterContentShellPart1 ();
					if (imageBoxHeader != "") {
					    document.write('<tr>');
						    document.write('<td id="leftheader"><img src="/images/site/' + imageBoxHeader + '" alt=""></td>');
					    document.write('</tr>');
					    document.write('<tr>');
						    document.write('<td id="leftbar">');
							    document.write('<div class="leftmenu">');
												    printLeftMenu(menuList, subMenu, subMenuList, subMenuItem);
							    document.write('</div>');
						    document.write('</td>');
					    document.write('</tr>');
					    document.write('<tr>');
						    document.write('<td class="menuBGFooter">&nbsp;</td>');
					    document.write('</tr>');
	                }
					if (multipleItemsONLeftSide != "") {
						document.write(multipleItemsONLeftSide);
					}
					
					OuterContentShellPart2 ();
}


function LeftMenuRounded(HeaderText, multipleItemsONLeftSide) {
	
					OuterContentShellPart1 ();
					if (imageBoxHeader != "") {
					    document.write('<tr>');
						    document.write('<td id="leftheader"><div id="events" style="background-color:#00309d;color:White;font-weight:bold;font-size:.9em;text-align:center;padding-top:0;margin-top:0;width:170px;height:44px;" class="rounded {5px top}">' + HeaderText + '</div></td>');
					    document.write('</tr>');
					    document.write('<tr>');
						    document.write('<td id="leftbar">');
							    document.write('<div class="leftmenu">');
												    printLeftMenu(menuList, subMenu, subMenuList, subMenuItem);
							    document.write('</div>');
						    document.write('</td>');
					    document.write('</tr>');
					    document.write('<tr>');
						    document.write('<td class="menuBGFooter">&nbsp;</td>');
					    document.write('</tr>');
	                }
					if (multipleItemsONLeftSide != "") {
						document.write(multipleItemsONLeftSide);
					}
					
					OuterContentShellPart2 ();
}

function OuterContentShellPart2 () {
				document.write('</table>');
			document.write('</td>');
			document.write('<td width="10" valign="top"><img src="/images/site/spacer.gif" alt="" width="10" height="350"></td>');
			document.write('<td valign="top" class="mainwidth">');	
}

function writeFooter (copy) {
			document.write('</td>');
    		document.write('<td width="20" valign="top"><img src="/images/site/spacer.gif" alt="" width="20" height="10"></td>');
    	document.write('</tr>');
		document.write('<tr>');
    		document.write('<td align="center"><img src="/images/site/spacer.gif" alt="" width="1" height="1"></td>');
   			document.write('<td align="center"></td>');
    		document.write('<td align="center"></td>');
    		document.write('<td class="footerDivide"></td>');
   		 	document.write('<td align="center"></td>');
    	document.write('</tr>');
    	document.write('<tr>');
    		document.write('<td colspan="5" align="center">');
				document.write('<table border="0" cellspacing="0" cellpadding="0">');
    				document.write('<tr>');
   						document.write('<td colspan="2">&nbsp;</td>');
    				document.write('</tr>');
    				document.write('<tr>');
    					document.write('<td width="50" align="left"><img src="/images/site/spacer.gif" width="46" height="45" border="0"></td>');
						if(copy){
							document.write('<td class=copyright><A href="/products/index.html">Products</A> | <A href="/scoring/index.html">Services</A> | <A href="/events/index.html">Conferences &amp; Professional Development</A> | <A href="/support/customer.html">Customer Service</A> | <A href="/support/software.html">Software Support</A> | <A href="/contact/index.html">Contact</A> <BR> ' + copy);
						}else{
							document.write('<td class=copyright><A href="/products/index.html">Products</A> | <A href="/scoring/index.html">Services</A> | <A href="/events/index.html">Conferences &amp; Professional Development</A> | <A href="/support/customer.html">Customer Service</A> | <A href="/support/software.html">Software Support</A> | <A href="/contact/index.html">Contact</A> <BR> 2010 The Riverside Publishing Company, All Rights Reserved. Terms and Conditions.</td>');
						}
    				document.write('</tr>');
    			document.write('</table>');
    		document.write('<br> </td>');
    	document.write('</tr>');
	document.write('</table>');
	//Google Analytics: Tracking
	//var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	//document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
	//try 
	//{
	//	var pageTracker = _gat._getTracker("UA-6847604-1");
	//	pageTracker._trackPageview();
	//} 
	//catch(err) {}
	document.write('</body>');
	document.write('</html>');	
}

function writeOuterContentAreaShell() {
	// *** Currently being used by the following to include the footer piece of code:
	// *** 		/large-scaleprograms/
	// *** 		/productsafety/		
	document.write('<table border="0" cellpadding="0" cellSpacing="0" class="mainTable">');
		document.write('<tr>');
			document.write('<td width="9" valign="top"><img src="/images/site/spacer.gif" alt="" width="9" height="9"></td>');
			document.write('<td valign="top" class="leftwidth">&nbsp;</td>');
			document.write('<td width="10" valign="top"><img src="/images/site/spacer.gif" alt="" width="10" height="350"></td>');				
			document.write('<td valign="top" class="mainwidth">');
}

function writeProductSafety() {
	var productSafety = '<tr>';
    productSafety +=    '<td><a href="/productsafety/"><img src="/images/site/Product_Safety_Header_red.gif" alt="" border="0"></a></td>';
	productSafety +=	'</tr>';
	productSafety +=    '<tr>';
	productSafety +=    '<td id="leftbarProductSafety"><a href="/productsafety/">Click here for<br>important information<br>about our current<br>product safety notices.</a></td>';
	productSafety +=    '</tr>';
	productSafety +=    '<tr>';
	productSafety +=	'<td class="menuBGFooter">&nbsp;</td>';
	productSafety +=	'</tr>';
	return productSafety;
}