﻿// JScript 文件

 if(lead=='1')
  {
    var o=document.getElementById('flashdiv');
    o.setAttribute("style","background-color:#fff;left:0;top:0;position:absolute");
    o.innerHTML="<div style=\"margin:auto;margin-top:50px ;width:550px; height:400px\">  " +
                                    "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>"+
                                    "<td width=\"2%\"><img src=\"/member/style02/Images/x_03.gif\" width=\"23\" height=\"23\" /></td>" +
                                    "<td width=\"95%\" background=\"/member/style02/Images/x_05.gif\">&nbsp;</td>" +
                                    "<td width=\"3%\"><img src=\"/member/style02/Images/x_07.gif\" width=\"25\" height=\"23\" /></td>" +
                                  "</tr>"+
                                  "<tr>"+
                                    "<td background=\"/member/style02/Images/x_12.gif\">&nbsp;</td>" +
                                    "<td>"+
                                        "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"550\" height=\"400\">"+
                                          "<param name=\"movie\" value=\"/member/" + memberid+ "/Images/leadflash.swf\" />" +
                                          "<param name=\"quality\" value=\"high\" />"+
                                         " <embed src=\"/member/style02/Images/leadflash.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"550\" height=\"400\"></embed>" +
                                       " </object>"+
                                    "</td>"+
                                    "<td background=\"/member/style02/Images/x_14.gif\">&nbsp;</td>" +
                                  "</tr>"+
                                  "<tr>"+
                                    "<td><img src=\"/member/style02/Images/x_16.gif\" width=\"23\" height=\"23\" /></td>" +
                                   " <td background=\"/member/style02/Images/x_18.gif\">&nbsp;</td>" +
                                    "<td><img src=\"/member/style02/Images/x_20.gif\" width=\"25\" height=\"23\" /></td>" +
                                  "</tr>"+
                               " </table>"+
                               " <table width=\"109%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"margin:auto\">"+
                                  "<tr>"+
                                    "<td align=\"center\" valign=\"middle\"><p><a href=\"javascript:void(skip()); \"><img src=\"/member/style02/Images/1.jpg\" width=\"128\" height=\"31\" /></a></p>" +
                                          "<p>"+
                                           " If you are not able to view the flash, please<a href=\"http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;Lang=S_Chinese&amp;P5_Language=S_Chinese\" target=\"_blank\"> install plug-in</a> first.<br />"+
                                         "</p>"+
                                    "</td>"+
                                  "</tr>"+
                                "</table></div>";
    
    function skip()
    {
        document.getElementById('flashdiv').style.display='none';
        document.getElementsByTagName('html').item(0).style.overflow = ''; 
    }
  
     //window.onload=function()
     //{
        //document.getElementById('flashdiv').style.width=document.body.clientWidth;
        document.getElementById('flashdiv').style.width=window.screen.availWidth;
        //document.getElementById('flashdiv').style.height=document.body.scrollHeight;
        document.getElementById('flashdiv').style.height=window.screen.availHeight;
        document.getElementsByTagName('html').item(0).style.overflow = 'hidden';
     //}
  }
