// Side Navigation ======================================================

function sideNav(depth,section)
	{

// series
if (section == "series")
	{
	var button ='<a href="'+depth+'categories/series.htm"><img src="'+depth+'graphics/buttons/bseries_ov.gif" width="151" height="20" name="index" alt="Series" border="0"></a>';
	}
	else 
	{
	var button ='<A onmouseover="roll1(\'series\',\'seriesNavon\')" onmouseout="roll1(\'series\',\'seriesNav\')" href="'+depth+'categories/series.htm"><img src="'+depth+'graphics/buttons/bseries.gif" width="151" height="20" name="series" border="0" alt="Series"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /series

// specials
if (section == "specials")
	{
	var button ='<a href="'+depth+'categories/specials.htm"><img src="'+depth+'graphics/buttons/bspecials_ov.gif" width="151" height="20" name="index" alt="Specials" border="0"></a>';
	}
	else 
	{
	var button ='<A onmouseover="roll1(\'specials\',\'specialsNavon\')" onmouseout="roll1(\'specials\',\'specialsNav\')" href="'+depth+'categories/specials.htm"><img src="'+depth+'graphics/buttons/bspecials.gif" width="151" height="20" border="0" name="specials" alt="Specials"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /specials

// index
if (section == "index")
	{
	var button ='<a href="'+depth+'categories/index.htm"><img src="'+depth+'graphics/buttons/bindex_ov.gif" width="151" height="20" name="index" alt="Index of Programs" border="0"></a>';
	}
	else 
	{
	var button ='<A onmouseover="roll1(\'index\',\'indexNavon\')" onmouseout="roll1(\'index\',\'indexNav\')" href="'+depth+'categories/index.htm"><img src="'+depth+'graphics/buttons/bindex.gif" width="151" height="20" alt="index" name="index" border="0"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /index

// culture
if (section == "culture")
	{
	var button ='<a href="'+depth+'categories/culture.htm"><img src="'+depth+'graphics/buttons/bculture_ov.gif" width="151" height="30" name="culture" alt="culture &amp; Medicine" border="0"></a>';
	}
	else 
	{
	var button ='<A onmouseover="roll1(\'culture\',\'cultureNavon\')" onmouseout="roll1(\'culture\',\'cultureNav\')" href="'+depth+'categories/culture.htm"><img src="'+depth+'graphics/buttons/bculture.gif" width="151" height="30" alt="Culture and Society" name="culture" border="0"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /culture

// current events
if (section == "currevents")
	{
	var button ='<a href="'+depth+'categories/currevents.htm"><img src="'+depth+'graphics/buttons/bcurrevents_ov.gif" width="151" height="20" name="currevents" alt="Current Events" border="0"></a>';
	}
	else 
	{
	var button ='<A onmouseover="roll1(\'currevents\',\'curreventsNavon\')" onmouseout="roll1(\'currevents\',\'curreventsNav\')" href="'+depth+'categories/currevents.htm"><img src="'+depth+'graphics/buttons/bcurrevents.gif" width="151" height="20" border="0" alt="current events" name="currevents"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /current events

// history
if (section == "history")
	{
	var button ='<a href="'+depth+'categories/history.htm"><img src="'+depth+'graphics/buttons/bhistory_ov.gif" width="151" height="20" name="history" alt="History" border="0"></a>';
	}
	else 
	{
	var button ='<A onmouseover="roll1(\'history\',\'historyNavon\')" onmouseout="roll1(\'history\',\'historyNav\')" href="'+depth+'categories/history.htm"><img src="'+depth+'graphics/buttons/bhistory.gif" width="151" height="20" name="history" border="0" alt="History"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /history

// howto
if (section == "howto")
	{
	var button ='<a href="'+depth+'categories/howto.htm"><img src="'+depth+'graphics/buttons/bhowto_ov.gif" width="151" height="20" name="howto" alt="How-To" border="0"></a>';
	}
	else 
	{
	var button ='<A onmouseover="roll1(\'howto\',\'howtoNavon\')" onmouseout="roll1(\'howto\',\'howtoNav\')" href="'+depth+'categories/howto.htm"><img src="'+depth+'graphics/buttons/bhowto.gif" width="151" height="20" name="howto" alt="How To" border="0"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /howto

// nature
if (section == "nature")
	{
	var button ='<a href="'+depth+'categories/nature.htm"><img src="'+depth+'graphics/buttons/bnature_ov.gif" width="151" height="18" name="nature" alt="Nature" border="0"></a>';
	}
	else 
	{
	var button ='<A onmouseover="roll1(\'nature\',\'natureNavon\')" onmouseout="roll1(\'nature\',\'natureNav\')" href="'+depth+'categories/nature.htm"><img src="'+depth+'graphics/buttons/bnature.gif" width="151" height="18" name="nature" alt="Nature" border="0"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /nature

// science
if (section == "science")
	{
	var button ='<a href="'+depth+'categories/science.htm"><img src="'+depth+'graphics/buttons/bscience_ov.gif" width="151" height="20" name="science" alt="Science and Technology" border="0"></a>';
	}
	else 
	{
	var button ='<A onmouseover="roll1(\'science\',\'scienceNavon\')" onmouseout="roll1(\'science\',\'scienceNav\')" href="'+depth+'categories/science.htm"><img src="'+depth+'graphics/buttons/bscience.gif" width="151" height="20" name="science" alt="Science and Technology" border="0"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /science

// travel
if (section == "travel")
	{
	var button ='<a href="'+depth+'categories/travel.htm"><img src="'+depth+'graphics/buttons/btravel_ov.gif" width="151" height="20" name="travel" alt="Travel and Exploration" border="0"></a>';
	}
	else 
	{
	var button ='<a onMouseOver="roll1(\'travel\',\'travelNavon\')" onMouseOut="roll1(\'travel\',\'travelNav\')" href="'+depth+'categories/travel.htm"><img src="'+depth+'graphics/buttons/btravel.gif" width="151" height="20" name="travel" alt="Travel and Exploration" border="0"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /travel

// contact
if (section == "contact")
	{
	var button ='<a href="'+depth+'categories/contact.htm"><img src="'+depth+'graphics/buttons/bcontact_ov.gif" width="151" height="30" name="contact" alt="Contact OPB" border="0"></a>';
	}
	else 
	{
	var button ='<a onMouseOver="roll1(\'contact\',\'contactNavon\')" onMouseOut="roll1(\'contact\',\'contactNav\')" href="'+depth+'categories/contact.htm"><img src="'+depth+'graphics/buttons/bcontact.gif" width="151" height="30" name="contact" alt="Contact OPB" border="0"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /contact

// distribution
if (section == "distribution")
	{
	var button ='<a href="'+depth+'categories/distribution.htm"><img src="'+depth+'graphics/buttons/bdistribution_ov.gif" width="151" height="20" name="distribution" alt="Distribution Services" border="0"></a>';
	}
	else 
	{
	var button ='<a onMouseOver="roll1(\'distribution\',\'distributionNavon\')" onMouseOut="roll1(\'distribution\',\'distributionNav\')" href="'+depth+'categories/distribution.htm"><img src="'+depth+'graphics/buttons/bdistribution.gif" width="151" height="20" border="0" name="distribution" alt="Distribution"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /distribution

// home
if (section == "home")
	{
	var button ='<a onMouseOver="roll1(\'home\',\'homeNavon\')" onMouseOut="roll1(\'home\',\'homeNav\')" href="'+depth+'index.htm"><img src="'+depth+'graphics/buttons/bhome.gif" width="151" height="20" name="home" border="0" alt="Home"></a>';
	}
	else
	{
	var button ='<a onMouseOver="roll1(\'home\',\'homeNavon\')" onMouseOut="roll1(\'home\',\'homeNav\')" href="'+depth+'index.htm"><img src="'+depth+'graphics/buttons/bhome.gif" width="151" height="20" name="home" border="0" alt="Home"></a>';
	}
document.writeln('<tr><td>'+button+'</td></tr>');
// /home
}

// /Side Navigation ======================================================


// Feature Box ======================================================
function featureBox(depth,section)
	{
if (section == "series")
	{
	var featurebox = '<a href="'+depth+'programs/hdetectives.htm"><img src="'+depth+'graphics/featurebox/series_box.jpg" width="151" height="151" border="0" alt="History Detectives"></a>';
	var label = '<img src="'+depth+'graphics/featurebox/series_label.gif" width="151" height="28" alt="History Detectives">';
}	
if (section == "specials")
	{
	var featurebox = '<a href="'+depth+'programs/lodges.htm"><img src="'+depth+'graphics/featurebox/lodges_box.jpg" width="151" height="151" border="0" alt="Great Lodges"></a>';
	var label = '<img src="'+depth+'graphics/featurebox/lodges_label.gif" width="151" height="28" alt="Great Lodges of the National Parks">';
}
if (section == "index")
	{
	var featurebox = '<a href="'+depth+'programs/caprial.htm"><img src="'+depth+'graphics/featurebox/howto_box.jpg" width="151" height="151" border="0" alt=""></a>';
	var label = '<img src="'+depth+'graphics/featurebox/howto_label.gif" width="151" height="28" alt="Caprial and Johns Kitchen">';
}	
if (section == "culture")
	{
	var featurebox = '<a href="'+depth+'programs/affluenza.htm"><img src="'+depth+'graphics/featurebox/affluenza_box.jpg" width="151" height="151" border="0" alt="Affluenza"></a>';
	var label = '<img src="'+depth+'graphics/featurebox/affluenza_label.gif" width="151" height="28" alt="Affluenza">';
	}

if (section == "currevents")
	{
	var featurebox = '<a href="'+depth+'programs/revolution.htm"><img src="'+depth+'graphics/featurebox/russia_box.jpg" width="151" height="151" border="0" alt="Revolution in Russia"></a>';
	var label = '<img src="'+depth+'graphics/featurebox/russia_label.gif" width="151" height="28" alt="Revolution in Russia">';
	}
	
if (section == "history")
	{
	var featurebox = '<a href="'+depth+'programs/drew_fire.htm"><img src="'+depth+'graphics/featurebox/drewfire_box.jpg" width="151" height="151" border="0" alt="They Drew Fire"></a>';
	var label = '<img src="'+depth+'graphics/featurebox/drewfire_label.gif" width="151" height="28" alt="They Drew Fire">';
	}
if (section == "howto")
	{
	var featurebox = '<a href="'+depth+'programs/caprial.htm"><img src="'+depth+'graphics/featurebox/howto_box.jpg" width="151" height="151" border="0" alt="Caprial and Johns Kitchen"></a>';
	var label = '<img src="'+depth+'graphics/featurebox/howto_label.gif" width="151" height="28" alt="Caprial and Johns Kitchen">';
	}
if (section == "nature")
	{
	var featurebox = '<a href="'+depth+'programs/vertical.htm"><img src="'+depth+'graphics/featurebox/vertical_box.jpg" width="151" height="151" border="0" alt="New American Cuisine"></a>';
	var label = '<img src="'+depth+'graphics/featurebox/vertical_label.gif" width="151" height="28" alt="The Vertical Environment">';
	}
if (section == "science")
	{
	var featurebox = '<a href="'+depth+'programs/designing.htm"><img src="'+depth+'graphics/featurebox/design_box.jpg" width="151" height="151" border="0" alt="Designing A Better World"></a>';
	var label = '<img src="'+depth+'graphics/featurebox/design_label.gif" width="151" height="28" alt="Designing A Better World">';
	}
if (section == "travel")
	{
	var featurebox = '<a href="'+depth+'programs/famtravel.htm"><img src="'+depth+'graphics/featurebox/famtravel_box.jpg" width="151" height="151" border="0" alt="Family Travel Journal"></a>';
	var label = '<img src="'+depth+'graphics/featurebox/famtravel_label.gif" width="151" height="28" alt="Family Travel Journal">';
	}	
if (section == "contact")
	{
	var featurebox = '<a href="'+depth+'programs/lodges.htm"><img src="'+depth+'graphics/featurebox/lodges_box.jpg" width="151" height="151" border="0" alt="Great Lodges"></a>';
	var label = '<img src="'+depth+'graphics/featurebox/lodges_label.gif" width="151" height="28" alt="Great Lodges of the National Parks">';
}
if (section == "distribution")
	{
	var featurebox = '<a href="'+depth+'programs/lodges.htm"><img src="'+depth+'graphics/featurebox/lodges_box.jpg" width="151" height="151" border="0" alt="Great Lodges"></a>';
	var label = '<img src="'+depth+'graphics/featurebox/lodges_label.gif" width="151" height="28" alt="Great Lodges of the National Parks">';
}
if (section == "home")
	{
	var featurebox = '<a href="'+depth+'programs/caprial.htm"><img src="'+depth+'graphics/featurebox/series_box.jpg" width="151" height="151" border="0" alt=""></a>';
	var label = '<img src="'+depth+'graphics/featurebox/series_label.gif" width="151" height="28" alt="Caprial and Johns Kitchen">';
}
document.writeln('	<tr><td><img src="'+depth+'graphics/menu_bottom.gif" width="151" height="14"></td></tr>');        	
document.writeln('  <tr><td>'+featurebox+'</td></tr>');
document.writeln('  <tr><td>'+label+'</td></tr>');
}
// /Feature Box ======================================================

// CIC Episodes ======================================================
function cicEpisodes(depth)
{
document.writeln('<table width="129" border="0" cellspacing="0" cellpadding="0" class="tblbg2">');
document.writeln('	<tr> ');
document.writeln('		<td rowspan="3"><img src="'+depth+'graphics/spacer.gif" width="1" height="1"></td>');
document.writeln('		<td><img src="'+depth+'graphics/spacer.gif" width="1" height="5"></td>');
document.writeln('		<td rowspan="3"><img src="'+depth+'graphics/onepx_spacer.gif" width="1" height="1"></td>');
document.writeln('	</tr>');
              
document.writeln('	<tr> ');
document.writeln('		<td align="left" valign="top"> ');
document.writeln('			<table width="129" border="0" cellspacing="3" cellpadding="0" class="tblbg1">');
document.writeln('				<tr valign="top"> ');
document.writeln('					<td class="sidehead"> ');
document.writeln('							<b>Episodes in this Series:</b> <br>');
document.writeln('							<a href="africa.htm">AIDS in Africa</a><br>');
document.writeln('							<a href="albania.htm">The Lost Children of Albania</a><br>');
document.writeln('                            <a href="cia.htm">CIA 2015</a><br>');
document.writeln('                            <a href="congo.htm">Congo</a><br>');
document.writeln('                            <a href="election.htm">Election 2000</a><br>');
document.writeln('                            <a href="hongkong.htm">Hong Kong: Enter the Dragon</a><br>');
document.writeln('                            <a href="kosovo.htm">Kosovo Civil War</a><br>');
document.writeln('                            <a href="peru.htm">Peru</a><br>');
document.writeln('                            <a href="revolution.htm">Russia: Anatomy of a Revolution</a><br>');
document.writeln('                            <a href="russia.htm">Russian Corruption</a><br>');
document.writeln('                            <a href="rwanda.htm">Rwanda Massacre</a><br>');
document.writeln('                            <a href="somolia.htm">Somalia</a><br>');
document.writeln('                            <a href="spies.htm">Spies </a><br>');
document.writeln('                            <a href="nile.htm">Terror on the Nile</a><br>');
document.writeln('                            <a href="holyland.htm">Terrorism in Israel</a><br>');
document.writeln('                            <a href="turkey.htm">Turkey </a>');
document.writeln('					</td>');
document.writeln('        		</tr>');
document.writeln('    		</table>');
document.writeln('		</td>');
document.writeln('	</tr>');
document.writeln('    <tr>');
document.writeln('		<td><img src="'+depth+'graphics/onepx_spacer.gif" width="1" height="1"></td>');
document.writeln('  	</tr>');
document.writeln('</table>	');
	
}

// LWTF Episodes ======================================================
function lwtfEpisodes(depth)
{
document.writeln('<table width="129" border="0" cellspacing="0" cellpadding="0" class="tblbg2">');
document.writeln('	<tr> ');
document.writeln('		<td rowspan="3"><img src="'+depth+'graphics/spacer.gif" width="1" height="1"></td>');
document.writeln('		<td><img src="'+depth+'graphics/spacer.gif" width="1" height="5"></td>');
document.writeln('		<td rowspan="3"><img src="'+depth+'graphics/onepx_spacer.gif" width="1" height="1"></td>');
document.writeln('	</tr>');
              
document.writeln('	<tr> ');
document.writeln('		<td align="left" valign="top"> ');
document.writeln('			<table width="129" border="0" cellspacing="3" cellpadding="0" class="tblbg1">');
document.writeln('				<tr valign="top"> ');
document.writeln('					<td class="sidehead"> ');

document.writeln('								<b>Episodes in this Series:</b> <br>');
document.writeln('                                <a href="questionoftime.htm">A Question of Time</a><br>');
document.writeln('                                <a href="allaboutus.htm">All About Us</a><br>');
document.writeln('                                <a href="resistance.htm">Beyond Resistance</a><br>');
document.writeln('                                <a href="bioterror.htm">Bio Terror</a><br>');
document.writeln('                                <a href="internet.htm">Dark Side of the Internet</a><br>');
document.writeln('								<a href="designing.htm">Designing a Better World</a><br>');
document.writeln('                                <a href="cell.htm">From One Cell</a><br>');
document.writeln('                                <a href="future.htm">The Future That Wasnt</a><br>');
document.writeln('                                <a href="genomics.htm">Genomics</a><br>');
document.writeln('                                <a href="goldrush.htm">Goldrush! </a><br>');
document.writeln('                                <a href="hitchhiking.htm">Hitchhiking the Universe</a><br>');
document.writeln('                                <a href="virtual.htm">Virtual Man</a><br>');
document.writeln('                                <a href="disappears.htm">When Life Disappears</a><br>');
document.writeln('                                <a href="string.htm">World on a String </a>');
document.writeln('					</td>');
document.writeln('        		</tr>');
document.writeln('    		</table>');
document.writeln('		</td>');
document.writeln('	</tr>');
document.writeln('    <tr>');
document.writeln('		<td><img src="'+depth+'graphics/onepx_spacer.gif" width="1" height="1"></td>');
document.writeln('  	</tr>');
document.writeln('</table>	');
	
}
// Includes ======================================================