/****************************************************************************************************************************
	SCRIPT NAME: MENUBAR
	VERSION INFORMATION: 2001-08-09: v1.0
	AUTHOR: Matthew W. Sheffield, msheffield@ratherbiased.com
	SYSTEM REQUIREMENTS: Any Web browser with good support of the World Wide Web Consortium's Document Object Model. Has
	been tested on Mozilla 0.9.3+ and Internet Explorer 5.5. Will not run on IE 4.x or Navigator 4.x. A deprecated version
	below will run on IE 4.x.

	COPYRIGHT (C) 2001-2004 RATHERBIASED.COM
	LICENSE: There is no support for this script so please try to take advantage of the extensive comments in the file.
	The author is in no way responsible for your usage of this software and is not responsible for any damage or malfunctions
	in the code. You are free to not use the script and by using it you agree to the previous conditions.
	COPY PERMISSIONS: Feel free to modify this program to suit your needs. Please include this notice in the code of your
	pages, though. Any requests to distribute the program commercially, partially or entirely, must be approved by the author
	beforehand.
****************************************************************************************************************************/

//Validation and email address print scripts
function confirmEmail(emailForm)
	{
	if (emailForm.email.value.indexOf ('@', 0) == -1 || emailForm.email.value.indexOf ('.', 0) == -1)
		{
		alert("Please enter a valid e-mail address.");
		emailForm.email.focus();
		emailForm.email.select();
		return false;
		}

	var correctEmail=(confirm("Double checking:\nIs the address\""+emailForm.email.value+"\" correct?"));
	if (correctEmail)
		{
		return true;
		}
	else
		{
		return false;
		}
	}

function writeMail()
	{
	var ename = '&#105;&#110;&#x66;&#111;', edomain = '&#114;&#97;&#116;&#x68;&#x65;&#114;&#x62;&#105;&#97;&#115;&#101;&#x64;&#46;&#99;&#111;&#109;';
	document.write( '<a href="mailto:' + ename  + '&#64;' + edomain + '">' + ename + '&#64;' + edomain + '</a>' );
	}


var b = navigator.userAgent;		//current browser
var menuOn = 'no'			//is set to 'yes' if one of the pull-down menus is activated
var menuCounter = 0;			//counts the number of pull-down menus in document
isThisMenuOn= 'no';			//is set to 'yes' if active TD element's menu is activated

//	THESE TWO FUNCTIONS CREATE THE <DIV> ELEMENT IN WHICH THE MENU TITLE ITEMS GO
//	YOU CAN CHANGE ANY OF THESE VALUES. THE ID IS FOR POSSIBLE FUTURE USES.
function beginMenuBox()
	{
	document.write('	<table width="490" border="0" cellspacing="0" cellpadding="0" class="menuItem"><tbody>');
	document.write('		<tr align="center" valign="bottom" id="menuBar">');
	}

function endMenuBox()
	{
	document.write('		</tr>');
	document.write('	</tbody></table>');
	}





//	THESE TWO FUNCTIONS CREATE <TD> ELEMENTS WHICH SERVE AS MENU TITLES. YOU MUST CREATE THE SAME NUMBER
//	OF MENU TITLES AND PULL-DOWN MENUS. TO CHANGE THE COLORS, FONTS, ETC. USE THE STYLESHEET.
function beginMenu(menuName, width)
	{
	document.write('<td width="'+width+'" onmouseover="menuChecker(this);" onclick="showMenu(this)"; class="pullDownItem">\n'+menuName);
	menuCounter++;
	}

function endMenu()
	{
	document.write('</td>');
	}

//	THESE TWO FUNCTIONS CREATE THE BOXES FOR THE PULL-DOWN MENUS. MOZILLA AND IE 5+ HANDLE BORDERS DIFFERENTLY SO
//	EACH BROWSER HAS TO HAVE THE PULL-DOWN MENUS POSITIONED JUST RIGHT.
function beginPullDownMenu(menuWidth, menuPositionLeft)
	{
	if (b.indexOf("Gecko") != -1)
		{
		document.write('<div class="pullDownMenu" style="display: none; width: '+menuWidth+'; left: '+menuPositionLeft+';">');
		}
	if (b.indexOf("MSIE") != -1)
		{
		document.write('<div class="pullDownMenu" style="width: '+menuWidth+'; left: '+menuPositionLeft+';">');
		}
/*	if (b.indexOf("KHTML") != -1)
		{
		document.write('<div class="pullDownMenu" style="display: none; width: '+menuWidth+'; left: '+menuPositionLeft+';">');
		}*/
	}

