// popup a full-screen window to show fullscreen/fullscreenvideo.html
// should pass the name of the video to display as a query string. fullscreenvideo.html
// will be responsible for getting the url out of the query string and placing it
// into the embedded flash as a flashVar.
//
// @param videoURL String (url to a video)
//


function message(winURL)

{

  	 var legal_text = "<div style='padding:15px;align:justify'>请注意，您即将离开本网站(www.jjmc.com.cn)，其它网站的法律声明和隐私保护可能不同于本网站(www.jjmc.com.cn)。</div>";

Dialog.confirm(legal_text, {width:350, height:120, className: "mac_os_x",okLabel: " 确 定 ",cancelLabel:" 取 消 ",
buttonClass: "myButtonClass", id: "myDialogId", cancel:function(win) {}, ok:function(win) {{var myURL = winURL;var width = 768;var height = 576;var left = parseInt((screen.availWidth/2) - (width/2));var top = parseInt((screen.availHeight/2) - (height/2));var windowFeatures = "width=" + width + ",height=" + height + ",status=1,toolbar=1,location=1,menubar=1,directories=1,scrollbars=1,resizable=yes,left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top;window.open(myURL, "", windowFeatures);return true};}});


}



// close the current window
//
function closeWindow()
{
	window.close();
}

