// JavaScript Document

//shadowbox stuff starts
Shadowbox.loadSkin('classic', 'js/skin/');
Shadowbox.loadLanguage('en', 'js/build/lang');
Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], 'js/build/player');

window.onload = Shadowbox.init;
//shadowbox stuff ends
	    

//intro slide starts
      $(document).ready(function() {
      $("#intro").hide();  
   
	  $(".btn-slide").click(function(){
	   if ($("#intro").is(":hidden")) {  
   
         $("#intro").slideDown("slow");  
   
  $(this).addClass("active");  
   
          $.cookie('showTop', 'collapsed');  
   
  return false;  
   
 } else {  
   
         $("#intro").slideUp("slow");  
   
  $(this).removeClass("active");  
   
         $.cookie('showTop', 'expanded');  
   
  return false;  
   
 }  
   
 });
 
 // COOKIES
    // Header State
    var showTop = $.cookie('showTop');

    // Set the user's selection for the Header State
    if (showTop == 'collapsed') {
	$("#intro").show();
	$(".btn-slide").addClass("active");
	
    };
 
}); 
//intro slide ends


//fade in starts
  	$(document).ready(function () {
	$('.innercontent').hide().fadeIn(400);
})
//fade in ends

//cycle stuff starts

//cycle stuff ends


