//	Name:			FlexNavigation.js
//	Purpose:		To load the top center header for all the pages.
//	How is created:	Manually. This program is Static.
//	Where Used:		Globally.
//	How is Used:	Depending on the category a different image is loaded.

function displayHdr0(){document.write("<img src='http://www.whec.com/whecimages/FlexHeader/DefaultHeader.jpg' alt='' border='0'>");}
doc = document.URL;
wcat = 566;
if(doc.indexOf('/article/') >= 0) wcat = 0;
if(doc.indexOf('cat=') >= 0) wcat = doc.split('cat=')[1];//	Whether or not an id was passed.
if(wcat == 0 || doc.indexOf('/0/') >= 0) displayHdr0();
else displayHdr0();

