/* CSS Document */

/* this function will be called onload */
function gui_onload(){
	gui_calc_content ();	
}

/* this function will be called onresize */
function gui_onresize(){
	gui_calc_content ();
};

/* calculate the with of the content, located between the header and the footer */
function gui_calc_content(){	
	var	left,right,container; 
	
	right					= document.getElementById ('right');
	left					= document.getElementById ('left');
	frameArray				= frame_size();
	try {
		left.style.width 	= ((frameArray[0] - right.offsetWidth ) * 0.90)  + "px";		
	}
	catch (e){
		left.style.width 	= "770px";	
	}
}


