function showLoading() {
	try
	{
		var lEl = document.getElementById('loadMsg');
		if (lEl!=null) {
			lEl.style.top = (parseInt(document.body.offsetHeight)/2)-(parseInt(lEl.style.height)/2);
			lEl.style.left = parseInt(document.body.offsetWidth)-parseInt(lEl.style.width)-25;
			lEl.style.display = '';
		}
	}
	catch(e)
	{
	
	}
}

function hideLoading() {
	try
	{
		var lEl = document.getElementById('loadMsg');
		if (lEl!=null) {
			lEl.style.display = 'none';
		}
	}
	catch(e)
	{
	
	}		
}


function openSuggestions()
{
	res = document.getElementById('resource').value;
	page = document.getElementById('page').value;
	
	window.open('../../suggestions.aspx@resource=.htm'+res+'&page='+page, '_blank', 'directories=no, height=' + screen.height +', width=' + screen.width + ', left=0,top=0,resizable=yes, location=no, menubar=no, status=no, toolbar=no, scrollbars=yes');
	hideLoading();
}
