
var getHeight = function(){
	
	/*if(typeof $('#footerMenu').get(0).active == 'undefined'){
		
		return ($(window).height() - $('#footerMenu').innerHeight());
	}
	if($('#footerMenu').get(0).active){
		return ($(window).height() - $('#footerMenu').innerHeight()  );
	}else{*/
		return ($(window).height());		
	//}
}
var getWidth= function(){
	return ($(window).width());	
}

full = function(elementID) {
	      
	      var $$ = $('#'+elementID);
      
	      $$.css('position','absolute');
	      $$.css('display','block');
	      
	      this.resize = function(){
		      $('#'+elementID).animate({'width':getWidth(),'height':getHeight()},'slow',function(){});
	      }
	      
	      $(window).resize(function(){
		      $$.css({'width':getWidth(),'height':getHeight()})
	      })
	      
	      $$.css({'width':getWidth(),'height':getHeight()});
	      $$.css({'width':getWidth(),'height':getHeight()});
      
}






