
<!--
    //  Save browser type and DOM reference methods
    var isIE = 0;
    var isNav = 0;
    var isMac = 0;
    var isGecko = 0;
    var layerRef="", styleSwitch="", leftBracket="", rightBracket="";

    //  Determine our browser capabilities
    if (document.layers) {
        layerRef = 'document.layers';
        styleSwitch = '';
	leftBracket = '[';
	rightBracket = ']';
	isNav = 1;
    } else if (document.all) {
	layerRef = 'document.all';
        styleSwitch = '.style';
	leftBracket = '[';
	rightBracket = ']';
	isIE = 1;
    } else if (document.getElementById ){
	layerRef = "document.getElementById";
        styleSwitch = '.style';
	leftBracket = '(';
	rightBracket = ')';
	isGecko = 1;
    }

    // Are we running on a Mac?
    if( navigator.platform.indexOf("Mac") != -2 ){
	isMac = 1;
    }

    //  Change layer visibility
    function hideLayer(layerID){
	var layerName = layerRef + leftBracket + '"' + layerID + '"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="hidden"');
    }
    function hideMultiLayer(layerID){
	var layerName = layerRef + leftBracket + '"' + layerID + '"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="hidden"');

	// hid second layer
	layerName = layerRef + leftBracket + '"' + layerID + '2"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="hidden"');
    }
    function hideMonaLayers(layerID){
	var layerName = layerRef + leftBracket + '"' + layerID + 'Div"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="hidden"');

	layerName = layerRef + leftBracket + '"' + layerID + 'Img"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="hidden"');

	layerName = layerRef + leftBracket + '"' + layerID + 'Text"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="hidden"');

	layerName = layerRef + leftBracket + '"' + layerID + 'Mona"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="hidden"');
    }

    function showLayer(layerID){
	var layerName = layerRef + leftBracket + '"' + layerID + '"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="visible"');
    }
    function showMultiLayer(layerID){
	var layerName = layerRef + leftBracket + '"' + layerID + '"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="visible"');

	layerName = layerRef + leftBracket + '"' + layerID + '2"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="visible"');
    }
    function showMonaLayers(layerID){
	var layerName = layerRef + leftBracket + '"' + layerID + 'Div"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="visible"');

	layerName = layerRef + leftBracket + '"' + layerID + 'Img"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="visible"');

	layerName = layerRef + leftBracket + '"' + layerID + 'Text"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="visible"');

	layerName = layerRef + leftBracket + '"' + layerID + 'Mona"' + rightBracket;
	if( eval(layerName) ) eval( layerName + styleSwitch + '.visibility="visible"');
    }

    // swap image
    function imgSwap(imgName, active){
	if (document.images){
	    if (active == 1)
	        document[imgName].src = eval(imgName + "2.src");
	    else
		document[imgName].src = eval(imgName + ".src");
	}
    }

    // Swap image within a layer
    function imgOn(imgName, layerName, active){
	if (document.images){
	  if(isIE || isGecko){
	    if (active == 1){
	        document[imgName].src = eval(imgName + "2.src");
	    }else{
		document[imgName].src = eval(imgName + ".src");
	    }
	  }else{
	    if (active == 1){
	        document[layerName].document[imgName].src = eval(imgName + "2.src");
	    }else{
		document[layerName].document[imgName].src = eval(imgName + ".src");
	    }
	  }
	}
    }

    // Update the contents of a layer/div
    function layerWrite(id,text){
	if (isGecko){
	    divHandle = document.getElementById(id);
	    if( divHandle ) divHandle.innerHTML = text;
	}
	else if (isNav) {
	    document.layers[id].document.write(text);
	    document.layers[id].document.close();
	}
	else if (isIE) {
	    document.all[id].innerHTML = text;
	}
    }


    //  returns true if string s is null, empty, or contains only whitespace
    function isblank(s){
	var i, c;

	if (s == null || s == "") return true;
	for(i=0; i<s.length;i++){
	    c = s.charAt(i);
	    if((c != ' ') && (c != '\t')) return false;
	}
	return true;
    }

    //  Open the notebook
    function openNotebook( location ){
	// IE and Netscape render form sizes differently.  Try to make
	// the notebook look good in both...
	if (isIE)
	    notebookWin = window.open(location, "notebookWin", "toolbar=0,menubar=0,directories=0,location=0,resizeable=0,scrollbars,width=650,height=420,left=100,screenx=100,top=100,screeny=100");
	else
	    notebookWin = window.open(location, "notebookWin", "toolbar=0,menubar=0,directories=0,location=0,resizeable=0,scrollbars,width=745,height=460,left=100,screenx=100,top=100,screeny=100");
	notebookWin.window.focus();
    }

    //  Open our help window
    function pablo( location ){
	helpWin = window.open(location, "helpWin", "toolbar=0,menubar=0,directories=0,location=0,resizeable=0,scrollbars,width=500,height=300,left=100,screenx=100,top=100,screeny=100");
	helpWin.window.focus();
    }

    //  Open our label window
    function label( location ){
	helpWin = window.open(location, "labelWin", "toolbar=0,menubar=0,directories=0,location=0,resizeable=0,scrollbars,width=300,height=275,left=100,screenx=100,top=100,screeny=100");
	helpWin.window.focus();
    }

    //  Open our research window
    function search( location ){
	helpWin = window.open(location, "searchWin", "toolbar=0,menubar=0,directories=0,location=0,resizeable=0,scrollbars,width=500,height=300,left=100,screenx=100,top=100,screeny=100");
	helpWin.window.focus();
    }

    //  Open our invitations window
    function openInvite( location ){
	helpWin = window.open(location, "inviteWin", "toolbar=0,menubar=0,directories=0,location=0,resizeable,width=500,height=350,left=100,screenx=100,top=100,screeny=100");
	helpWin.window.focus();
    }

    //  Open window with enlarged image and tombstone text
    function enlargeImg( artID ){
	helpWin = window.open("enlarge.asp?artID=" + artID, "helpWin", "toolbar=0,menubar=0,directories=0,location=0,resizeable=1,scrollbars,width=750,height=500,left=10,screenx=10,top=10,screeny=10");
	helpWin.window.focus();
    }
//-->

