//functions
	jq144.fn.l2bSlider = function(classe1, classe2) {

		jq144(this).hover(function(){
			jq144(this).find(classe1).show().animate({top : 65,height:100}, 300);
			jq144(this).find(classe2).stop().fadeTo(500, .5)
		},function () { 
			jq144(this).find(classe1).animate({top : 150}, 300);
			jq144(this).find(classe2).stop().fadeTo(500, 10);
		});
	}   
	
	jq144.fn.clearMyInputs = function() {
		return this.focus(function() {
			if( this.value == this.defaultValue || this.value.length > 1) {
				this.value = "";
			}
		}).blur(function() {
			if( !this.value.length ) {
				this.value = this.defaultValue;
			}
		});
	};

//TOP NAVIGATION ALIGMENT
	jq144.fn.shiftMe = function(){
			var liWidth = parseInt($(this).outerWidth());//current element including padding
			var liChild = $(".rightAlign>ul");
			//var liChildWidth = parseInt(liChild.outerWidth());//first element including padding
			var liChildWidth = 210; //anchor set to 200px
			
			var shiftLeft = parseInt(liChildWidth - liWidth);
			liChild.css("left", -shiftLeft);
		},
		
		function () {
    		return;
	};
	
jq144(document).ready(function () {
	
	jq144(function(){
		jq144(".socialNetworks img").tipTip();
	});
	
	/* Tab hover state that slides text vertically */
	<!-- // -->
	var $colour = jq144(".tabBoxImage");
	var $content = jq144(".textOverlay");
	
	/*content.hide();*/
	/*colour.hide();*/
	$content.css('top',150);
	
	jq144('.tabBoxesInnerWrapper').l2bSlider('.textOverlay', '.tabBoxImage');
	
	<!-- // -->
	/*jq144(".carouselWrapper").jCarouselLite({
		auto: 800,
		speed: 3000,
		visible:10
		});*/
	<!-- /slide sitemap/ -->
	jq144('.sitemap').click(function() {//Show/hide top panel
		$('.sitemapBlock')
		//.css('display','block')
		.slideToggle('1900', function() {
		// Animation complete.
		});
	return false;
	});
	
	<!-- CLEAR FIELDS -->
	jq144(".subscribeBox").clearMyInputs();
	<!-- -->
	
	//jq144(".bgImageSwapper").css('background-image','none');
	
	jq144(".rightAlign").shiftMe();
	
});
