function showMessage()
{
	document.getElementById('screen').style.height = getDocumentHeight();
	document.getElementById('screen').style.display="";
	document.getElementById('message').style.top="200";
	document.getElementById('message').style.left="500";
	
	document.getElementById('message').style.display="";
	Drag.init(document.getElementById('message'));
	
	document.getElementById('message_close').focus();
}

function restore()
{
	_ajx_callFunction('xajax','RunXajax','ajx_dropMessage','');
	document.getElementById('message').style.display='none';
	document.getElementById('screen').style.display='none';
}


function highlight_div(checkbox_node)
{
    label_node = checkbox_node.parentNode;
    if (checkbox_node.checked)
    {
	    label_node.style.backgroundColor='#0a246a';
	    label_node.style.color='#fff';
    }
    else
    {
        label_node.style.backgroundColor='#fff';
        label_node.style.color='#000';
    }
}

function getDocumentHeight()
{
	if( document.height )
	{
		return document.height;
	}
	else if( document.body.clientHeight )
	{
		return document.body.clientHeight;
	}
	return 0;
};