function init(){
	var cont=document.getElementById('content');
	var bodyH=getPageSizeWithScroll();
	var leftH=bodyH[1] - 545 +'px';
	var left=document.getElementById('LeftCont');
	left.style.height=leftH;
//alert(cont.style.height);
}



function getPageSizeWithScroll(){


        if ((window.innerHeight!==undefined) && (window.scrollMaxY!==undefined)) {// Firefox
                yWithScroll = window.innerHeight + window.scrollMaxY;
                xWithScroll = window.innerWidth + window.scrollMaxX;
//alert( 'The height isa ' + yWithScroll + ' and the width is ' + xWithScroll );
        } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
                yWithScroll = document.body.scrollHeight;
                xWithScroll = document.body.scrollWidth;
//alert( 'The height isb ' + yWithScroll + ' and the width is ' + xWithScroll );
        } else { // works in Explorer 6 Strict, Mozilla (not FF) and Safari
                yWithScroll = document.body.offsetHeight;
                xWithScroll = document.body.offsetWidth;

//alert( 'The height isc ' + yWithScroll + ' and the width is ' + xWithScroll );
        }
        arrayPageSizeWithScroll = new Array(xWithScroll,yWithScroll);
       // alert( 'The height is ' + yWithScroll + ' and the width is ' + xWithScroll );
        return arrayPageSizeWithScroll;
}

function getScrollXY() {
  var scrOfX = 0, scrOfY = 0;
  if( typeof( window.pageYOffset ) == 'number' ) {
    //Netscape compliant
    scrOfY = window.pageYOffset;
    scrOfX = window.pageXOffset;
  } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
    //DOM compliant
    scrOfY = document.body.scrollTop;
    scrOfX = document.body.scrollLeft;
  } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
    //IE6 standards compliant mode
    scrOfY = document.documentElement.scrollTop;
    scrOfX = document.documentElement.scrollLeft;
  }
  return [ scrOfX, scrOfY ];
}

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=248');");
}