function endPullDownMenu()
	{
	document.write('</div>');
	}


//	THIS FUNCTION CREATES A MENU ITEM WHICH CAN BE HIGHLIGHTED AS THE MOUSE IS MOVED OVER IT.
//	THE DOMAIN NAME IS OPTIONAL SINCE YOU COULD USE <A HREF="GOTOURL">USERTEXT</A> INSTEAD ALTHOUGH IT ISN'T AS
//	EFFECTIVE. USE THE STYLESHEET TO CUSTOMIZE APPEARANCES.
function makePullDownMenuItem(userText, gotoURL, tipText)
	{
	document.write('<div class="pullDownMenuItem" title="'+tipText+'" onclick="window.location=(\''+gotoURL+'\')" onMouseOver="window.status=\'http://'+location.hostname+gotoURL+'\'; pulldownHover(this);" onMouseOut="window.status=\'\'; pulldownOut(this);">'+userText+'</div>');
	}


//	THIS ONE MAKES A SEPARATOR LINE WHEN CALLED UPON. CHANGE THE FORMATTING IN THE STYLESHEET.
function separatorLine()
	{document.write('<hr class="menu">');}


//	**************************************************************************************************************
//	THE FUNCTIONS BELOW CONTROL THE OPERATION OF THE MENU BAR. THIS CONFIGURATION IS SET UP TO MIMIC MOTIF/WIN 3.X
//	MENUS WHICH REMAIN ACTIVE UNTIL THE USER CLICKS ON ANOTHER MENU. THERE IS A WIN32 VERSION AVAILABLE (ALTHOUGH
//	BECAUSE OF BUGS IN GECKO AND IE, THE SPEED AT WHICH THE HIGHLIGHT BAR FOLLOWS THE CURSOR IS SLOWER)
//	**************************************************************************************************************

//	THESE TWO FUNCTIONS HIDE/SHOW THE PULL-DOWN MENUS WHEN THE USER HOVERS THE MOUSE OVER THEIR RESPECTIVE TITLES.
		function offMenus(element)
			{
//			var menuBarItems=document.getElementById('menuBar').childNodes.length;
			for (repete = 0; repete < menuCounter; repete++)
				{
				var menuBarItems=document.getElementById('menuBar').childNodes[repete];
				menuBarItems.className='pullDownItem';
				menuBarItems.childNodes[1].style.display='none';
				}
			}

		function showMenu(currentMenuTitle)
			{
//	IS ONE OF THE PULL-DOWN MENUS ACTIVE?
			if (menuOn=='yes')
				{
//	IF IT'S THE ONE BELONGING TO THE HOVERED TD ELEMENT, CANCEL IT.
				if (isThisMenuOn=='yes')
					{
					offMenus(currentMenuTitle);
					menuOn='no';
					}

//	IF IT'S ANOTHER MENU, CANCEL IT AND ACTIVATE THE ONE BELONGING TO THE HOVERED TD ELEMENT.
				if (isThisMenuOn=='no')
					{
					offMenus(currentMenuTitle);
					currentMenuTitle.className='pullDownItemSelected';
					currentMenuTitle.childNodes[1].style.display='block';
					menuOn='yes';
					isThisMenuOn='yes';
					}

//	RETURN THE STATE OF WHETHER A MENU IS ACTIVATED AND WHETHER THE CURRENT MENU IS ACTIVATED. NOT MUTUALLY
//	EXCLUSIVE.
				return menuOn;
				return isThisMenuOn;
				}

//	IF NO MENU IS ACTIVATED, DISPLAY THE CORRECT MENU FOR THE HOVERED TD. AT THIS POINT, A PULL-DOWN MENU IS
//	ACTIVATED, IN THIS CASE THE ONE BELONGING TO THE HOVERED TD.
			if (menuOn=='no')
				{
				currentMenuTitle.className='pullDownItemSelected';
				currentMenuTitle.childNodes[1].style.display='block';
				menuOn='yes';
				return menuOn;
				isThisMenuOn='yes';
				return isThisMenuOn;
				}
			}

