

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);


function initzoom() {
  container1.style.zoom = "100%";
}
function zoomInAndOut(string) {
  if (string == "in") {
    currZoom = container1.style.zoom;
    currZoom = currZoom.substring(0, currZoom.length - 1);
    currZoom = parseInt(currZoom, 10);
    newZoom = currZoom + 10;
	
    if (newZoom > 1000) return;
	
    container1.style.zoom = newZoom + "%";
  }
  else if (string == "out") {
    currZoom = container1.style.zoom;
    currZoom = currZoom.substring(0, currZoom.length - 1);
    currZoom = parseInt(currZoom, 10);
    newZoom = currZoom - 10;
	
	if (newZoom < 10) return;
	
    container1.style.zoom = newZoom + "%";
  }
}

