        function startPopupReed(Title, PopupDiv, PopupTitleDiv) {
            var Dimmer = 'divDim';
            if( typeof( window.innerWidth ) == 'number' ) {
                // Non-IE
                $(PopupDiv).style.position = 'fixed';
                $(Dimmer).style.height = document.body.parentNode.scrollHeight + 'px';
                $(Dimmer).style.width  = document.body.parentNode.scrollWidth  + 'px';
                $(Dimmer).style.position = 'fixed';
            } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
                // IE 6+ in 'standards compliant mode'
                var myHeight = Math.max(document.body.parentNode.scrollHeight, document.documentElement.clientHeight);
                var myWidth  = Math.max(document.body.parentNode.scrollWidth, document.documentElement.clientWidth);
                $(Dimmer).style.height = myHeight + 'px';
                $(Dimmer).style.width  = myWidth  + 'px';
            } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
                // IE 4 compatible (quirk mode)
                $(Dimmer).style.height = (document.body.parentNode.scrollHeight-20) + 'px';
                $(Dimmer).style.width  = (document.body.parentNode.scrollWidth-20)  + 'px';
            }
        
            $(PopupTitleDiv).innerHTML = Title;
            $(Dimmer).style.display = 'block';
            $(PopupDiv).style.display = 'block';
            loadingStop();
            window.scrollTo(0,0);
            new Draggable(PopupDiv, {handle:PopupTitleDiv});
        }
        
        function stopPopupReed(PopupContainerDiv,PopupDiv) {
            Dimmer = 'divDim';
			$(Dimmer).style.display = 'none';
			$(Dimmer).style.height = '1px';
			$(PopupContainerDiv).style.display = 'none';
			$(PopupDiv).innerHTML = '';
        }
function resizePop($width, $left){
	
	$('divPopContainer').setStyle({'width' : $width});
	if($left){
	   $('divPopContainer').setStyle({'left' : $left});
	}
}
