imgtn4 = new Image();          
imgtn4.src = "../images/newnavtopc_04.gif";
imgtn6 = new Image();          
imgtn6.src = "../images/newnavtopc_06.gif";
imgtn7 = new Image();          
imgtn7.src = "../images/newnavtopc_07.gif";
imgtn8 = new Image();          
imgtn8.src = "../images/newnavtopc_08.gif";
imgtn10 = new Image();          
imgtn10.src = "../images/newnavtopc_10.gif";
imgtn11 = new Image();          
imgtn11.src = "../images/newnavtopc_11.gif";

imgtn4a = new Image();          
imgtn4a.src = "../images/newnavtopb_04.gif";
imgtn6a = new Image();          
imgtn6a.src = "../images/newnavtopb_06.gif";
imgtn7a = new Image();          
imgtn7a.src = "../images/newnavtopb_07.gif";
imgtn8a = new Image();          
imgtn8a.src = "../images/newnavtopb_08.gif";
imgtn10a = new Image();          
imgtn10a.src = "../images/newnavtopb_10.gif";
imgtn11a = new Image();          
imgtn11a.src = "../images/newnavtopb_11.gif";


imgn16a = new Image();          
imgn16a.src = "../images/pagelo.gif";
imgn16 = new Image();          
imgn16.src = "../images/pagel.gif";
imgn17a = new Image();          
imgn17a.src = "../images/pagero.gif";
imgn17 = new Image();          
imgn17.src = "../images/pager.gif";


imgn30 = new Image();          
imgn30.src = "../images/quiz.gif";
imgn30a = new Image();          
imgn30a.src = "../images/quizo.gif";
imgn31 = new Image();          
imgn31.src = "../images/top.gif";
imgn31a = new Image();          
imgn31a.src = "../images/topo.gif";
imgn32 = new Image();          
imgn32.src = "../images/pagelb.gif";
imgn32a = new Image();          
imgn32a.src = "../images/pagelbo.gif";
imgn33 = new Image();          
imgn33.src = "../images/pagerb.gif";
imgn33a = new Image();          
imgn33a.src = "../images/pagerbo.gif";

var warned=0;


function imgSwap(imgName,newImage) 
	{    
    document[imgName].src = eval(newImage + ".src");    
	}

function clicker()
	{
	alert("This isn't a link. Look at the picture when you roll your mouse over the highlighted words")
	}
	
function mapper()
	{
	alert("This should bring up a map on its own layer. It's worth trying again. Otherwise your browser may not support layers")
	}

function showInf() 
	{
	newWindow=window.open("../abpilink.html","AboutABPI","scrollbars=1,menubar=1,resizable=1,status=1,toolbar=1,location=1,top=30,left=12"); 
	newWindow.focus()
	}
function showAnim(target) 
	{
	animWindow=window.open(target,"glossary","scrollbars=yes,resizable=yes,width=580,height=405,top=100,left=50"); 
	animWindow.focus() 
	}
function setCookieEz (name,value)	
		{	
		var pathName="/cgi-bin";
		document.cookie = name + "=" +escape(value);
	//	alert(name + "=" +escape(value) + ";path=" + escape(pathName));
		}
		

function GetCookie (name) {

var result = null;
var myCookie = " " + document.cookie + ";";
var searchName = " " + name + "=";
var startOfCookie = myCookie.indexOf(searchName)
var endOfCookie;

if (startOfCookie != -1) {
startOfCookie += searchName.length; // skip past cookie name
endOfCookie = myCookie.indexOf(";", startOfCookie);
result = unescape(myCookie.substring(startOfCookie, endOfCookie));
}
if (result==null && warned==0)
{alert ("This page relies on cookies. One or more of the cookies is null. This could be because you don't have cookies running on your browser. You can allow the browser to accept cookies using your Preferences. Then retry.");
warned=1;
}
return result;
}

function dispCookie(texte)
{document.write(texte)}

function getSelectValue(selectObject)
{
return selectObject.options[selectObject.selectedIndex].value
}

function clmapx()
{
CSAction(new Array(/*CMP*/'hdmhist',/*CMP*/'hdmdise',/*CMP*/'hdmasth',/*CMP*/'hdmimmu',/*CMP*/'hdmdige',/*CMP*/'hdmhear',/*CMP*/'hdmkidn',/*CMP*/'hdmhorm',/*CMP*/'hdmskin',/*CMP*/'hdmcanc',/*CMP*/'hdmdrug',/*CMP*/'hdmgeno'))
}

function closa()
{
clmapx();
CSAction(new Array(/*CMP*/'hdmmapa'));
}

document.write('<style type="text/css"><!--#mapa   { z-index: 1; position: absolute; top: 100px; left: 114px; width: 458px; height: 308px; visibility: hidden; display: block } #mhist    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block } #mdise    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block } #mimmu    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block } #masth    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block } #mdige    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block } #mhear    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block } #mkidn    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block } #mhorm    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block } #mskin    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block } #mcanc    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block } #mdrug    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block } #mgeno    { z-index: 2; position: absolute; top: 104px; left: 118px; width: 234px; height: 266px; visibility: hidden; display: block }--> </style>');
