function SizeWindowToRightSize(intTargetWindowWidth, intTargetWindowHeight)
{


						var strClientType;
//						var intTargetWindowWidth = 825, intTargetWindowHeight = 600;
						//alert("about to resize window to " + intTargetWindowWidth + "x" + intTargetWindowHeight);
						 var intWindowWidth = 0, intWindowHeight = 0;
						 
						  if( typeof( window.innerWidth ) == 'number' ) {
						    //Non-IE
						    strClientType = "Non-IE";
						    intWindowWidth = window.innerWidth;
						    intWindowHeight = window.innerHeight;						    
						  } else {
						    if( document.documentElement &&
						        ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {

						      //IE 6+ in 'standards compliant mode'
						       strClientType = "IE 6+ - standards compliant mode";
						      intWindowWidth = document.documentElement.clientWidth;
						      intWindowHeight = document.documentElement.clientHeight;
						    } else {
						      if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
						        //IE 4 compatible
						        strClientType = "IE 4 compatible";
						        intWindowWidth = document.body.clientWidth;
						        intWindowHeight = document.body.clientHeight;
						      }
						    }
						  }

				//alert("this appears to be a " + strClientType + "client --> determined that window dimensions are " + intWindowWidth + "x" + intWindowHeight);
				

				var blnResizedWidth = false;

				if((intWindowWidth < intTargetWindowWidth) || (intWindowHeight < (intTargetWindowHeight - 60)))
				{

					//alert("about to resize to " + intTargetWindowWidth + "x" + (intTargetWindowHeight+70));
					self.resizeTo(intTargetWindowWidth,intTargetWindowHeight+70);
					//alert(intTargetWindowWidth + "X" + (intTargetWindowHeight+50));
				
				}




}