//	THIS FUNCTION CHECKS TO SEE IF THE ACTIVE PULL-DOWN MENU IS CONTROLLED BY THE TABLE CELL THE MOUSE IS CURRENTLY
//	POSITIONED OVER. IF IT IS, THEN ISTHISMENUON IS SET TO 'YES'.
		function menuChecker(currentMenuTitle)
			{
			var thisThisMenuOn = currentMenuTitle.childNodes[1].style.display;
			if (thisThisMenuOn=='block')
				{
				isThisMenuOn='yes';
				return isThisMenuOn;
				}
			else
				{
				isThisMenuOn='no';
				return isThisMenuOn;
				}
			}

//	THESE TWO FUNCTIONS CHANGE THE COLOR OF HIGHLIGHTED OPTIONS ON A PULL-DOWN MENU. CHANGE THE FORMATTING USING
//	THE STYLESHEET.
		function pulldownHover(itemName)
			{
			itemName.className='pullDownMenuItemSelected';
			}

		function pulldownOut(itemName)
			{
			itemName.className='pullDownMenuItem';
			}


//	THESE 4 FUNCTIONS ARE NOT PART OF THE MENU SYSTEM BUT ARE USED TO PROVIDE POPUP WINDOWS FROM THE MENUBAR
function about()
	{
	window.open("/tech.htm", "","dialogWidth:423px;dialogHeight:350px")
	}

function about2()
	{
	window.open("/tech.htm",null,"height=320,width=405,status=no,toolbar=no,menubar=no,location=no");
	}

function bioInfo()
	{
	window.open("http://en.wikipedia.org/wiki/Dan_Rather", "");
	}


