function initMenu()
{
	var nodes = document.getElementById("nav").getElementsByTagName("li");
	for (var i=0; i<nodes.length; i++)
	{
		nodes[i].onmouseover = function()
		{
			this.className += " hover";
		}
		nodes[i].onmouseout = function()
		{
			this.className = this.className.replace(" hover", "");
		}
	}
}
if (document.all && !window.opera) attachEvent("onload", initMenu);

$(document).ready(function() {
    // init slideshow
    $('#slideset').cycle({
        pager: '#slidenav',
        fx: 'scrollDown',
        timeout: 0,
        speedIn: 2500,
        speedOut: 1000,
        easeIn: 'bounceout',
        easeOut: 'backin',
        delay: -2000
      
        
    });




// move titles to pager
var _src = $('#slideitems a');
var _dst = $('#slidenav a');

_dst.each(function(_ind, _val) {
    $(this).html(_src.eq(_ind).html());
});
});