jQuery.noConflict();

 
jQuery(document).ready(function () {



 jQuery('.gostisce').hover(function(){
  jQuery(this).toggleClass('gostisce-hover');	
		});
	
	
  jQuery('.aFancygostisce').hover(function(){
    jQuery(this).toggleClass('aFancygostisce-hover');	
		});
		
 jQuery('.paintball').hover(function(){
    jQuery(this).toggleClass('paintball-hover');	
		});	
  jQuery('.aFancypaintball').hover(function(){
    jQuery(this).toggleClass('aFancypaintball-hover');	
		});	
		
 jQuery('.kingofthehill').hover(function(){
    jQuery(this).toggleClass('kingofthehill-hover');	
		});	
  jQuery('.aFancykingofthehill').hover(function(){
    jQuery(this).toggleClass('aFancykingofthehill-hover');	
		});	
 jQuery('.rekreacija').hover(function(){
    jQuery(this).toggleClass('rekreacija-hover');	
		});	
  jQuery('.aFancyrekreacija').hover(function(){
    jQuery(this).toggleClass('aFancyrekreacija-hover');	
		});	
 
jQuery('.gostisce').click(function(){
   window.location = 'http://kraljevhrib-sp.si';

}); 
jQuery('.paintball').click(function(){
   window.location = 'http://kraljevhrib-sp.si/paintball';

}); 
jQuery('.rekreacija').click(function(){
   window.location = 'http://kraljevhrib-sp.si/rekreacija.htm';

}); 
jQuery('.kingofthehill').click(function(){
   window.location = 'http://kraljevhrib-sp.si/king_of_the_hill_si.htm';

}); 



		
		// hide sub menus
jQuery('.horizontal_menu ul').hide();

// toggle sub menus on hover
jQuery('.horizontal_menu > li')
  .hover(function(e) {
    jQuery(this).children('ul').hoverFlow(e.type, {
      'height': 'show',
      'marginTop': 'show',
      'marginBottom': 'show',
      'paddingTop': 'show',
      'paddingBottom': 'show' 
    });
  }, function(e) {
    jQuery(this).children('ul').hoverFlow(e.type, {
      'height': 'hide',
      'marginTop': 'hide',
      'marginBottom': 'hide',
      'paddingTop': 'hide',
      'paddingBottom': 'hide' 
    });
  });		


});




	
	
