/*
son of suckerfish menu script from:
http://www.htmldog.com/articles/suckerfish/dropdowns/
 */
 
 sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
			this.style.zIndex=200; //this line added to force flyout to be above relatively positioned stuff in IE
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function BSL_openPictureWindow(imageName,imageWidth,imageHeight,alt) {
var window_width = imageWidth;
var window_height = imageHeight;
var posTop = (screen.height-window_height)/2;
var posLeft = (screen.width-window_width)/2;
newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
newWindow.document.open();
newWindow.document.write('
<title>'+alt+'</title>'); 
newWindow.document.write('<a href=\'javascript:window.close()\'>'); 
newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+' border="0">'); 
newWindow.document.write('</a>'); 
newWindow.document.write('');
newWindow.document.close();
newWindow.focus();

