function showDialog(url, width, height) {
    var style = "status:no;scroll:no;help:no;center:yes";
    style += ";dialogWidth:"+width+"px;dialogHeight:"+height+"px";
    var UUID = (new Date()).getTime();
    if (url.indexOf("?") >=0 ) {
    	url += "&UUID="+UUID;
    } else {
    	url += "?UUID="+UUID;
    }    
    return showModalDialog(url, window, style);
};

/** 
* 模态窗口高度调整. 
* 根据操作系统及ie不同版本,重新设置窗口高度,避免滚动条出现. 
*/ 
function resetDialogHeight(height){ 
	var ua = navigator.userAgent; 
	if(ua.lastIndexOf("MSIE 6.0") != -1){ 
		if(ua.lastIndexOf("Windows NT 5.1") != -1){ 
			//alert("xp.ie6.0"); 
			return (height+102); 
		} 
		else if(ua.lastIndexOf("Windows NT 5.0") != -1){ 
			//alert("w2k.ie6.0"); 
			return (height+49); 
		} 
	} 
};
