function ExtendActions(){
 /*
 var elem = document.getElementById("container_footer");
 if(elem){
   elem.style.bottom = "0px";
 }
 */
}


	var MIN_HEIGHT = 400;

			 function PageExtender(used_height){
	var elemet_id = "page_extender";
var elem = null;
if(elem = document.getElementById(elemet_id)){
  //alert('Your resolution is '+screen.width+'x'+screen.height); 
  
	var w, h;
	if (self.innerHeight) // all except Explorer
	{
		w = self.innerWidth;
		h = self.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
		// Explorer 6 Strict Mode
	{
		w = document.documentElement.clientWidth;
		h = document.documentElement.clientHeight;
	}
	else if (document.body) // other Explorers
	{
		w = document.body.clientWidth;
		h = document.body.clientHeight;
	}
  //alert("W: "+ w + " H: " + h);
  var diff = h - used_height;
  //alert(diff);
  if(diff < 0) diff = 0;
  if(diff < MIN_HEIGHT){
	diff = MIN_HEIGHT;
  }
  elem.style.height = diff +"px";
  ExtendActions();
}
}
