jQuery(document).ready(function($) {

	//clear text box value
	$('#nemail')
		.focus
		(
			function()
			{
				$(this).val('');
			}
		)
	;
	$('#nemail')
		.blur
		(
			function()
			{
				if($(this).val()=='')
				{
					$(this).val('Enter your email address');
				}
			}
		)
	;


	/**
	 * Sticky footer
	 */

	/*$('html,body')
		.css
		(
			{
				'height':'100%',
				'min-height':'100%'
			}
		)
	;

	$('#docarea').css('min-height','100%');
*/
	

	homecontentpadding = $('#newsletter').height() + $('#footer').height();
	$('#content.homecontent').css('padding-bottom',homecontentpadding + 'px');
	
	$('#footer')
		.css
		(
			{
				'position':'absolute',
				'bottom':'0'
			}
		)
	;
	
	
	/*var documentHeight = $(document).height()-40;
        $('.copyright').css('top',documentHeight);
        $(window).resize(function(){
			var documentHeight = $(document).height()-40;
			var windowHeight = $(window).height()-40;

			var position = windowHeight;
			var wrapper = $('#Wrapper').height();
			if(windowHeight < wrapper){
				var position = wrapper;
			}
			$('.copyright').css('top',position);
		});*/

	$('.post:eq(0)').css({'border':'0','padding':'0'});
	

});

