        $(document).ready(
                    function(){
                        $('#main-image').innerfade({
                            speed: 2000,
                            timeout: 7000,
                            type: 'sequence',
                            containerheight: '350px'
                        });
                        $('#home-image').innerfade({
                            speed: 2000,
                            timeout: 5000,
                            type: 'sequence',
                            containerheight: '320px'
                        });
                        
                        $('ul#top-left-image').innerfade({
                            speed: 1000,
                            timeout: 6000,
                            type: 'sequence',
                            containerheight: '220px'
                        });
                        $('ul#bottom-left-image').innerfade({
                            speed: 1000,
                            timeout: 5000,
                            type: 'sequence',
                            containerheight: '220px'
                        });
                });
                
                $(function() {
        $('.right a').lightBox();
    });
    
    
                    $(function() {
        $('.contact a').lightBox();
    });
    
    $(document).ready(function(){
				//Examples of how to assign the ColorBox event to elements
				$(".example6").colorbox({iframe:true, scrolling:false, innerWidth:560, innerHeight:440});
				$(".example7").colorbox({iframe:true, scrolling:false, innerWidth:900, innerHeight:550});
								
				//Example of preserving a JavaScript event for inline calls.
				$("#click").click(function(){ 
					$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
					return false;
				});
			});