// JavaScript Document

// script copybook for brickmoon.com
// (c) Greg Geter
// free and open to use as you wish

$(document).ready(function(){
  
  
    // on initial load without # hash in URL
    loadHome();



} );

// loads home page with animation on first load
function loadHome() {
    $("#main_body").hide(0).fadeIn(800);
    $("#brickmoon_logo_450").fadeIn(800);
    $("img.homePort").fadeIn(800);
    $("a.footLinks").fadeIn(800);
    $("#brickmoon_logo_100").fadeOut(100);
    $("img.homeLine").animate({
        "width": "0"
      }, 100).animate({
        "width": "650"
      }, 800);  
    $('body').animate({scrollTop:0}, 'slow'); 
  };

