if (!window.showModalDialog)
{
	window.showModalDialog =
		function(sURL, entry, sSpec){
			var strspec = 
				"toolbar=no;modal=yes;" + sSpec.replace("dialogHeight", "height").replace("dialogWidth", "width").replace("scroll", "scrollbars");
			//alert(strspec);
			window.open(sURL, entry, strspec);
			
		};
}