//	CREATE THE NECESSARY TABLE AND DIV ELEMENTS
function makeMenuBar2()
	{
	if (b.indexOf("Mozilla/5.") != -1)
		{
		beginMenuBox();

	/*	CREATE A NEW PULL-DOWN MENU. THE FIRST VALUE IS THE TEXT THE USER CLICKS ON TO PULL DOWN THE MENU. THE SECOND
		IS HOW WIDE TO MAKE THE TITLE TEXT.			*/

			beginMenu("main", "8%")

	/*	CREATE THE BOX FOR THE PREVIOUS MENUTITLE. THIS IS THE ACTUAL MENU THAT GETS DISPLAYED WHEN THE USER CLICKS ON
		THE MENU TITLE. THE FIRST VALUE IS THE WIDTH OF THE MENU, THE SECOND IS HOW FAR TO THE LEFT OF THE SCREEN YOU
		WANT IT. SINCE THIS IS A HORIZONTALLY BASED MENU, ALL THE MENUS HAVE THE SAME Y COORDINATES. USE THE STYLESHEET
		TO SET THIS. */

				beginPullDownMenu(200, 4);

	/*	INSERT THE MENU ITEMS. THE FIRST VARIABLE IS THE 'LINK TEXT' THE USER WILL CLICK ON TO MOVE TO THE URL SPECIFIED
		IN THE SECOND VARIABLE. THE URLS HERE CAN BE RELATIVE OR ABSOLUTE USING ANY KIND OF PROTOCOL.	*/
					makePullDownMenuItem("Home","/index2.htm","");
					makePullDownMenuItem("What\'s New","/news/","Find out about site updates at RatherBiased.com");
					makePullDownMenuItem("About RatherBiased.com","/about.htm","About us");
					makePullDownMenuItem("Media Links","/links.htm","Extensive collection of links to media-related resources and organizations");

	//	THE LINE BELOW IS USED TO CREATE A SEPARATOR INSIDE THE MENU
					separatorLine();
					makePullDownMenuItem("Compare and Contrast", "/compare.htm","Examines Rather\'s changeable views of political controversies and people");
					makePullDownMenuItem("Bizarre","/bizarre.htm","Chronicles Rather\'s many strange experiences");
					makePullDownMenuItem("Courage","/courage.htm","Full coverage of this pop-culture moment");
					makePullDownMenuItem("Dan Rather Biographical Info","javascript:bioInfo();","Official CBS News page about Dan Rather");
					separatorLine();
					makePullDownMenuItem("Free E-mail Updates","/updates/");
					makePullDownMenuItem("Search RatherBiased.com","/search/","Search RatherBiased.com");
//					makePullDownMenuItem("Contact Us","/comment.htm","Send us your questions or comments.");
					separatorLine();
					makePullDownMenuItem("Technical Information", "javascript:about2();","");
//					makePullDownMenuItem("Technical Info","javascript:about();");

	//	MAKE SURE YOU CLOSE EVERY MENU YOU MAKE AND EVERY TITLE YOU MAKE.
				endPullDownMenu();
			endMenu();

			beginMenu("people", "11%")
				beginPullDownMenu(144, 54);
					makePullDownMenuItem("Pat Buchanan","/buchanan_pat.htm","");
					makePullDownMenuItem("George Bush","/bush_george.htm","");
					makePullDownMenuItem("George W. Bush","/bush_george_w.htm","");
					makePullDownMenuItem("Bill Clinton","/clinton_bill.htm","");
					makePullDownMenuItem("Hillary Clinton","/clinton_hillary.htm","");
					makePullDownMenuItem("Bob Dole","/dole_bob.htm","");
					makePullDownMenuItem("John Ehrlichman","/ehrlichman_john.htm","Former Nixon aide recounts Rather\'s attempts to intimidate him");
					makePullDownMenuItem("Newt Gingrich","/gingrich_newt.htm","");
					makePullDownMenuItem("Al Gore","/gore_al.htm","");
					makePullDownMenuItem("Jesse Helms","/helms_jesse.htm","");
					makePullDownMenuItem("Saddam Hussein", "/hussein_saddam.htm","");
					makePullDownMenuItem("John McCain","/mccain_john.htm","The only Republican Rather likes due to his advocacy for stricter campaign laws");
					makePullDownMenuItem("Richard Nixon","/nixon_richard.htm","Full coverage (and transcripts) of petty disputes between Rather and Nixon");
					makePullDownMenuItem("Ronald Reagan","/reagan_ronald.htm","");
 					makePullDownMenuItem("Arnold Schwarzenegger","/schwarzenegger_arnold.htm","");
					makePullDownMenuItem("Kenneth Starr","/starr_kenneth.htm","");
					makePullDownMenuItem("Bob Torricelli/Bob Packwood","/torricelli_bob.htm","");
					separatorLine();
					makePullDownMenuItem("Historical Figures","/historical.htm","");
				endPullDownMenu();
			endMenu();

			beginMenu("issues", "11%")
				beginPullDownMenu(230, 122);
					makePullDownMenuItem("Abortion","/abortion.htm","Demonstrates Rather\'s favoritism toward abortion supporters");
					makePullDownMenuItem("Affirmative Action","/aff_action.htm","");
					makePullDownMenuItem("Campaign Finance","/campaign_finance.htm","Documents Rather\'s lobbying for more campaign finance laws");
					makePullDownMenuItem("Drugs","/drugs.htm","Rather\'s comments on experimenting with drugs");
     makePullDownMenuItem("Drug Pushers: CBS\'s Biased Medicare Coverage","/content/prescription_drugs.htm","A comprehensive look at CBS\'s coverage of prescription drug subsidies");
					separatorLine();
					makePullDownMenuItem("The Economy","/economy.htm","Examines CBS coverage of economic issues");
					makePullDownMenuItem("Corporate America","/corporate.htm","Chronicles Rather\/CBS\'s unbalanced coverage of various industries");
					makePullDownMenuItem("Study: CBS Favors Tax Cut Opponents 2:1","/taxstudy.htm","Content analysis study of Rather\'s coverage of the 2001 Bush tax cut");
					makePullDownMenuItem("Study: Bush Tax Cut Big, Clinton Tax Increase Not","/big_tax_cut.htm","Proves how CBS unfairly labeled two presidents\'s tax proposals");
					separatorLine();
					makePullDownMenuItem("Global Warming/Environment","/environment.htm","");
					makePullDownMenuItem("Gun Control","/guns.htm","Documents Rather\'s negative attitudes toward guns despite  his experiences of being saved by weapons");
					makePullDownMenuItem("Health Care","/health_care.htm","");
					makePullDownMenuItem("Tobacco","/tobacco.htm","");
					makePullDownMenuItem("Welfare/Poverty","/welfare.htm","");
				endPullDownMenu();
			endMenu();

			beginMenu("events", "11.5%")
				beginPullDownMenu(240, 190);
					makePullDownMenuItem("Gulf War II","/iraq.htm","Analysis of Rather and colleagues' coverage of the effort to oust Saddam Hussein and rebuild Iraq.");
					makePullDownMenuItem("Florida Controversy","/florida.htm","Examines how Rather favored Gore campaign arguments during the aftermath of the 2000 election");
					makePullDownMenuItem("Rather\'s Selective Labeling in Florida","/florida_labeling.htm","Shows how Rather disproportiantely questioned fairness of Republican officials but not Democratic ones during the election dispute");
					makePullDownMenuItem("Eli&aacute;n Gonz&aacute;lez","/gonzalez_elian.htm","");
					makePullDownMenuItem("Clinton\'s Impeachment","/impeachment.htm","Demonstrates how Rather inserted his personal views of the impeachment saga into his coverage");
					makePullDownMenuItem("Judicial Nominations","/judicial.htm","Examines contrasting comments about judges and judicial nominees");
					makePullDownMenuItem("Cold War/Communism","/cold_war.htm","");
					makePullDownMenuItem("Rather\'s Attack on George Bush","/bush_attack.htm","Extensive coverage (and transcript) of this famous confrontation");
					separatorLine();
					makePullDownMenuItem("Election Night 2000","/election.htm","Compilation of Rather\'s scripted remarks over a marathon 12-hour period");
					makePullDownMenuItem("Rather\'s First Broadcast","/first_day.htm","Highlights of Rather\'s first broadcast as full-time anchor of the CBS Evening News");
					makePullDownMenuItem("\"Courage\"","/courage.htm","Extensive coverage of this pop culture moment");
				endPullDownMenu();
			endMenu();

			beginMenu("groups", "11.5%")
				beginPullDownMenu(230, 258);
					makePullDownMenuItem("Religious Right","/religious_right.htm","Compilation of bigoted remarks about Christian conservatives");
					makePullDownMenuItem("Republicans","/republicans.htm","Criticism of party members and their ideology");
					makePullDownMenuItem("Conservatives","/conservatives.htm","");
					makePullDownMenuItem("Minorities","/minorities.htm","");
					makePullDownMenuItem("Political Organizations","/interest_groups.htm","Demonstrates Rather\'s unfair coverage and labeling of liberal and conservative interest groups");
					separatorLine();
					makePullDownMenuItem("Study: CBS Seven Times More Likely to Link GOP to \'Special Interests\'","/interest_study.htm","");
					separatorLine();
					makePullDownMenuItem("Democrats","/democrats.htm","Praise for party officials and their ideology, including a proclamation of loyalty by a college-aged Rather");

				endPullDownMenu();
			endMenu();

			beginMenu("scandals", "12%")
				beginPullDownMenu(180, 326);
					makePullDownMenuItem("Chinagate","/chinagate.htm","Examines Rather\'s attempts to minimize blame for Clinton in this scandal and CBS\'s lack of investigative reporting on it");
					makePullDownMenuItem("Clinton\'s Impeachment","/impeachment.htm","Demonstrates how Rather inserted his personal views of the impeachment saga into his coverage");
					makePullDownMenuItem("Iran-contra","/iran-contra.htm","Documents Rather\'s attempts to prove Reagan\'s involvement in this scandal");
					makePullDownMenuItem("Watergate","/nixon_richard.htm","The scandal that made Rather famous");
					makePullDownMenuItem("Whitewater","/whitewater.htm","");
				endPullDownMenu();
			endMenu();

			beginMenu("journalism", "15%")
				beginPullDownMenu(220, 401);
					makePullDownMenuItem("Defending Himself","/defending_himself.htm","Relates Rather\'s attempts to defend himself against charges of liberal bias");
					makePullDownMenuItem("Rather on Honest Journalism","/journalism.htm","Rather\'s comments on journalism");
					makePullDownMenuItem("Jumping the Gun","/jumping_gun.htm","Humorous accounts of Rather going with story before confirming it");
					makePullDownMenuItem("Polling","/polls.htm","Documents Rather\'s changeable views on polling");
					makePullDownMenuItem("State of the Union Addresses","/union_poll.htm","Documents how CBS ran a flattering poll every night following a Clinton SOTUA but discontinued when Bush became president");
				endPullDownMenu();
			endMenu();
		endMenuBox();
		}
	}




