jQuery.noConflict();



jQuery(document).ready(function() {
	

	
	//font replacement	
	Cufon.replace('.textArea,.mainNav', { hover: true, fontFamily: 'Avenir LT Std' });
	
	//make scroll same size as window and keep that way
	var curHeight = jQuery(window).height();
	jQuery("div.col,div.colFirst").css('height',curHeight);
	jQuery(window).resize(function() {
 	curHeight = jQuery(window).height();
 	jQuery("div.col,div.colFirst").css('height',curHeight);
	jQuery("div#makeMeScrollable").css('height',curHeight);
	});
	setTimeout(function() {
			}, 1200);
	//initiate scrolling
	jQuery("div#makeMeScrollable").smoothDivScroll({ 
			autoScroll: "onstart" , 
			autoScrollDirection: "endlessloopright", 
			autoScrollStep: 1, 
			autoScrollInterval: 15,	
			visibleHotSpots: "always"
		});
	
		
	// stop/start logo event handlers
	jQuery("div#makeMeScrollable").bind("mouseover", function() {
		jQuery(this).smoothDivScroll("stopAutoScroll");
	}).bind("mouseout", function() {
		jQuery(this).smoothDivScroll("startAutoScroll");
	});
	
	//handle client preview hovers
	jQuery("div.col").hoverIntent(
  function () {
 
   
	jQuery(this).find(".gradientImg,.textContent,.textArea").fadeIn(100);
	 jQuery(this).children(".hoverClient").find("img").fadeIn(800);
	
  },
  function () {
	
   jQuery(this).children(".hoverClient").find("img").fadeOut(100);
	jQuery(this).find(".gradientImg,.textContent,.textArea").fadeOut(1500);
	
  }
);
});


