// JavaScript Document
function getElementsByClassName(node, classname){
  var a = [];
  var re = new RegExp('\\b' + classname + '\\b');
  var els = node.getElementsByTagName("*");
  for(var i=0,j=els.length; i<j; i++)
	 if(re.test(els[i].className))a.push(els[i]);
  return a;
}
function getHeightContent(){
	var content 	= document.getElementById('content');
	var incontent 	= document.getElementById('incontent');
	var hScreen 	= (document.documentElement.clientHeight)-250;
	
	/*
	var hContent	= incontent.offsetHeight;	
	
	var heightMax = 0;	
	if(hScreen > hContent){		
		var hNavigation = document.getElementById('nav_pr').offsetHeight;
		if(hContent > hNavigation){
			heightMax = hContent;
		}else{
			heightMax = hNavigation;
		}
	}else{
		heightMax = hScreen
	}*/
	var heightMax = hScreen;	
	
	content.style.height 	= heightMax+'px';
	incontent.style.height 	= heightMax+'px';

}