<!--
function autoVAlign(rw){	
	window.size = function(rw) {
		var w = 0;
		var h = 0;
		//IE
		if(!window.innerWidth) {
			//strict mode
			if(!(document.documentElement.clientWidth == 0)){
				w = document.documentElement.clientWidth;
				h = document.documentElement.clientHeight;
			}
			//quirks mode
			else{
				w = document.body.clientWidth;
				h = document.body.clientHeight;
			}
		}
		//w3c
		else{
			w = window.innerWidth;
			h = window.innerHeight;
		}
		return {width:w,height:h};
	}
	document.getElementById("topContainer").style.height=window.size().height+"px";
	
	var r=document.getElementById("rightcolumn");
	
	if(rw==null){
		var rw=0;
		if(r.offsetWidth){ 
			rw=r.offsetWidth;
	    } 
	    else if(r.style.pixelWidth){ 
			rw=r.style.pixelWidth;					 
	    }
	}
	 
	var l=document.getElementById("leftcolumn");
	var lw=0;
	if(l.offsetWidth){ 
		lw=l.offsetWidth;
    } 
    else if(l.style.pixelWidth){ 
		lw=l.style.pixelWidth;					 
    } 
	var colsw=lw+rw;
		
	var winwidth=window.size().width;
	
	//alert(winwidth);
	
	var bufwidth=winwidth-colsw-40;
	if(bufwidth < 0) bufwidth=0; 
	var reswidth=colsw+bufwidth;
	
	//alert(lw); //alert(rw); alert(bufwidth);
	
	document.getElementById("main-wrapper").style.width=reswidth+"px";
	document.getElementById("header").style.width=reswidth+"px";
	document.getElementById("tblmain").style.width=reswidth+"px";
	
	//alert(bufwidth);
	
	document.getElementById("tdbuf").style.width=bufwidth+"px";
}

var rw;

autoVAlign(rw);

window.onresize = autoVAlign;
//-->
