clientsize = function() {
	var myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
    	myHeight = window.innerHeight;
  	} else if( document.documentElement && ( document.documentElement.clientHeight ) ) {
    	myHeight = document.documentElement.clientHeight;
  	} else if( document.body && ( document.body.clientHeight ) ) {
    	myHeight = document.body.clientHeight;
  	}
	if (myHeight < 552 ) {
	  	// problem here as id not always wrapper
		if(document.getElementById('wrapper')) {
			document.getElementById('wrapper').id="wrapper-noresize"; 
		}
	}
	// below doesnt seem to work in ffox
	else if(myHeight >= 552){
		if(document.getElementById('wrapper-noresize')) {
			// problem here as id not always wrapper-noresize
	    	document.getElementById('wrapper-noresize').id="wrapper"; 
		}
	}
}