//***************************************************************************************
function ShowCoverDivScreen(Main_Div_id, Content_Div_id, ScreenWidth, ScreenHeight, Content_Div_HTML) {

    $('#'+Main_Div_id).width($(document).width());
    $('#'+Main_Div_id).height($(document).height());

    $('#'+Content_Div_id).width(ScreenWidth);
    $('#'+Content_Div_id).height(ScreenHeight);

    $('#'+Content_Div_id).css('top', $(window).scrollTop()+($(window).height()/2-$('#'+Content_Div_id).height()/2));
    $('#'+Content_Div_id).css('left', $(window).width()/2-$('#'+Content_Div_id).width()/2);

    $('#'+Content_Div_id).html('');
    $('#'+Content_Div_id).html(Content_Div_HTML);

    //filter: alpha(opacity=50)
    $('#'+Main_Div_id).show();
    $('#'+Content_Div_id).show();
   
}
//***************************************************************************************
function HideCoverDivScreen(Main_Div_id, Content_Div_id) {
    $('#'+Content_Div_id).html('');
    $('#'+Main_Div_id).hide();
    $('#'+Content_Div_id).hide();
}
//***************************************************************************************
function ShowLoadingDataDiv()
{
	
    var DivHtml=''+
    '<table border="0" bgcolor="#F1EDE2" width="100%" height="100%">'+
        '<tr>'+
            '<td width="100%" align="center" style="text-align:center">'+
                '<div id="loading_image_area" align="center" valign="middle">'+
					'<img src="images/loading2.gif" border="0">'+
				'</div>'+
            '</td>'+
        '</tr>'+
    '</table>';
    
    ShowCoverDivScreen('coverDiv', 'contentDiv', '300', '300', DivHtml); }
//***************************************************************************************

