/* ====================================================================
FUNCTION NAME: loadContent()

PURPOSE: This function is used to load information into the layer located
in the middle of our screen. Since IE does not allow you to reference the
contents of a <div> element through the src element, you must have a 
separate 'iframe' to contain the contents because you can reference
the contents of an 'iframe' with the src attribute. Netscape allows you
to reference the contents of any layer with the src.

==================================================================== */

function loadContent(docurl){
	var sContent = document.getElementById('contentFirefox');
	sContent.src = 'pages/' + docurl;
}

function loadContent2(docurl){
	document.location = '../pages/' + docurl;
}
/* ====================================================================
FUNCTION NAME: loadContentXml()

PURPOSE: This function is used to load  XML information into the layer located
in the middle of our screen. Since IE does not allow you to reference the
contents of a <div> element through the src element, you must have a 
separate 'iframe' to contain the contents because you can reference
the contents of an 'iframe' with the src attribute. Netscape allows you
to reference the contents of any layer with the src.

==================================================================== */

function loadContentXml(docurl){
	var sContent = document.getElementById('contentFirefox');
	sContent.src = 'xml/' + docurl;
}

function loadContentXml2(docurl){
	document.location = '../xml/' + docurl;
}
/* ====================================================================
FUNCTION NAME: finishIEload()

PURPOSE: This function is used to load information into the <div> object
located in the middle of our screen. Since IE does not allow you to 
reference the contents of a <div> element through the src element, we
originally load each new document into the hidden <iframe>. Then, at the 
top of each external document we create, we run this script to test the
complete load procedure and then copy the text into the <div> using the 
innerHTML commands supported by Internet Explorer.

==================================================================== */

function finishIEload(){
}

/* ====================================================================
FUNCTION NAME: loadImage()

PURPOSE: This function is used to load  an image in a separate window.

==================================================================== */

function loadImage(docurl){
	window.open('../images/' + docurl,null,'location=no,menubar=no,resizable=yes,toolbar=no,status=no');
}

function loadPage(docurl){
	window.open(docurl,null,'location=yes,menubar=yes,resizable=yes,scrollbars=yes,toolbar=yes,status=no');
}

function fnGoTo(th){
 window.location.hash = '#'+th.value;
}