﻿
// Used in these templates to simulate eventual client source when using the ASP.NET AJAX code.
function prepareIE(height, overflow)
{
	bod = document.getElementsByTagName('body')[0];
	bod.style.height = height;
	htm = document.getElementsByTagName('HTML')[0];	
	htm.style.height = height;
}

function modalShow(overlay,dialog) {
	if (document.all) 
	{
		prepareIE('100%', 'hidden');
		document.getElementById(overlay).style.filter = 'alpha(Opacity=50)';
	}
	document.getElementById(overlay).style.display = "block";
	document.getElementById(dialog).style.display = "block";
}

function modalHide(overlay,dialog) {
	if (document.all) {
		prepareIE("auto", "auto");
	}
	document.getElementById(overlay).style.display = "none";
	document.getElementById(dialog).style.display = "none"; 
}

