window._cE={onwinload:function($f){if('undefined'!=typeof(window.addEventListener)){window.addEventListener('load',$f,false);}else if('undefined'!=typeof(window.document.addEventListener)){window.document.addEventListener('load',$f,false);}else if('undefined'!=typeof(window.attachEvent)){window.attachEvent('onload',$f);}else if('function'==typeof(window.onload)){var q=window.onload;window.onload=function(){q();$f();};}else{window.onload=$f;}return true;},addListener:function($o,$e,$f,$c){var c=$c||false;if($o.addEventListener){$o.addEventListener($e,$f,c);if('mousewheel'==$e){$o.addEventListener('DOMMouseScroll',$f,c);}}else if($o.attachEvent){$o.attachEvent('on'+$e,$f);}},removeListener:function($o,$e,$f,$c){var c=$c||false;if($o.removeEventListener){$o.removeEventListener($e,$f,c);if('mousewheel'==$e){$o.removeEventListener('DOMMouseScroll',$f,c);}}else if($o.detachEvent){$o.detachEvent('on'+$e,$f);}},DOMize:function($e){var e=$e||window.event;if(!e.target){e.target=e.srcElement;}if(!e.preventDefault){e.preventDefault=function(){e.returnValue=false;return false;};}if(!e.stopPropagation){e.stopPropagation=function(){e.cancelBubble=true;};}return e;}};
function fixWrapperHeight(){document.getElementById('wrapper').style.height=Math.max(parseInt(document.documentElement.offsetHeight),parseInt(document.getElementById('content').offsetHeight))+'px';return true;};
window._cE.onwinload(fixWrapperHeight);
window._cE.addListener(window,'resize',fixWrapperHeight);

