jQuery(document).ready(function() {
    if (jQuery('.gallery').galleryScroll) {
        jQuery('.gallery').galleryScroll({
            btPrev: '.lnk-prev',
            btNext: '.lnk-next',
            holderList: 'div',
            scrollElParent: 'ul',
            scrollEl: 'li',
            slideNum: false,
            duration: 1000,
            step: 1,
            circleSlide: true,
            autoSlide: 7000,
            disableClass: 'disable',
            funcOnclick: null
        });
    }
});

jQuery(document).ready(function() {
    if (jQuery('.gallery-holder').galleryScroll) {
        jQuery('.gallery-holder').galleryScroll({
            btPrev: '.prev',
            btNext: '.next',
            holderList: 'div.photo-box',
            disableClass: 'disable',
            scrollElParent: 'ul',
            scrollEl: 'li',
            duration: 1000,
            circleSlide: true,
            autoSlide: false,
            slideNum: false,
            step: 1,
            funcOnclick: null
        });
    }
});

function initHover()
{
	var nodes = document.getElementById("navigation");
	if (nodes)
	{
		nodes = nodes.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", initHover);