function _Popup ( params ) { alert(params.message); return; var doReturn = false; jQuery.each(jQuery.browser, function(i) { if($.browser.msie){ for (i in check) { message = check[i]; if (params.message = message) { return; } } check.push(params.message); alert(params.message); doReturn = true; } }); if (doReturn) { return; } if ($('#popupContainer').length > 0) { $('#popupContainer').remove(); } $('body').append(''); $('#popupContainer').css({ width : '500px', borderRadius : '10px', '-moz-box-shadow' : '0 0 90px #000', '-webkit-box-shadow' : '0 0 90px #000', 'background-color' : 'rgb(0,0,0)', border : '3px solid #666' }); $('#popupContainer .container').css({ padding : '10px', color : '#FFF', textShadow : '0 1px 1px #000' }); $('#popupContainer .container pre').css({ padding : '10px', background : '#FFF', borderRadius : '10px' }); $('#popupContainer .container h1').css({ padding : '0 0 10px 0', margin : 0, background : 'none', height : 'auto', lineHeight : 'inherit', color : '#FFFED9', textShadow : '0 1px 1px #000', fontSize : '28px' }); $('#popupCloseButton').css({ float : 'right', margin : '-16px', textDecoration : 'none', border : 'none' }); $('#popupCloseButton img').css({ border : 'none' }); $('#popupContainer').overlay({ top: 'center', load: true }); $('#popupCloseButton').click(function(e) { return false; }); }