$.fn.cycle.defaults.timeout = 6000;

$(function() {
    
		
	
	

	
    $('#animation1').after('<div id="nav" class="nav" /> <div id="slide-next" /> <div id="slide-prev" />').cycle({
    fx:      'scrollVert',
    timeout: 9000,
    delay:   2500,
	speed:    1200,
	next:  '#slide-next', 
	prev:  '#slide-prev',
	pager:  '#nav'
	});
	
	
	
	$('#aniisi').after('<div id="nav-isi"  /> <div id="slide-next-isi" /> <div id="slide-prev-isi" />').cycle({
    fx:      'scrollHorz',
    timeout: 7000,
    delay:   1500,
	speed:    1800,
	next:  '#slide-next-isi', 
	prev:  '#slide-prev-isi',
	
    pager:  '#nav-isi'
	});
	
	
	
	$('#imp-note').cycle({
    fx:      'fade',
    timeout: 8000,
    delay:   1000,
	speed:    2800
	});
	
	
	
	
	$('#full-cal-year-holder').after('<div id="full-cal-month-prev" /> <div id="full-cal-month-next" />').cycle({
									 
	startingSlide: monthcurrent(), 
    fx:      'none',
    timeout: 0,
    
	
	next:  '#full-cal-month-next', 
	prev:  '#full-cal-month-prev'
	});
	
	
	
	
});
 
 

function monthcurrent() { 
    var d = new Date();
	var cmonth = d.getMonth(); 
    return (cmonth); 
 }



 $(document).ready(function(){ 
        $("ul.sf-menu").superfish(); 
		
		/*
		
		$(".main-menu-l2").css('zIndex', 9022);
		$(".level-2").css('zIndex', 9122);
	
		$("#animation1").css('zIndex', 322); */
		
	$(".my-ev-full").hide();

//$(".my-ev-full").css(cssObj2);
$(".my-ev-full").css('zIndex', 19322);

$('.eventDay').mouseover(function(){
      
	  // $('#event-popup').html('');
	   $(".my-ev-full",this).show();
	$(".my-ev-full",this).css('zIndex', 19322);
	//$(".my-ev-full", this).appendTo("#event-popup"); 

	//this.appendTo('#event-popup');
	  
	  
	 /*
	 $('.V9').each(function(index) {
   			// alert(index + ': ' + $(this).text());
			//alert(index);
			$(".V9").css("top",(index*10));
  		});
 		
	  */
    });



$('.eventDay').mouseout(function() {
	$(".my-ev-full",this).hide(); 
	// $('#event-popup').html('');
	
});
//$(".V9 a").tooltip();

//$(".cal-event-title").hide();  absolute
//$(".V9").hide();

 var cssObj = {
      
	
	'width':'100',
	'position' : 'relative',
	'zIndex' : '29000',
	'float':'left'
    }
	//$(".V9").css(cssObj2);
	 var cssObj2 = {
      
	
	'display':'none'
    }

	
	
//alert(html)
 
    }); 