// This is function is so that the menus work in IE 6.  They work fine in all other browsers without it.
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

var newProductWindow = null
function productDescriptions(page) {
  if (!newProductWindow || newProductWindow.closed) {
   newProductWindow = this.open(page, "products", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=517,height=500");
  } else {
   newProductWindow = this.open(page, "products", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=517,height=500");
   newProductWindow.focus()
  }
}

var newWebcamWindow = null
function webcam(page) {
	if (!newWebcamWindow || newWebcamWindow.closed) {
		newWebcamWindow = this.open(page, "Webcam", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=622,height=575");
	} else {
		newWebcamWindow = this.open(page, "Webcam", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=622,height=575");
		newWebcamWindow.focus()
	}
}