//	BELOW FUNCTIONS ARE DEPRECATED THEY ARE ONLY INCLUDED FOR COMPATIBILITY WITH IE 4.X WHICH DOES NOT ADHERE TO THE 
//	ECMA SCRIPTING CONVENTIONS.

var menuClickSoundSource = "";
//002540
menuOn = "no";

function isIE5()
	{
//	bannerAd.style.padding='4';
//	navBarImage.style.display = "none";
//	topTable.cellPadding = "4";
	}

function hideMenus()
	{
	main.className = "menuItem";
	people.className = "menuItem";
	issues.className = "menuItem";
	news.className = "menuItem";
	groups.className = "menuItem";
	scandals.className = "menuItem";
	journalism.className = "menuItem";
	mainMenu.style.visibility = "hidden";
	peopleMenu.style.visibility = "hidden";
	issuesMenu.style.visibility = "hidden";
	eventsMenu.style.visibility = "hidden";
	groupsMenu.style.visibility = "hidden";
	scandalMenu.style.visibility = "hidden";
	journalismMenu.style.visibility = "hidden";
	menuOn = "no";
	}

function menuController(menuName,menuItem)
	{
//	alert(menuOn);
	for (i = 0; i < 1; i++)
		{
		if(menuName.style.visibility == "visible")
			{
			menuName.style.visibility = "hidden";
			menuItem.className = "menuItemSelected";
			menuOn = "no";
			return menuOn;
			}

		if(menuName.style.visibility == "hidden")
			{
//			menuClickSound.src=menuClickSoundSource;
			hideMenus(menuName);
			menuItem.className = "menuItemSelected";
//			menuName.filters.item(0).Apply();
			menuName.style.visibility = "visible";
//			menuName.filters.item(0).play();
			menuOn = "yes";
			return menuOn;
			}
		}
	}

