var oPopup     = window.createPopup();
var oPopupBody = oPopup.document.body;


function openMessagePopup(message)
{
	

	oPopup.show(topper, lefter, 400, realHeight, sElement);
}

function OpenDisclaimer()
{
	var winProperties = "height=575, width=800";
	window.open("/GddReports/disclaimer.aspx","disclaimer",winProperties)
}
function CheckKeySubmit(e,submitInput)
{
	if(e.keyCode == 13)
	{
		window.event.returnValue = false;
		document.getElementById(submitInput).click();
		//__doPostBack(submitInput,null);
	}
}
function DisableEnterSubmit(e)
{
	if(e.keyCode == 13)
	{
		window.event.returnValue = false;
	}
}

function EnableEnter(e)
{
	if(e.keyCode == 13)
	{
		window.event.cancelBubble = true;
	}
}

function DomainStatus()
{
	var sFeatures = "height=350px, width=500px, help=no;" ;
	window.open("../help/DomainStates.htm","",sFeatures) ;
}
function RegistrarMarketShareHelp1() {
    var sFeatures = "height=500px, width=600px, scrollbars=1, help=0;"
    window.open("../help/RegistrarMarketShareHelp.htm", "", sFeatures);
}
function HideMessageDiv()
{
	
	document.getElementById("messageDiv").style.visibile = false;
}
