function fixHeight(scrollHeight, offsetHeight)
{return (scrollHeight > offsetHeight ? scrollHeight : offsetHeight + 'px');
}
function fixMarginTop(offsetHeight,documentElement,scrollTop)
{return (0 - parseInt(offsetHeight / 2) + (TBWindowMargin = documentElement && documentElement.scrollTop || scrollTop) + 'px');	
}