//¶}±ÒshowModalDialogµøµ¡
function OpenshowModalDialog(aUrl,swindow,ahight,awidth)
{      

		var sUrl	

		var sFeature = 'dialogHeight:'+ahight+'px;dialogWidth:'+awidth+'px;status:no;toobar=no;location=no;'		
	
		if (aUrl.indexOf('?') != -1){
			sUrl = aUrl +'&pRndNo='+Math.random()
		}
		else{
			sUrl = aUrl +'?pRndNo='+Math.random()
		}
			
		
		var ss=window.showModalDialog(sUrl,window,sFeature);
		return ss;
}

function showModalDialogOpen(aUrl,swindow,ahight,awidth)
{      

		var sUrl	

		var sFeature = 'dialogHeight:500px;dialogWidth:800px;status:no;toobar=no;location=no;'		
	
		if (aUrl.indexOf('?') != -1){
			sUrl = aUrl +'&pRndNo='+Math.random()
		}
		else{
			sUrl = aUrl +'?pRndNo='+Math.random()
		}
			
		
		var ss=window.showModalDialog(sUrl,window,sFeature);
		return ss;
}

function showModalDialogOpenFor(aUrl,swindow,ahight,awidth)
{      

		var sUrl	

		var sFeature = 'dialogHeight:350px;dialogWidth:800px;status:no;toobar=no;location=no;'		
	
		if (aUrl.indexOf('?') != -1){
			sUrl = aUrl +'&pRndNo='+Math.random()
		}
		else{
			sUrl = aUrl +'?pRndNo='+Math.random()
		}
			
		
		var ss=window.showModalDialog(sUrl,window,sFeature);
		return ss;
}
