/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
      function cert_show(){
        jQuery('select').css('visibility','hidden');
        var cd='<div id="certificateDetail" class="certificateDetail"></div>';
        var screenH = jQuery(document).height();
        jQuery('body').append('<div id="certificateCover" style="display:none;position:absolute;top:0;left:0;border: 1px solid ; background:#000;width: 100%; height: ' + screenH + 'px; z-index: 3;filter:alpha(opacity=50);-moz-opacity:0.5;opacity: 0.5;"></div>' + cd);
        jQuery('#certificateCover').fadeIn('300');
        var liginPos = {
            'z-index': '50',
            'top': '250px',
            'position': 'absolute',
            'left': jQuery(window).width() / 2 - 155 + 'px'
        };
        jQuery('#certificateDetail').css(liginPos).html('<iframe id="sent_msg" name="sent_msg" width="440" height="249" style="background:#fff;border:0;" scrolling=no src="member.php"></iframe>');
    }


    function cert_close(){
        jQuery('select').css('visibility','visible');
        jQuery('#certificateCover').fadeOut("300", function(){
            jQuery(this).remove();
        });
        jQuery('#certificateDetail').fadeOut("1000", function(){
            jQuery(this).remove();
            jQuery('#yanzhengma').remove();//移除验证码图片	=> 解决没刷新页面,多次登陆时验证码不变的bug
        });
    }

