﻿jQuery(function(){
			jQuery('ul.sf-menu').superfish();
		});

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;

$(function() {
$('#s5').cycle({ 
    fx:     'scrollLeft', 
    timeout: 30000, 
    before:  onBefore, 
    after:   onAfter 
 });
 });

function onBefore() { 
    $('#output').html("<dl><dt>&emsp;" + this.title + "<hr style='width:430px;border-width:1px;border-color:#999999;'>" + "&emsp;" + this.name + "</dt></dl>"); 
} 
function onAfter() { 
    $('#output').html("<dl><dt>&emsp;" + this.title + "<hr style='width:430px;border-width:1px;border-color:#999999;'>" + "&emsp;" + this.name + "</dt></dl>") 
        .append('<dl><dd style="font-size:95%;line-height:1.5em">' + this.alt + '</dd></dl>'); 
}


