$(document).ready(function(){

	// Clear Login Fields
	$("input.login-input").focus(function() {
	if( this.value == this.defaultValue ) {
		this.value = "";
	}
	}).blur(function() {
		if( !this.value.length ) {
			this.value = this.defaultValue;
		}
	});
	
	// Cross Fade
    // For more info, see http://tobia.github.com/CrossSlide/
	if ($('#home-banner').length != 0) {
	
		$('#home-banner').crossSlide({
	      sleep: 10,
	      fade: 1
	    }, [
	      { src: '../../Content/assets/images/home-banners/pioneers.jpg', href: 'assetdisposition/defining_security' },
	      { src: '../../Content/assets/images/home-banners/sustain.jpg', href: 'sustainable/r2' },
	      { src: '../../Content/assets/images/home-banners/disposition.jpg', href: 'assetdisposition/our_services' }
	     ]);
     
     }
     
     // Cufon
     // For more info, see http://cufon.shoqolate.com/generate/
     Cufon.replace('.foot-box h3');
     Cufon.replace('.foot-box2 h3');
	 Cufon.replace('.foot-box2-internal h3');
     Cufon.replace('.inside-right h1');


});

// FreeStyle Menus
// For more info, see http://www.twinhelix.com/dhtml/fsmenu/
//<![CDATA[
var listMenu = new FSMenu('listMenu', true, 'display', 'block', 'none');
listMenu.animations[listMenu.animations.length] = FSMenu.animFade;
listMenu.animations[listMenu.animations.length] = FSMenu.animSwipeDown;
var arrow = null;
if (document.createElement && document.documentElement)
{
 arrow = document.createElement('span');
 arrow.appendChild(document.createTextNode('>'));
 arrow.className = 'subind';
}
addReadyEvent(new Function('listMenu.activateMenu("listMenuRoot", arrow)'));
//]]>

