// This is used to control the Magic-Y menu
// Toggle Layer style for left property
function togLyr (el, status) { 
    var yale = (status == 1) ? "0" : "-999em";
    document.getElementById(el).style.left = yale;
}

// Open link in new sized window
// Example link for popFixed
/* <a href="http://www.yale.edu/" target="new" onclick="popFixed('');">Fixed Size Focused Page</a> */

function popFixed(file) {
        popup =
window.open(file,'new','width=900,height=600,menubar,toolbar,location,status,resizable,scrollbars,screenX=30,screenY=30');
        if (document.images) {popup.focus();}
}

// Toggle script
// Allows hide/unhide functionality of ID elements
// 12-06-07 (VM)
function toggle(elementID){
var target1 = document.getElementById(elementID)
if (target1.style.display == 'none') {
target1.style.display = 'block'
} else {
target1.style.display = 'none'
}
}