function menuHover(src,menuName)
	{
	if (menuOn=="yes")
		{
		hideMenus();
		menuOn = "yes";
		window.status = "";
//		tmp = menuName;
		menuName.style.visibility = "visible";
		src.className = "menuItemSelected";
		src.style.cursor = "hand";
		return menuOn;
		}

	if (menuOn == "no")
		{
//		alert(menuOn);
		src.className = "menuItemSelected";
		}
	}


//menuOver() was deleted

function menuLeave(src)
	{
	if (menuOn == "yes")
		{
//		alert(menuOn);
		menuOn = "yes";
		return menuOn;
		}
	else
		{
		src.className = "menuItem";
		}
	}

function changeColor(subItem)
	{
	subItem.className="subMenuItemSelected";
	}

function putBack(subItem)
	{
	subItem.className="subMenuItem";
	}


/****************************************************************************************************************************
	BEGIN MENU CREATION FUNCTIONS
****************************************************************************************************************************/

function beginOldMenu()
	{
	document.write('<div id="menuBar" onmouseover="window.status=\'\'">');
	document.write('	<table width=490 border=0 cellspacing=0 cellpadding=0 class=menuItem>');
	document.write('		<tr align=center valign=bottom>');
	}

function endOldMenu()
	{
	document.write('		</tr>');
	document.write('	</table>');
	document.write('</div>');
	}

function makeMenuItem(menuWidth, menuID, menuText, subMenuID, tipText)
	{
	document.write('<td class="menuItem" width='+menuWidth+' 	id='	+menuID+	' onmouseover="menuHover(this,'	+subMenuID+	');" onmouseout="menuLeave(this,'+subMenuID+');" onMouseDown="menuController('+subMenuID+','+menuID+');"><font face="verdana,arial">'+menuText+'</font></td>');
	}

function beginSubMenu(subMenuID, subMenuPosition, subMenuWidth)
	{
	document.write('<div id=' + subMenuID + ' style="visibility: hidden; left: ' + subMenuPosition + '; width: ' + subMenuWidth + ';" class=subMenu><font face="verdana,tahoma,arial">');
	}

