function fixHeight(objectToResize) {
	contentHeight = document.getElementById('siteBack').offsetHeight;
	
	
	  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
	objToStretch = document.getElementById(objectToResize);
	if (myHeight > contentHeight) {
		objToStretch.style.height = ((myHeight - contentHeight)+30) +'px';
	}

}

function fixProdTbl() {
	document.getElementById('prdTblCenterCell').style.width = (document.getElementById('prodPic').width+22)+'px';
}

var picIsHidden = false;

function showProdDetails() {
	document.getElementById('prodPic').style.display = 'none';
	document.getElementById('prodDetails').style.display = 'block';
	picIsHidden = true;
}

function hideProdDetails() {
	document.getElementById('prodPic').style.display = 'block';
	document.getElementById('prodDetails').style.display = 'none';
	picIsHidden = false;
}