$(document).ready(function(){
	
	
	/* functions to scroll through pages */
	
	
    // Move to About Us
     $("#about").click(function(){
      $("#content").animate({ 
      marginLeft: 0
      }, 500 );
    });
    
    
    // Move to What We Do
     $("#whatwedo").click(function(){
      $("#content").animate({ 
      marginLeft: -650
      }, 500 );
    });
    
    
    // Move to Content Management
     $("#cms").click(function(){
      $("#content").animate({ 
      marginLeft: -1300
      }, 500 );
    });
    
    
    // Move to Available Features
     $("#features").click(function(){
      $("#content").animate({ 
      marginLeft: -1950
      }, 500 );
    });
    
    // Move to Our Work
     $("#ourwork").click(function(){
      $("#content").animate({ 
      marginLeft: -2600
      }, 500 );
    });
    
    // Move to Contact Us
     $("#contact").click(function(){
      $("#content").animate({ 
      marginLeft: -3250
      }, 500 );
    });
    // Move to Contact Us (second anchor link ID)
     $("#contact2").click(function(){
      $("#content").animate({ 
      marginLeft: -3250
      }, 500 );
    });
    
    // Move to Online Quote
     $("#quote").click(function(){
      $("#content").animate({ 
      marginLeft: -3900
      }, 500 );
    });
    // Move to Online Qutoe (second anchor link ID)
     $("#quote2").click(function(){
      $("#content").animate({ 
      marginLeft: -3900
      }, 500 );
    });
	
	
	
	
	
	
	/* functions to move navigation bullets */
	
	
	$("#about").mouseover(function(){
	  $("#bullet1").animate({ 
	  left: 15
	  }, 100 );
	});
	$("#about").mouseout(function(){
	  $("#bullet1").animate({ 
	  left: 0
	  }, 300 );
	});
	
	
	
	$("#whatwedo").mouseover(function(){
	  $("#bullet2").animate({ 
	  left: 15
	  }, 100 );
	});
	$("#whatwedo").mouseout(function(){
	  $("#bullet2").animate({ 
	  left: 0
	  }, 300 );
	});
	
	
	
	$("#cms").mouseover(function(){
	  $("#bullet3").animate({ 
	  left: 15
	  }, 100 );
	});
	$("#cms").mouseout(function(){
	  $("#bullet3").animate({ 
	  left: 0
	  }, 300 );
	});
	
	
	
	$("#features").mouseover(function(){
	  $("#bullet4").animate({ 
	  left: 15
	  }, 100 );
	});
	$("#features").mouseout(function(){
	  $("#bullet4").animate({ 
	  left: 0
	  }, 300 );
	});
	
	
	
	$("#ourwork").mouseover(function(){
	  $("#bullet5").animate({ 
	  left: 15
	  }, 100 );
	});
	$("#ourwork").mouseout(function(){
	  $("#bullet5").animate({ 
	  left: 0
	  }, 300 );
	});
	
	
	
	$("#contact").mouseover(function(){
	  $("#bullet6").animate({ 
	  left: 15
	  }, 100 );
	});
	$("#contact").mouseout(function(){
	  $("#bullet6").animate({ 
	  left: 0
	  }, 300 );
	});
	
	
	
	$("#quote").mouseover(function(){
	  $("#bullet7").animate({ 
	  left: 15
	  }, 100 );
	});
	$("#quote").mouseout(function(){
	  $("#bullet7").animate({ 
	  left: 0
	  }, 300 );
	});
	
	
	
});
  
