function getHeight()
{
	if(typeof(window.innerHeight) == 'number') return window.innerHeight; //Non-IE
	else if(document.documentElement && document.documentElement.clientHeight) return document.documentElement.clientHeight; //IE 6+ in 'standards compliant mode'
	else if(document.body && document.body.clientHeight) return document.body.clientHeight; //IE 4
}
function getWidth()
{
	if(typeof(window.innerWidth) == 'number') return window.innerWidth; //Non-IE
	else if(document.documentElement && document.documentElement.clientWidth) return document.documentElement.clientWidth; //IE 6+ in 'standards compliant mode'
	else if(document.body && document.body.clientWidth) return document.body.clientWidth; //IE 4
}
function pleaseWaitMsg()
{
	var pw=document.getElementById('pwait').style;
	//pw.top=(getHeight()/2 - parseInt(pw.height)/2)+'px';
	pw.top=300;
	//pw.left=(getWidth()/2 - parseInt(pw.width)/2)+'px';
	pw.left=125;
	pw.display='block';
}
