current = ''; station = false; opa = 0.5; var htmlHeight = 0; var IE6 = isIE6(); $(function(){ $("body").append("
"); $("#backgroundDiv").css({ 'background-color' : '#1C0203', "opacity" : opa, 'position' : 'absolute', 'width' : '100%', 'top' : 0, 'left' : 0, 'height' : 0, 'z-index' : 101, 'display':'none' }); }); function showBG(opacity) { if(opacity){ opa = opacity; } var scrollHeight = document.documentElement.scrollHeight!=0?document.documentElement.scrollHeight:document.body.scrollHeight; var clientHeight = document.documentElement.clientHeight==0?document.body.clientHeight:document.documentElement.clientHeight; $("#backgroundDiv").css({ "opacity" : opa, 'height' : (scrollHeight