function rszbars(){
var t = getobj('amcmenu');
var s = getobj('amcrightbanner');
var q = getobj('amcwrapper');
var p = getobj('amctable');

var hh = getHH();

	t.style.height = hh + 'px';
	try{
		s.style.height = hh + 'px';
	}
	catch(e){
	}
	
	try{
		p.style.height = (hh-10) + 'px';
	}catch(e){
	}
	
	q.style.height = hh + 'px';
	q.style.overflow = 'hidden';
	
	window.onresize = rszbars;
}

function getobj(id){
	return document.getElementById(id);
}

function getHH(){
	var a = document.documentElement.scrollHeight;
	var b;
	try{
		b = val(document.defaultView.getComputedStyle(document.body,"").getPropertyValue("width"));
	}
	catch(e){
		b = 0;
	}
	if(parseInt(a)>parseInt(b)){
		return a;
	}else{
		return b;
	}
}

function val(x){
	return String(x).replace(/\D/g,'');
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
