Cufon.replace('h1');
Cufon.replace('h2');
Cufon.replace('h3');
Cufon.replace('h4');
Cufon.replace('h5');
Cufon.replace('h6');
Cufon.replace('ul.qtrans_language_chooser a');

Cufon.replace('#wrapper2 .holder .menu li a');
Cufon.replace('#quarter_three_quarters .right_column .xtrig_span a');


$().ready(function() {
  
    $('#coda-slider-1').codaSlider({
        dynamicArrows: false,
        dynamicTabs: false,
        autoSlide: true,
        autoSlideInterval: 10000,
        autoSlideStopWhenClicked: true,
        updateNavigationHover: true
        
    });

    $('#coda-slider-2').codaSlider({
        dynamicArrows: false,
        dynamicTabs: false,
        autoSlide: true,
        autoSlideInterval: 7000,
        autoSlideStopWhenClicked: true,
        updatePager: true
    });
    

	/* Hover effect menu, (because cufon needs to refresh) */
    $('#wrapper2 .holder .menu li a').mouseover(function(){
		var currClass = this.parentNode.getAttribute('class');
		if(currClass != null && currClass.indexOf('current') < 0) {
    		this.style.color = '#a4f509';
    	}
    	Cufon.refresh();
    });
    
    $('#wrapper2 .holder .menu li a').mouseout(function(){
		var currClass = this.parentNode.getAttribute('class');
		if(currClass != null && currClass.indexOf('current') < 0) {
    		this.style.color = '#ffffff';
    	}
    	Cufon.refresh();
    });
	/* END Hover effect menu */    
/*	
	$(".colm_contaner > ul").each(function(intIndex) {
		if($( this ).css('list-style') == '')
		{
			var turl = $('#turl').html();
			$( this ).css('list-style', 'upper-roman inside url(' + turl + '/images/list-pil.png)');
		}
	});
*/

//	alert(window.location);
	
	if(window.location.toString().indexOf("?cat=3") > -1) {
		$('.page-item-8').addClass('current_page_item');
		$('.menu > li').css('display', 'inline');
		Cufon.refresh();
	}

});