function setDivSize(setHeight) {
  var myWidth = 0, myHeight = 0;
  var textBoxHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
   	if(document.getElementById("logo") != null) {
		if (myWidth - 300 < 550) {
			var newMargin = myWidth - 700;
			if (newMargin < 0) {
				newMargin = 0;
			}
			document.getElementById("logo").style.marginRight = newMargin + "px";
		}
    }
   	if(document.getElementById("textboxAbout") != null) {
		if (myWidth - 300 < 417) {
			var newMargin = myWidth - 567;
			if (newMargin < 0) {
				newMargin = 0;
			}
			document.getElementById("textboxAbout").style.marginRight = newMargin + "px";
		}
    }
   	if(document.getElementById("textbox") != null) {
		if (myWidth - 300 < 424) {
			var newMargin = myWidth - 574;
			if (newMargin < 0) {
				newMargin = 0;
			}
			document.getElementById("textbox").style.marginRight = newMargin + "px";
		}
    }
    if(setHeight) {
		myHeight = window.innerHeight;
		textBoxHeight = myHeight - 200;
		document.getElementById("textboxAbout").style.height = textBoxHeight +"px";
		document.getElementById("scroller").style.height = (textBoxHeight - 110) +"px";
	}
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
   	if(document.getElementById("logo") != null) {
		if (myWidth - 300 < 550) {
			var newMargin = myWidth - 700;
			if (newMargin < 0) {
				newMargin = 0;
			}
			document.getElementById("logo").style.marginRight = newMargin + "px";
		}
    }
   	if(document.getElementById("textboxAbout") != null) {
		if (myWidth - 300 < 417) {
			var newMargin = myWidth - 567;
			if (newMargin < 0) {
				newMargin = 0;
			}
			document.getElementById("textboxAbout").style.marginRight = newMargin + "px";
		}
    }
   	if(document.getElementById("textbox") != null) {
		if (myWidth - 300 < 424) {
			var newMargin = myWidth - 574;
			if (newMargin < 0) {
				newMargin = 0;
			}
			document.getElementById("textbox").style.marginRight = newMargin + "px";
		}
    }
    if(setHeight) {
		myHeight = document.documentElement.clientHeight;
		textBoxHeight = myHeight - 200;
		document.getElementById("textboxAbout").style.height = textBoxHeight +"px";
		document.getElementById("scroller").style.height = (textBoxHeight - 110) +"px";
	}
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
   	if(document.all["logo"] != null) {
		if (myWidth - 300 < 550) {
			var newMargin = myWidth - 700;
			if (newMargin < 0) {
				newMargin = 0;
			}
			document.all["logo"].style.marginRight = newMargin + "px";
		}
    }
   	if(document.all["textboxAbout"] != null) {
		if (myWidth - 300 < 417) {
			var newMargin = myWidth - 567;
			if (newMargin < 0) {
				newMargin = 0;
			}
			document.all["textboxAbout"].style.marginRight = newMargin + "px";
		}
    }
   	if(document.all["textbox"] != null) {
		if (myWidth - 300 < 424) {
			var newMargin = myWidth - 574;
			if (newMargin < 0) {
				newMargin = 0;
			}
			document.all["textbox"].style.marginRight = newMargin + "px";
		}
    }
    if(setHeight) {
		myHeight = document.body.clientHeight;
		textBoxHeight = myHeight - 200;
		document.all["textboxAbout"].style.height = textBoxHeight +"px";
		document.all["scroller"].style.height = (textBoxHeight - 110) +"px";
   	}
  }
}