$(function() {
	$('.lbox').lightBox({fixedNavigation:true});
});

$( document ).ready( function (){



$("#page").css("left", "-100%");
//$(".rows").css("width", "0%");
$("#menu").css("opacity", "0.0");
$("#stape").css("opacity", "0.8");
$("#subp").css("opacity", "0.0");
$("#page").css("min-height", screen.height - 400); 
$("#page").css("opacity", "0.0");
$('.reflect').reflect({height:0.2,opacity:0.4});



 $('#slider').cycle({ 
        speed:    800,
		timeout:  4000,
		shuffle:  {left:-300, top:30},
		clip:     'zoom',
		fx:       'all'
    }); 

	

	
$("#loading").fadeTo("slow", 0.2, function() {
     document.getElementById("loading").style.display="none";
    });
	
$("#overlayed").fadeTo("slow", 0.2, function() {
     document.getElementById("overlayed").style.display="none";
	

 
$("#page").animate(
{ left: 400, width: "1000",opacity: "0.6"}, {
 duration: 'slow',
 easing: 'easeOutCubic'
 }) .animate({opacity: "0.9"}, "fast", function() { 
 
 
 $("#menu").animate({opacity: "0.9"}, "fast", function() { 
 $("#sel").animate({width: "+=60",  opacity: "1.0"}, {
 duration: 'slow',
 easing: 'easeInOutBack'
 }).css("color", "#FFF");
 } );
 $("#subp").css("opacity", "1.0");
 })

 
 //$(".rows").animate({width: "100%"}, "slow");
 
    });



$("a.wlink").hover(function(){
						   $(this).animate(
{    opacity: "0.5"}, {
 duration: 'slow',
 easing: 'easeOutElastic'
 })
 return false;
						   },function(){
						    $(this).animate(
{    opacity: "0.8"}, {
 duration: 'slow',
 easing: 'easeOutElastic'
 });
							});
							

							


			});