function endSubMenu()
	{
	document.write('</font></div>');
	}

function makeSubMenuItem(subMenuItemText,subMenuItemURL)
	{
	document.write('<div title="" onMouseOver="changeColor(this); window.status=\'http://'+location.hostname+subMenuItemURL+'\'"	');
	document.write('onClick="hideMenus(); window.location=(\''+subMenuItemURL+'\')"');
	document.write('onMouseOut="putBack(this); window.status=\'\';" class=subMenuItem>' + subMenuItemText + '</div>');
	}

function separator()
	{
	document.write('<hr class="menu">');
	}

function makeMenuBar()
	{
//	BUILD THE MENUBAR
//	USE THE FOLLOWING SYNTAX
//						WIDTH		ITEMNAME	ITEMTEXT		SUBMENU NAME		HELP TEXT
	beginOldMenu();
	makeMenuItem(		"8%", 		"main", 	"main", 	"mainMenu", 		"Find out about the site, read about Rather\'s weird experiences, view our most salient quotations.");
	makeMenuItem(		"11%", 		"people", 	"people", 	"peopleMenu", 		"Dan Rather on various political figures.");
	makeMenuItem(		"11%",		"issues", 	"issues", 	"issuesMenu",		"Dan Rather\'s groupss on assorted political issues.");
	makeMenuItem(		"11.5%",	"news", 	"events", 	"eventsMenu", 		"Major events with which Dan Rather has been involved.");
	makeMenuItem(		"11.5%",	"groups", 	"groups", 	"groupsMenu", 		"Dan Rather on assorted political groups.");
	makeMenuItem(		"12%", 		"scandals", 	"scandals", 	"scandalMenu", 		"See Dan Rather\'s views of different presidential scandals.");
	makeMenuItem(		"15%", 		"journalism", 	"journalism", 	"journalismMenu",	"Dan Rather on issues of journalistic concern.");
	endOldMenu();

//	MAKE THE SUBMENUS
//				 SUBMENU NAME, POSITION, WIDTH

	beginSubMenu("mainMenu", "0%", "220px");
	makeSubMenuItem("Home","/index2.htm");
	makeSubMenuItem("What\'s New","/news/");
	makeSubMenuItem("About RatherBiased.com","/about.htm");
	makeSubMenuItem("Media Links","/links.htm");
	separator();
	makeSubMenuItem("Compare and Contrast", "/compare.htm");
	makeSubMenuItem("Bizarre","/bizarre.htm");
	makeSubMenuItem("Courage","/courage.htm");
	makeSubMenuItem("Dan Rather Biographical Info","javascript:bioInfo();");
	separator();
	makeSubMenuItem("Receive Free E-mail Updates","/updates/");
	makeSubMenuItem("Search RatherBiased.com","/search/");
//	makeSubMenuItem("Contact Us","/comment.htm");
	separator();
	makeSubMenuItem("Technical Info","javascript:hideMenus();about2();");
	endSubMenu();

	beginSubMenu("peopleMenu", "53", "195px");
	makeSubMenuItem("Pat Buchanan","/buchanan_pat.htm");
	makeSubMenuItem("George Bush","/bush_george.htm");
	makeSubMenuItem("George W. Bush","/bush_george_w.htm");
	makeSubMenuItem("Bill Clinton","/clinton_bill.htm");
	makeSubMenuItem("Hillary Clinton","/clinton_hillary.htm");
	makeSubMenuItem("Bob Dole","/dole_bob.htm");
	makeSubMenuItem("John Ehrlichman","/ehrlichman_john.htm");
	makeSubMenuItem("Newt Gingrich","/gingrich_newt.htm");
	makeSubMenuItem("Al Gore","/gore_al.htm");
	makeSubMenuItem("Jesse Helms","/helms_jesse.htm");
	makeSubMenuItem("Saddam Hussein","/hussein_saddam.htm");
	makeSubMenuItem("John McCain","/mccain_john.htm");
	makeSubMenuItem("Richard Nixon/Watergate","/nixon_richard.htm");
	makeSubMenuItem("Ronald Reagan","/reagan_ronald.htm");
  makeSubMenuItem("Arnold Schwarzenegger","/schwarzenegger_arnold.htm");
	makeSubMenuItem("Kenneth Starr","/starr_kenneth.htm");
	makeSubMenuItem("Bob Torricelli/Bob Packwood","/torricelli_bob.htm");
	separator();
	makeSubMenuItem("Historical Figures","/historical.htm");
	endSubMenu();

	beginSubMenu("issuesMenu", "121", "230px");
	makeSubMenuItem("Abortion","/abortion.htm");
	makeSubMenuItem("Affirmative Action","/aff_action.htm");
	makeSubMenuItem("Campaign Finance","/campaign_finance.htm");
	makeSubMenuItem("Drugs","/drugs.htm");
	makeSubMenuItem("Drug Pushers: CBS\'s Biased Medicare Coverage","/content/prescription_drugs.htm");
	separator();
	makeSubMenuItem("The Economy","/economy.htm");
	makeSubMenuItem("Study: CBS Favors Tax Cut Opponents 2:1","/taxstudy.htm");
	makeSubMenuItem("Study: Bush Tax Cuts Big Clinton's Tax Hikes Not","/big_tax_cut.htm");
	separator();
	makeSubMenuItem("Global Warming/Environment","/environment.htm");
	makeSubMenuItem("Gun Control","/guns.htm");
	makeSubMenuItem("Health Care","/health_care.htm");
	makeSubMenuItem("Tobacco","/tobacco.htm");
	makeSubMenuItem("Welfare/Poverty","/welfare.htm");
	endSubMenu();


	beginSubMenu("eventsMenu", "190", "240px");
	makeSubMenuItem("Gulf War II","/iraq.htm");
	makeSubMenuItem("Florida Controversy","/florida.htm");
	makeSubMenuItem("Rather\'s Selective Labeling in Florida","/florida_labeling.htm");
	makeSubMenuItem("Eli&aacute;n Gonz&aacute;lez","/gonzalez_elian.htm");
	makeSubMenuItem("Clinton\'s Impeachment","/impeachment.htm");
	makeSubMenuItem("Judicial Nominations","/judicial.htm");
	makeSubMenuItem("Cold War/Communism","/cold_war.htm");
	makeSubMenuItem("Rather\'s Attack on George Bush","/bush_attack.htm");
	separator();
	makeSubMenuItem("Election Night 2000","/election.htm");
	makeSubMenuItem("Rather\'s First Broadcast","/first_day.htm");
	makeSubMenuItem("&#147;Courage&#148;","/courage.htm");
	endSubMenu();

	beginSubMenu("groupsMenu", "258", "170px");
	makeSubMenuItem("Religious Right","/religious_right.htm");
	makeSubMenuItem("Republicans","/republicans.htm");
	makeSubMenuItem("Conservatives","/conservatives.htm");
	makeSubMenuItem("Minorities","/minorities.htm");
	makeSubMenuItem("Political Organizations","/interest_groups.htm");
	makeSubMenuItem("Study: CBS Seven Times More Likely to Link GOP to \'Special Interests\'","/interest_study.htm","");
	separator();
	makeSubMenuItem("Democrats","/democrats.htm");
	endSubMenu();

	beginSubMenu("scandalMenu", "325", "180 px");
	makeSubMenuItem("Chinagate","/chinagate.htm");
	makeSubMenuItem("Clinton\'s Impeachment","/impeachment.htm");
	makeSubMenuItem("Iran-contra","/iran-contra.htm");
//	makeSubMenuItem("The Lewinsky Affair","/blank3.htm");
	makeSubMenuItem("Watergate","/nixon_richard.htm");
	makeSubMenuItem("Whitewater","/whitewater.htm");
	endSubMenu();

	beginSubMenu("journalismMenu", "399", "200px");
	makeSubMenuItem("Defending Himself","/defending_himself.htm");
	makeSubMenuItem("Rather on Honest Journalism","/journalism.htm");
	makeSubMenuItem("Jumping the Gun","/jumping_gun.htm");
//	makeSubMenuItem("Inventing Consensus","consensus.htm");
	makeSubMenuItem("Polling","/polls.htm");
	makeSubMenuItem("State of the Union Addresses","/union_poll.htm");
	endSubMenu();
	}
