/* This small script is designed to fix a problem in Opera, nothing more... */
if (isJsEnabled()) {
  addLoadEvent(aqdetect);
}
function aqdetect() {
	var bname = navigator.appName;
	if (navigator.appName=="Opera") {
		var main_height = document.getElementById("main_area").clientHeight;
		document.getElementById("inside1").style.height = main_height;
		document.getElementById("inside2").style.height = main_height;
		document.getElementById("inside3").style.height = main_height;
	}

  //Below is an attempt to solve a problem in FF of uncollapsed content being rendered outside the layout
  //var aqwidth = window.innerWidth;
  //window.innerWidth=aqwidth+1;
  //window.innerWidth=aqwidth-1;
  var ran_unrounded=Math.random()*100;
  var ran_number=Math.floor(ran_unrounded);
  var aqwidth=ran_number;
  var aqcheck=100+(aqwidth/10000);
  if (document.body.style.width==aqcheck) aqwidth=aqwidth+0.0001;
  document.body.style.width='99.999'+aqwidth+'%';
  //alert(document.body.style.width);
	document.body.style.width='101%';
	document.body.style.width='100%';
}