$(document).ready(function () {
    $("a[rel='overlay']").colorbox({});
    $(".overlay").colorbox({});
});

//Kai's Font
$(document).ready(function () {
			Cufon.replace('#master-title');
			Cufon.replace('#page-title');	
			Cufon.replace('#menu');
			Cufon.replace('#bottom-logo');
});

//$(document).ready(function () {							
		//$("#about-button-image").css({ opacity: 1.0 });
    	//$("#about-button-image").mouseover(function () {
        //$("#about-button-image").fadeTo("fast", 0.0);
	//});
		//$("#about-button-image").mouseout(function () {
        //$("#about-button-image").fadeTo("fast", 1.0);
    //});	
		//$("#beauty-button-image").css({ opacity: 1.0 });
    	//$("#beauty-button-image").mouseover(function () {
        //$("#beauty-button-image").fadeTo("fast", 0.0);
	//});
		//$("#beauty-button-image").mouseout(function () {
        //$("#beauty-button-image").fadeTo("fast", 1.0);
    //});
		//$("#editorial-button-image").css({ opacity: 1.0 });
    	//$("#editorial-button-image").mouseover(function () {
        //$("#editorial-button-image").fadeTo("fast", 0.0);
	//});
		//$("#editorial-button-image").mouseout(function () {
        //$("#editorial-button-image").fadeTo("fast", 1.0);
    //});
		//$("#print-button-image").css({ opacity: 1.0 });
    	//$("#print-button-image").mouseover(function () {
        //$("#print-button-image").fadeTo("fast", 0.0);
	//});
		//$("#print-button-image").mouseout(function () {
        //$("#print-button-image").fadeTo("fast", 1.0);
    //});
		//$("#fashion-button-image").css({ opacity: 1.0 });
    	//$("#fashion-button-image").mouseover(function () {
        //$("#fashion-button-image").fadeTo("fast", 0.0);
	//});
		//$("#fashion-button-image").mouseout(function () {
        //$("#fashion-button-image").fadeTo("fast", 1.0);
    //});

//});

$(document).ready(function(){
		$(".thumbs-img").css({ opacity: 0.3});
		$(".thumbs-img").hover(function(){
		$(this).fadeTo("fast", 1.0);
			},function(){
			$(this).fadeTo("fast", 0.3);
		});
	});

$(document).ready(function(){
		$(".media").css({ opacity: 0.5});
		$(".media").hover(function(){
		$(this).fadeTo("fast", 1.0);
			},function(){
			$(this).fadeTo("fast", 0.5);
		});
	});

$(document).ready(function () {
        $(function () {
            $('#video2').click(function () {
                $('#video-window').animate({ left: '-640px' }, 500);
                isButtonVisible = true;
            });
			$('#video3').click(function () {
                $('#video-window').animate({ left: '-1280px' }, 1000);
                isButtonVisible = true;
            });
            $('#video1').click(function () {
                $('#video-window').animate({ left: '0px' }, 500);
                isButtonVisible = false;
            });
		})
	});

$(document).ready(function(){
			//Examples of how to assign the ColorBox event to elements
			$("a[rel='example1']").colorbox();
			$("a[rel='example2']").colorbox({transition:"fade"});
			$("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
			$("a[rel='example4']").colorbox({slideshow:true});
			$(".example5").colorbox();
			$(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
			$(".example7").colorbox({width:"80%", height:"80%", iframe:true});
			$(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
			$(".example9").colorbox({
				onOpen:function(){ alert('onOpen: colorbox is about to open'); },
				onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
				onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
				onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
				onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
			});
		});

