﻿var $j = jQuery.noConflict();

function mainmenu() {
  $j("#menu ul").css({display: "none"}); // Opera Fix
  $j("#menu li").hover(function() {
    $j(this).find('ul:first').css({visibility: "visible", display: "none"}).fadeIn(300);
	},function() {
	  $j(this).find('ul:first').css({visibility: "hidden"}).fadeOut(300);
	});
}

$j(document).ready(function() {  
  mainmenu();
  $j(document).pngFix();
  $j("#menu").corner("10px tl tr");
  $j(".wrap").corner("10px tl tr bl br");
  $j("#menu li ul").children("li:nth-child(1)").css({"border-top" : "none"}); 
});


$j(function() {
    $j('#slideshow').cycle({
        
    timeout:       6500,  // milliseconds between slide transitions (0 to disable auto advance) 
    speed:        1200,  // speed of the transition (any valid fx speed value) 
    pause:         0   // true to enable "pause on hover" 
    });
});

