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 popWin = null;
function dodem(strURL) {
if (popWin != null && !popWin.closed)
popWin.close();
popWin = window.open("demos/"+strURL+".htm", 'popWin', "status=no,scrollbars=no,width=920,height=753");
popWin.focus();
}
function doimg(strURL, strWidth, strHeight) {
var strOptions="";
strOptions="status=no,scrollbars=no"+
",height="+ strHeight+
",width="+strWidth;
if (popWin != null && !popWin.closed)
popWin.close();
popWin = window.open("images/"+strURL+".png", 'popWin', strOptions);
popWin.focus();
}
