https://goodwe-power.com/

Submitted URL:
https://goodwe-power.com
Report Finished:

The outgoing links identified from the page

LinkText
http://www.semsportal.comwww.semsportal.com
http://www.miitbeian.gov.cn苏ICP备16050124号

JavaScript Variables · 63 found

Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope

NameType
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
$function
jQueryfunction
QueryStringobject
cloneobject
movefunction
tnumber
commonobject

Console log messages · 4 found

Messages logged to the web console

TypeCategoryLog
warningnetwork
URL
https://goodwe-power.com/
Text
A parser-blocking, cross site (i.e. different eTLD+1) script, http://www.szgswljg.gov.cn/sendMark?siteid=2685&type=1, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
warningnetwork
URL
https://goodwe-power.com/
Text
A parser-blocking, cross site (i.e. different eTLD+1) script, http://www.szgswljg.gov.cn/sendMark?siteid=2685&type=1, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
verbosedom
URL
https://goodwe-power.com/
Text
[DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq) %o
verbosedom
URL
https://goodwe-power.com/
Text
[DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq) %o

HTML

The raw HTML body of the page

<!DOCTYPE html><html><head>
    <title>GoodWe Portal</title>
    <link rel="shortcut icon" href="/Content/images/goodwe.png" type="image/x-icon"> 
    <link type="text/css" rel="Stylesheet" href="/Content/all.css?v=3.0">
    <script type="text/javascript" src="/Scripts/jquery-1.8.2.min.js"></script>

    <script type="text/javascript" src="/Scripts/key.js"></script>    
      
<style>
    .n_section {
        width: 1250px;
    }
	.marquee {
            
            width: 220px;
            height: 140px;
            overflow: hidden;
            border-radius:5px;
            padding:10px;
            background-color:rgba(255, 255, 255, 0.5);
        }

        .marquee-inner {
           font-size: 18px;
            line-height: 27px;
        }
.menu_tRyuyanxz {
    width: 118px;
    float: right;
    position: relative;
    top:10px; 
    z-index:1000; 
}
.menu_tRyuyanxz h3
{
    line-height: 39px;
    color: #000;
    font-size: 14px;
    cursor: pointer;
    z-index : 1050;
}
   
#dropdown {
    display: none;
    border: 1px solid #ccc;
    z-index: 1000;
}
#dropdown li{
    width : 118px;
    height: 25px;
    line-height: 25px;
    color: #00479d;
    background: #fff;
    font-size: 12px;
    z-index: 4; 
}
 .tabletitle {
    vertical-align:middle; 
    cursor:pointer;  
    color:#959595;
    }

</style><script type="text/javascript">
        var clone = $(".marquee-inner div").clone();
        $(".marquee-inner").append(clone);
        var move = function () {
            var m = $(".marquee-inner").css("margin-top");
            m = parseInt(m);
            if (m <= $(".marquee").height() - $(".marquee-inner").height()) {
                m = 0;
            }
            $(".marquee-inner").css("margin-top", (m - 1) + "px");
        };
        var t = setInterval(move, 100);
        $(".marquee").hover(function () {
            clearInterval(t);
        }, function () {
            t = setInterval(move, 100);
        });
      $(function () {

          $(".menu_tRyuyanxz h3").click(function () {
              $("ul#dropdown").toggle();
              $(".menu_tRyuyanxz").toggleClass('clk');

          });
          $(".clk #text1").click(function () {
              $("ul#dropdown").toggle();
              $(".clk").toggleClass('menu_tRyuyanxz');
          });

          $(".div_select").click(function () {
              var node=$("ul#dropdown");

              if (!node.is(':visible')) {  //如果node是隐藏的则显示node元素,否则隐藏

                  node.show();

              } else {

                  node.hide();

              }
          })

          $("#dropdown li").click(function () {
              $("#text1").html(($(this).text()));
          })

          $(".td1").click(function () {
              $(".td2").toggle();
          });
          //
        
         
     
      });
</script></head>

  
<body>
<input id="initLanguage" name="initLanguage" type="hidden" value="en-US">
        	<!--top-->
    <div class="section top">
    	<div class="n_section">


            <div class="menu">
                <ul class="nav">
                    <li>
                        <h1 class="logo">
                            <img src="/Content/images/logo_semsV2.jpg" width="280" height="60" alt="">
                            
                        </h1>
                    </li>

                    <li class="special"><a href="/User/AppDownload">Mobile App</a></li>
                             <li class="special" style="width:135px;"><a href="/User/DownLoadHelpDocs_en">User Manual</a></li>

                      <li class="special"><a href="/User/GDPRContacts">GDPR Contact</a></li>
                     <li>
                        <div class="menu_tRyuyanxz clk ">
                            <div class="div_select">
                                <h3 id="text1">Language</h3>
                            </div>
                            <ul id="dropdown" style="overflow: hidden; display: none;">
                                <li data-value="English"><a href="javascript:void(0);" id="lnkenUS">English</a></li>
                                <li data-value="한글"><a href="javascript:void(0);" id="lnkenKorean">한글</a></li>
                                <li data-value="中文"><a href="javascript:void(0);" id="lnkzhCN">中文</a></li>
                                <li data-value="Italian"><a href="javascript:void(0);" id="lnkitIT">Italian</a></li>
                                <li data-value="Čeština"><a href="javascript:void(0);" id="lnkitCZ">Čeština</a></li>
                            
                            </ul>

                        </div>
                    </li>
                    
                    <li>
                           <table style="line-height:30px; width:140px;font-size:11px; float:right; padding-top:14px;text-align:center;" border="0" cellspacing="0">
                          <tbody><tr class="td1">
                               
                            <td colspan="3">
                                <table style=" width:160px;">
                                    <tbody><tr>
                                        <td style="text-align:justify;font-size:14px;">
                                            <a class="tabletitle">Select Server</a>
                                        </td>
                                        <td style="width:32px;">
                                            <img src="/Content/images/ic_more.png" style="vertical-align:middle; cursor:pointer;">
                                        </td>
                                        <td style="width:12px;">

                                        </td>
                                    </tr>
                                </tbody></table>
                            </td>
                              
                          </tr>
                        
                               <tr style="display: none;" class="td2">
                                   <td style="width: 23px;">
                                       <img src="/Content/images/ic_primary.png" style="vertical-align:middle">
                                   </td>
                                   <td><a href="http://hk.goodwe-power.com" style="vertical-align: middle; text-decoration: underline;" onclick="showalert();">Primary Server</a></td>
                                   <td style="width: 12px;"></td>
                               </tr>
                               <tr style="display: none;" class="td2">
                                   <td>
                                       <img src="/Content/images/ic_australian.png" style="vertical-align:middle">
                                   </td>
                                   <td><a href="http://au.goodwe-power.com" style="vertical-align: middle; text-decoration: underline;" onclick="doSomething();">Australian Server</a></td>
                                   <td></td>
                               </tr>
                               <tr style="display: none;" class="td2">
                                   <td>
                                       <img src="/Content/images/ic_europe.png" style="vertical-align:middle">
                                   </td>
                                   <td><a href="https://eu.goodwe-power.com" style="vertical-align: middle; text-decoration: underline;" onclick="europe_doSomething()">European Server</a></td>
                                   <td></td>
                               </tr>
                      </tbody></table>
                    </li>
                </ul>
                     

                  
            </div>
 
        </div>
         
    </div>
         <!--banner-->
    <div class="section banner">
    	<div class="n_section">
        	<div class="banner_box">
            <style>
    .theme-popover {
        z-index: 9999;
        position: fixed;
        top: 50%;
        left: 50%;
        width: 580px;
        height: 360px;
        margin: -180px 0 0 -330px;
        border-radius: 10px;
        /*border: solid 2px #666;*/
        background-color: #fff;
        display: none;
        /*box-shadow: 0 0 10px #666;*/
    }

    .theme-poptit .close {
        float: right;
        color: #999;
        padding: 5px;
        font-size: 18px;
        margin: -10px -10px -5px;
        font: bold 14px/14px simsun;
        /*text-shadow: 0 1px 0 #ddd;*/
    }

    .theme-popover-mask {
            background-color: black;
            opacity: 0.6;
            display:none;
    }

    .theme-popbod {
        padding: 60px 15px;
        color: #444;
        height: 148px;
    }

    .dform {
        padding-top: 60px;
        padding-right: 30px;
        padding-left: 30px;
        text-align: center;
    }

    .theme-poptit {
        border-bottom: 1px solid #ddd;
        padding: 12px;
        position: relative;
        background-color: #F3F3F3;
    }
</style>

<style>
    .theme-popover1 {
        z-index: 999;
        position: absolute;
        top: 45%;
        right: 45%;
        width: 540px;
        height: 160px;
        margin: -180px 0 0 -330px;
        border-radius: 10px;
        border: solid 2px #666;
        box-shadow: 0 0 10px #666;
        background-color: black;
        opacity: 0.7;
    }

    .theme-poptit1 .close {
        float: right;
        color: #999;
        padding: 5px;
        font-size: 18px;
        margin: -10px -10px -5px;
        font: bold 14px/14px simsun;
    }

    .theme-popbod1 {
        padding: 30px 15px;
        color: #ffffff;
        height: 148px;
    }

    .dform1 {
        padding-right: 30px;
        padding-left: 30px;
        text-align: center;
    }

    .theme-poptit1 {
        border-bottom: 1px solid #ddd;
        padding: 12px;
        position: relative;
        background-color: #F3F3F3;
    }
</style>

<style>
    .theme-popover2 {
        z-index: 999;
        position: absolute;
        top: 45%;
        right: 45%;
        width: 540px;
        height: 160px;
        margin: -180px 0 0 -330px;
        border-radius: 10px;
        border: solid 2px #666;
        box-shadow: 0 0 10px #666;
        background-color: black;
        opacity: 0.7;
    }

    .theme-poptit2 .close {
        float: right;
        color: #999;
        padding: 5px;
        font-size: 18px;
        margin: -10px -10px -5px;
        font: bold 14px/14px simsun;
    }

    .theme-popbod2 {
        padding: 20px 15px;
        color: #ffffff;
        height: 250px;
    }

    .dform2 {
        padding-right: 30px;
        padding-left: 30px;
        text-align: center;
    }

    .theme-poptit2 {
        border-bottom: 1px solid #ddd;
        padding: 12px;
        position: relative;
        background-color: #F3F3F3;
    }
</style>

<style>
   #username, #password, #securitycode {
    outline: none;
}
    .hide {
    display: none;
}
    .eye {
    width: 50px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    background: url(../../Content/images/icon/eye1.png) no-repeat center center;
}
.eye.visibility {
    background: url(../../Content/images/icon/eye.png) no-repeat center center;
}
</style>

<style>
        .cookies-statement {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            z-index: 9999;
            display: none;
            padding: 10px 0;
            box-sizing: border-box;
            background-color: rgba(0, 0, 0, 0.8);
            color: #ffffff;
        }

        .cookies-statement table {
            width: 100%;
            font-family: Arial, Helvetica, sans-serif;
            table-layout: fixed;
        }

        .cookies-statement table h3 {
            font-weight: normal;
            font-family: 'Arial Narrow Bold', Arial, sans-serif;
            font-size: 16px;
        }

        .cookies-statement table p {
            font-size: 12px;
        }

        .cookies-statement .close-statement {
            display: inline-block;
            width: 160px;
            height: 40px;
            line-height: 40px;
            border: 1px solid #ffffff;
            border-radius: 5px;
            color: #ffffff;
            text-decoration: none;
        }

        .cookies-statement .close-statement:hover {
            border: 1px solid #01adf6;
            color: #01adf6;
        }

        .cookies-statement .gdpc {
            color: #01adf6;
            text-decoration: none;
        }
    </style>

<script src="/Scripts/Common/common.js"></script>
<script src="/Scripts/Common/pswcheck.js"></script>
<script src="/Scripts/Views/User/index.js"></script>
<script src="/Scripts/jquery.md5.js"></script>


<div>
    

    <div class="theme-popover-mask" style="position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9998; display: none"></div>

    

    
    <div id="pswmb_con" style="display: none; z-index: 999999; width: 240pt; height: 214pt; position: fixed; background-color: white; border-radius: 5px; top: 152.5px; left: 235px;">
        <span id="pswmb_tit" style="display: block; font-size: 14px; color: rgb(68, 68, 68); line-height: 30pt; text-align: center; border-radius: 15px 15px 0px 0px; font-weight: bold;">Kindly Reminder</span>
        <a id="pswmb_ico" style="display: block; position: absolute; right: 10px; top: 9px; width: 18px; height: 18px; text-align: center; background-color: white; line-height: 16px; cursor: pointer; border-radius: 12px; font-family: 微软雅黑;">
            <img src="/Content/images/icon/tip_btn_close.png" width="8pt"></a><div id="pswReset_msg" style="margin-left: 10px; font-size: 10px;">
                Dear user:In order to meet GDPR's requirement, your login password need to be modified to be safer.
              </div>
        <div id="pswmb_btnbox" style="text-align: center;">
            <div id="div_newPassword" style="margin-top: 5pt;">
                <input id="newPassword" name="newPassword" type="password" placeholder="New Password" style="border: 1px solid rgb(225, 225, 225); width: 167pt; height: 21pt; border-radius: 2pt; padding-left: 12px;"></div>

            <div id="title_Err_Psw" style="text-align: center; color: rgb(230, 0, 18); margin-top: 5pt; visibility: hidden;">Password is inconsistent!</div>
            <div id="div_conPassword" style="margin-top: 5pt;">
                <input id="conPassword" name="conPassword" type="password" placeholder="Confirm Password" style="border: 1px solid rgb(225, 225, 225); width: 167pt; height: 21pt; border-radius: 2pt; padding-left: 12px;"></div>
            <div id="title_Err_CfPsw" style="text-align: center; color: rgb(230, 0, 18); margin-top: 5pt; visibility: hidden;">Password cannot be numbers only</div>
            <div id="pswRule_msg" style="margin-left: 10pt; text-align: left;">
                password should be 8-16 characters and a combination of letters, numbers or underlines.  
                </div>
            <div id="pswDiv_btn" style="margin-top: 5pt;">
                <input id="pswmb_btn_ok" type="button" value="Save" style="width: 167pt; height: 21pt; color: white; border: none; border-radius: 2px; background-color: rgb(230, 0, 18);"></div>
        </div>
    </div>
        
    <div id="Resultmb_con" style="display: none; z-index: 999999; width: 240pt; height: 139pt; position: fixed; background-color: white; border-radius: 5px;">
        <a id="Resultmb_ico" style="display: block; position: absolute; right: 10px; top: 9px; width: 18px; height: 18px; text-align: center; background-color: white; line-height: 16px; cursor: pointer; border-radius: 12px; font-family: 微软雅黑;">
            <img src="/Content/images/icon/tip_btn_close.png" width:"8pt"="">
        </a>

        <div id="Resultmb_box" style="text-align: center; margin-top: 40px;">
            <div id="Result_Pic">
               
                <img src="/Content/images/GDPR/tip_img_success.png" style="width:45pt">

            </div>
            <div id="Result_Pic_error">
               
                <img src="/Content/images/GDPR/tip_img_fail.png" style="width:45pt">

            </div>
            <div id="Result_msg" style="margin-top: 10pt; margin-left: 20pt; text-align: left;">
                Sorry,your GOODWE service account information is temporarily unavailable .You can contact GOODWE after-sale service to reactive the account.
            </div>
        </div>

    </div>

    
    <div id="cancelmb_con" style="display: none; z-index: 999999; width: 240pt; height: 139pt; position: fixed; background-color: white; border-radius: 5px;">
        <span id="cancelmb_tit" style="display: block; font-size: 14px; color: rgb(68, 68, 68); margin-top: 10pt; text-align: center; border-radius: 15px 15px 0px 0px; font-weight: bold;">Kindly Reminder</span>
        <a id="cancelmb_ico" style="display: block; position: absolute; right: 10px; top: 9px; width: 18px; height: 18px; text-align: center; background-color: white; line-height: 16px; cursor: pointer; border-radius: 12px; font-family: 微软雅黑;">
            <img src="/Content/images/icon/tip_btn_close.png" width="8pt"></a>

        <div id="cancelmb_btnbox" style="text-align: center;">

            <div id="cancel_msg" style="margin-top: 10pt; margin-left: 10pt; text-align: left;">Sorry,your GOODWE service account information is temporarily unavailable .You can contact GOODWE after-sale service to reactive the account.</div>

            <div id="cancelDiv_btn" style="position: absolute; margin: auto; left: 0px; bottom: 15pt; right: 0px;">
                <input id="cancelmb_btn_ok" type="button" value="OK" style="width: 80pt; height: 21pt; color: white; border: none; border-radius: 2px; background-color: rgb(230, 0, 18);"></div>
        </div>
    </div>


</div>



<!--入口-->
<div class="entry form" style="position: absolute; right: 10%; height: 250px; top: 15%">
    <h3 style="padding: 10px 0 10px 0;"></h3>
<form action="/User/Login" class="clearfix" method="post">        <div class="list user">
            <label></label>
            <input type="text" name="username" id="username" class="require" style="width: 255px; padding-left: 16px; left: 44px; border: 1px solid rgb(225, 225, 225);" placeholder="Username">
        </div>
        <div class="list passw login_account">
            <label></label>
           
              <input type="password" name="password" id="password" class="require" required="" placeholder="Password" autocomplete="off" style="width:205px; padding-left:16px;left:44px;border-right: 1px solid #ccc">
             <input type="text" id="password_visibility" placeholder="Password" class="hide" autocomplete="off" style="width: 205px; padding-left: 16px; left: 44px;border-right: 1px solid #ccc; ime-mode: disabled">
             <div class="eye"></div>
                 
        
        </div>
        <div class="button">
            
             
                
                <input type="button" class="submit theme-login" value="Login" onclick="btnLoginEn()">
                <input type="button" class="but" value="Register" onclick="btnRegisterEn()">
        </div>
        <div class="tips">
            <div class="check">
                <input type="checkbox" id="chkRemember">
                <label for="chkRemember">Remember me</label>
            </div>
            <a href="/User/ForgetPwd" class="more ca" id="btnForgetPwd">Forget your password?</a>
        </div> 
</form>    

</div>
<!-- <script>window.location.href = "http://47.91.160.231"</script> -->
<div class="theme-popover1" style="display: none">
    
</div>
    <div class="theme-popover2" style="display: block;height:250px;">
        <div class="theme-popbod2 dform2">
            <p style="font-size: 12px; text-align: left;">
                Dear Customer,
            </p>
            <p style="font-size: 12px; text-align: left; margin-top: 8px;">
                We are glad to declare our brand new "SEMS Portal" is online now! Please visit the link <a href="http://www.semsportal.com" style="color: #3353BC; text-decoration: underline;">www.semsportal.com</a> to log on and check more details.
                <br>
                1. Your existing portal account, was created with a username, <label style="font-weight:bold;">password</label> and an <label style="font-weight:bold;">email address</label>, this information has been transferred to the SEMS portal along with all your data.
                <br>
                2. Please use your <label style="font-weight:bold;">email address and password</label> to log in to the new SEMS portal. If you cannot log in with these details, do not create a new account and contact your local service centre for assistance.
                <br>
                3. Any modification to the old portal account will NOT be transferred to the SEMS portal, please operate on the SEMS portal.
                <br>
                4. <span style="font-weight:bold">The service of this portal stopped since Oct 30th, 2018.</span>
                <br>
                Sorry for inconvenience caused. 
            </p>
        </div>
    </div>

    <div class="cookies-statement" style="display: block;">
        <table cellpadding="0" cellspacing="0">
            <tbody><tr>
                <td style="width:170px;text-align: center">
                    <h3>USE OF COOKIES</h3>
                </td>
                <td>
                    <p>1.Cookies are text files that are stored on the computer of the visitor to the website, allowing the
                        visitor to be recognized on an anonymous basis. Cookies in general can be blocked or deleted by adjusting
                        your browser settings.</p>
                    <p>2.By using this website, you consent to the use of our websites being analyzed in the manner described
                        above.
                    </p>
                </td>
                <td style="width:200px;text-align: center">
                    <a class="close-statement" href="javascript:void(0);" onclick="return acceptCookieHandle();">Accept &amp; Close</a>
                </td>
            </tr>
        </tbody></table>
    </div>

<script type="text/javascript">
    var LoginTipHtml = "<label style='color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;' >尊敬的用户:</label><br/><br/><div style='font-size: 18px;margin-left: 40px;margin-right: 10px;'>您好!</p><p style='font-size: 18px; text-align: left; margin-top: 8px;margin-right: 25px;line-height: 22pt;'><label style='color: red;'>2018年6月30日 24:00</label>该监控平台将<label style='color: red;'>停止服务</label>,";
    //LoginTipHtml += '<div style="font-size: 18px; text-align: left; margin-top: 8px;margin-left: 55px;margin-right: 45px;">';
    LoginTipHtml += '请前往<a href="http://www.sems.com.cn" style="color: #3353BC;text-decoration:underline;">www.sems.com.cn</a>登录“<label style="color: #2A9AF0;">智慧能源管理系统</label>”查看更多详情。';
    LoginTipHtml += '</p> <p style="font-size: 18px; text-align: right; margin-top: 40px;margin-right: 45px;"> 给您带来不便,敬请谅解!</p>';

    var LoginTipHtml_after = "<label style='color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;' >尊敬的用户:</label><br/><br/><div style='font-size: 18px;margin-left: 40px;margin-right: 10px;'>您好!</p><p style='font-size: 18px; text-align: left; margin-top: 8px;margin-right: 25px;line-height: 22pt;'><label style='color: red;'>2018年6月30日 24:00</label>该监控平台已<label style='color: red;'>停止服务</label>,";
    //LoginTipHtml_after += '<div style="font-size: 18px; text-align: left; margin-top: 8px;margin-left: 55px;margin-right: 45px;">';
    LoginTipHtml_after += '请前往<a href="http://www.sems.com.cn" style="color: #3353BC;text-decoration:underline;">www.sems.com.cn</a>登录“<label style="color: #2A9AF0;">智慧能源管理系统</label>”查看更多详情。';
    LoginTipHtml_after += '</p> <p style="font-size: 18px; text-align: right; margin-top: 40px;margin-right: 45px;"> 给您带来不便,敬请谅解!</p>';

    var LoginTipHtml_F3 = "<label style='color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;' >尊敬的用户:</label><br/><br/><div style='font-size: 18px;margin-left: 40px;margin-right: 10px;'>您好!</p><p style='font-size: 18px; text-align: left; margin-top: 8px;margin-right: 25px;line-height: 22pt;'><label style='color: red;'>0001年1月1日 24:00</label>该监控平台将<label style='color: red;'>停止服务</label>,";
    //LoginTipHtml += '<div style="font-size: 18px; text-align: left; margin-top: 8px;margin-left: 55px;margin-right: 45px;">';
    LoginTipHtml_F3 += '请前往<a href="http://www.sems.com.cn" style="color: #3353BC;text-decoration:underline;">www.sems.com.cn</a>登录“<label style="color: #2A9AF0;">智慧能源管理系统</label>”查看更多详情。';
    LoginTipHtml_F3 += '</p> <p style="font-size: 18px; text-align: right; margin-top: 40px;margin-right: 45px;"> 给您带来不便,敬请谅解!</p>';

    var LoginTipHtml_after_F3 = "<label style='color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;' >尊敬的用户:</label><br/><br/><div style='font-size: 18px;margin-left: 40px;margin-right: 10px;'>您好!</p><p style='font-size: 18px; text-align: left; margin-top: 8px;margin-right: 25px;line-height: 22pt;'><label style='color: red;'>0001年1月1日 24:00</label>该监控平台已<label style='color: red;'>停止服务</label>,";
    //LoginTipHtml_after += '<div style="font-size: 18px; text-align: left; margin-top: 8px;margin-left: 55px;margin-right: 45px;">';
    LoginTipHtml_after_F3 += '请前往<a href="http://www.sems.com.cn" style="color: #3353BC;text-decoration:underline;">www.sems.com.cn</a>登录“<label style="color: #2A9AF0;">智慧能源管理系统</label>”查看更多详情。';
    LoginTipHtml_after_F3 += '</p> <p style="font-size: 18px; text-align: right; margin-top: 40px;margin-right: 45px;"> 给您带来不便,敬请谅解!</p>';



    var LoginTipHtml_All = "<label style='color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;' >亲爱的客户,</label><br/><br/><div style='font-size: 18px;margin-left: 40px;margin-right: 10px;'>我们很高兴地宣布我们全新的“SEMS平台”现在上线了!请链接到 ";
    LoginTipHtml_All += '<a href="http://www.semsportal.com" style="color: #3353BC;text-decoration:underline;">www.semsportal.com</a> 登录并查看更多细节。数据已被传送到新平台网站,我们将自2018年10月29日起关闭平台系统的服务。很抱歉给您带来不便。</p>';

    var LoginTipHtml_after_All = "<label style='color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;' >亲爱的客户,</label><br/><br/><div style='font-size: 18px;margin-left: 40px;margin-right: 10px;'>服务已经停止。请链接到 ";
    LoginTipHtml_after_All += '<a href="http://www.semsportal.com" style="color: #3353BC;text-decoration:underline;">www.semsportal.com</a> 登录并查看更多细节。数据已被传送到新平台,很抱歉给您带来不便。</p>';

    var LoginTipHtml_All_En = "<label style='color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;' >Dear Customer,</label><br/><div style='font-size: 12px;margin-left: 40px;margin-right: 10px;'>We are glad to declare our brand new \"SEMS Portal\" is online now! Please visit the link ";
    LoginTipHtml_All_En += '<a href="http://www.semsportal.com" style="color: #3353BC;text-decoration:underline;">www.semsportal.com</a> to log on and check more details.<br/>1. Your existing portal account, was created with a username, <label style="font-weight:bold;">password</label> and an <label style="font-weight:bold;">email address</label>, this information has been transferred to the SEMS portal along with all your data.<br/>2. Please use your <label style="font-weight:bold;">email address and password</label> to log in to the new SEMS portal. If you cannot log in with these details, do not create a new account and contact your local service centre for assistance.<br/>3. Any modification to the old portal account will NOT be transferred to the SEMS portal, please operate on the SEMS portal.<br/>4. <span style="font-weight:bold">We extend the service period of this portal to Oct 29th, 2018.</span><br/>Sorry for inconvenience caused.</p>';

    var LoginTipHtml_after_All_En = "<label style='color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;' >Dear Customer,</label><br/><div style='font-size: 12px;margin-left: 40px;margin-right: 10px;'>We are glad to declare our brand new \"SEMS Portal\" is online now! Please visit the link ";
    LoginTipHtml_after_All_En += '<a href="http://www.semsportal.com" style="color: #3353BC;text-decoration:underline;">www.semsportal.com</a> to log on and check more details.<br/>1. Your existing portal account, was created with a username, <label style="font-weight:bold;">password</label> and an <label style="font-weight:bold;">email address</label>, this information has been transferred to the SEMS portal along with all your data.<br/>2. Please use your <label style="font-weight:bold;">email address and password</label> to log in to the new SEMS portal. If you cannot log in with these details, do not create a new account and contact your local service centre for assistance.<br/>3. Any modification to the old portal account will NOT be transferred to the SEMS portal, please operate on the SEMS portal.<br/>4. <span style="font-weight:bold">The service of this portal stopped since Oct 30th, 2018.</span><br/>Sorry for inconvenience caused.</p>';

    var LoginTipHtml_All_Kr = "<label style='color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;' >친애하는 고객,</label><br/><div style='font-size: 12px;margin-left: 40px;margin-right: 10px;'>우리는 우리의 새로운 브랜드 \"SEMS Portal\"이 온라인에 있음을 선언하게 된 것을 기쁘게 생각합니다!";
    LoginTipHtml_All_Kr += '<a href="http://www.semsportal.com" style="color: #3353BC;text-decoration:underline;">www.semsportal.com</a> 링크를 방문하여 로그온하고 자세한 내용을 확인하십시오.<br/>1. 귀하의 기존 포털 계정은 사용자 이름, 암호 및 전자 메일 주소로 생성되었으며이 정보는 모든 데이터와 함께 SEMS 포털로 전송되었습니다.<br/>2. 이메일 주소와 비밀번호를 사용하여 새로운 SEMS 포털에 로그인하십시오. 이러한 세부 정보로 로그인 할 수없는 경우 새 계정을 만들지 말고 지역 서비스 센터에 도움을 요청하십시오.<br/>3. 이전 포털 계정에 대한 수정 사항은 SEMS 포털로 전송되지 않으므로 SEMS 포털에서 작업하십시오.<br/>4. <span style="font-weight:bold">이 포털의 서비스 기간을 2018 년 10 월 29 일까지 연장합니다.</span><br/>불편을 끼쳐 드려 죄송합니다.</p>';

    var LoginTipHtml_after_All_Kr = "<label style='color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;' >친애하는 고객,</label><br/><div style='font-size: 12px;margin-left: 40px;margin-right: 10px;'>우리는 우리의 새로운 브랜드 \"SEMS Portal\"이 온라인에 있음을 선언하게 된 것을 기쁘게 생각합니다!";
    LoginTipHtml_after_All_Kr += '<a href="http://www.semsportal.com" style="color: #3353BC;text-decoration:underline;">www.semsportal.com</a> 링크를 방문하여 로그온하고 자세한 내용을 확인하십시오.<br/>1. 귀하의 기존 포털 계정은 사용자 이름, 암호 및 전자 메일 주소로 생성되었으며이 정보는 모든 데이터와 함께 SEMS 포털로 전송되었습니다.<br/>2. 이메일 주소와 비밀번호를 사용하여 새로운 SEMS 포털에 로그인하십시오. 이러한 세부 정보로 로그인 할 수없는 경우 새 계정을 만들지 말고 지역 서비스 센터에 도움을 요청하십시오.<br/>3. 이전 포털 계정에 대한 수정 사항은 SEMS 포털로 전송되지 않으므로 SEMS 포털에서 작업하십시오.<br/>4. <span style="font-weight:bold">이 포털의 서비스는 2018 년 10 월 30 일부터 중단되었습니다.</span><br/>불편을 끼쳐 드려 죄송합니다.</p>';

    var LoginTipHtml_All_It = '<label style="color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;" >Caro cliente,</label><br/><div style="font-size: 12px;margin-left: 40px;margin-right: 10px;">Siamo lieti di annunciare che il nostro nuovo "SEMS Portal" è online! Si prega di visitare il link ';
    LoginTipHtml_All_It += '<a href="http://www.semsportal.com" style="color: #3353BC;text-decoration:underline;">www.semsportal.com</a> per accedere e controllare maggiori dettagli.<br/>1. Il tuo account del portale esistente, è stato creato con un nome utente, una password e un indirizzo email, queste informazioni sono state trasferite al portale SEMS insieme a tutti i tuoi dati.<br/>2. Utilizza il tuo indirizzo email e la password per accedere al nuovo portale SEMS. Se non riesci ad accedere con questi dettagli, non creare un nuovo account e contattare il centro di assistenza locale per assistenza.<br/>3. Qualsiasi modifica al vecchio account del portale NON sarà trasferita al portale SEMS, per favore operare sul portale SEMS.<br/>4. <span style="font-weight:bold">Estendiamo il periodo di servizio di questo portale fino al 29 ottobre 2018.</span><br/>Scusa per l\'inconveniente causato.</p>';

    var LoginTipHtml_after_All_It = '<label style="color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;" >Caro cliente,</label><br/><div style="font-size: 12px;margin-left: 40px;margin-right: 10px;">Siamo lieti di annunciare che il nostro nuovo "SEMS Portal" è online! Si prega di visitare il link ';
    LoginTipHtml_after_All_It += '<a href="http://www.semsportal.com" style="color: #3353BC;text-decoration:underline;">www.semsportal.com</a> per accedere e controllare maggiori dettagli.<br/>1. Il tuo account del portale esistente, è stato creato con un nome utente, una password e un indirizzo email, queste informazioni sono state trasferite al portale SEMS insieme a tutti i tuoi dati.<br/>2. Utilizza il tuo indirizzo email e la password per accedere al nuovo portale SEMS. Se non riesci ad accedere con questi dettagli, non creare un nuovo account e contattare il centro di assistenza locale per assistenza.<br/>3. Qualsiasi modifica al vecchio account del portale NON sarà trasferita al portale SEMS, per favore operare sul portale SEMS.<br/>4. <span style="font-weight:bold">Il servizio di questo portale è interrotto dal 30 ottobre 2018.</span><br/>Scusa per l\'inconveniente causato.</p>';

    var LoginTipHtml_All_Cz = '<label style="color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;margin-top: -10px;" >Vážený zákazníku,</label><br/><div style="font-size: 12px;margin-left: 40px;margin-right: 10px;">Jsme rádi, že prohlašujeme, že náš nový "Portál SEMS" je nyní online! Navštivte prosím odkaz ';
    LoginTipHtml_All_Cz += '<a href="http://www.semsportal.com" style="color: #3353BC;text-decoration:underline;">www.semsportal.com</a> a přihlaste se a podívejte se na další podrobnosti.<br/>1. Váš existující portálový účet byl vytvořen s uživatelským jménem, heslem a e-mailovou adresou. Tyto informace byly přeneseny na portál SEMS spolu se všemi daty.<br/>2. Pro přihlášení na nový portál SEMS použijte prosím svou e-mailovou adresu a heslo. Pokud se s těmito údaji nemůžete přihlásit, nevytvářejte nový účet a požádejte o pomoc místní centrum služeb.<br/>3. Veškeré změny starého portálového účtu nebudou přeneseny na portál SEMS, operujte prosím na portálu SEMS.<br/>4. <span style="font-weight:bold">Období služby tohoto portálu prodloužíme do 29. října 2018.</span><br/>Omlouváme se za způsobené nepříjemnosti.</p>';

    var LoginTipHtml_after_All_Cz = '<label style="color: #939393;font-size: 18px;font-weight:bold;margin-left: 40px;margin-right: 45px;margin-top: -10px;" >Vážený zákazníku,</label><br/><div style="font-size: 12px;margin-left: 40px;margin-right: 10px;">Jsme rádi, že prohlašujeme, že náš nový "Portál SEMS" je nyní online! Navštivte prosím odkaz ';
    LoginTipHtml_after_All_Cz += '<a href="http://www.semsportal.com" style="color: #3353BC;text-decoration:underline;">www.semsportal.com</a> a přihlaste se a podívejte se na další podrobnosti.<br/>1. Váš existující portálový účet byl vytvořen s uživatelským jménem, heslem a e-mailovou adresou. Tyto informace byly přeneseny na portál SEMS spolu se všemi daty.<br/>2. Pro přihlášení na nový portál SEMS použijte prosím svou e-mailovou adresu a heslo. Pokud se s těmito údaji nemůžete přihlásit, nevytvářejte nový účet a požádejte o pomoc místní centrum služeb.<br/>3. Veškeré změny starého portálového účtu nebudou přeneseny na portál SEMS, operujte prosím na portálu SEMS.<br/>4. <span style="font-weight:bold">Služba tohoto portálu je zastavena od 30. října 2018.</span><br/>Omlouváme se za způsobené nepříjemnosti.</p>';

    $(document).ready(function () {

        //渲染样式  add by yangw
        GenerateCss_GDPR();
        GenerateCss_GDPR_MSG_Info();
        GenerateCss_GDPR_MSG_Result();

        
        var ContinentArea="EU";
        $("#username").focus();
        $(document).keydown(function (event) {
            if (event.keyCode == 13) {
                document.forms[0].submit();
            }
        });
        //if ($("#initLanguage").val() == "zh-CN") {
        //    if (ContinentArea == "EU" || ContinentArea == "AU") {
        //        $(".theme-popover1").show();
        //        $(".theme-popover2").hide();
        //    }
        //    else {
        //        $(".theme-popover1").hide();
        //        $(".theme-popover2").hide();
        //    }
        //} else if ($("#initLanguage").val() == "en-US") {
        //    //if(ContinentArea=="EU")
        //    //{
        //    //    $(".theme-popover2").show();//add by lutao 20180317
        //    //    $(".theme-popover1").hide();
        //    //}
        //    //else
        //    {
        //        //$(".theme-popover2").hide();//add by lutao 20180317
        //        // $(".theme-popover1").hide();
        //        $(".theme-popover2").show();
        //        // $(".theme-popover1").show();
        //    }
        //} else {
        //    $(".theme-popover2").show();//add by lutao 20180317
        //  //  $(".theme-popover1").hide();
        //}
        
        //密码判断  add by yangw
        $('#pswmb_btn_ok').click(function () {
            var passVal1=$('#newPassword').val();
            var passVal2=$('#conPassword').val();
            $("#title_Err_Psw").css("visibility","hidden");
            $("#title_Err_CfPsw").css("visibility","hidden");
            $("#newPassword").css("border","1px solid rgb(225, 225, 225);");
            $("#conPassword").css("border","1px solid rgb(225, 225, 225);");
            var pswresult=checkRegexp(passVal1);
            if(pswresult==false)
            {
                if(passVal1.length<8||passVal1.length>16)
                {
                    //密码长度不符合要求
                    $("#title_Err_Psw").html('Password must be 8-16 characters!');
                }
                else
                {
                    //密码不匹配 不符合规则
                    $("#title_Err_Psw").html('The password is not conform to the system rule!');
            
                }
                $("#title_Err_Psw").css("visibility","visible");
                $("#newPassword").css('border', '1px solid #e7858d');
                
                
                return false;
            }

            if(passVal1!=passVal2)
            {
                //密码不一致
                $("#title_Err_CfPsw").html('Password is inconsistent!');

                $("#title_Err_CfPsw").css("visibility","visible");

                
                $("#conPassword").css('border', '1px solid #e7858d');
                return false;
            }
            ChangePwd(newuserID,$.md5($('#password').val()),$.md5(passVal1));
            //alert("success");
        });
        $('#pswmb_ico').click(function () {
            $("#pswmb_con").hide(); 
            $(".theme-popover-mask").hide();  
            return false;
        });
        $('#cancelmb_ico,#cancelmb_btn_ok').click(function () {
            $("#cancelmb_con").hide(); 
            $(".theme-popover-mask").hide();  
            return false;
        });
        $('#Resultmb_ico').click(function () {
            $("#Resultmb_con").hide(); 
            $(".theme-popover-mask").hide();  
            return false;
        });
        // 点击小眼睛切换明码密码输入框
        $('.eye').on('click', function () {
            // 切换小眼睛图标
            $(this).toggleClass('visibility');
            // 切换明码密码输入框
            $('.login_account input').toggleClass('hide');
            // 记住密码功能会在输入完用户名之后自动填充密码, 为了将这种情况下的密码框的值同步到文本框需要在点小眼睛时手动填充一次
            $('#password_visibility').val($('#password').val());
        });
        // 同步明码密码输入框的数据(propertychange为了兼容ie8)
        $('.login_account #password').on('input propertychange', function () {
            $('.login_account #password_visibility').val($(this).val());
        });
        $('.login_account #password_visibility').on('input propertychange', function () {
            $('.login_account #password').val($(this).val());
        });

        
        //if ($.browser.msie) {
        //}
        //$("#btnLogin").click(function () {
        //    if ($("#username").val().length > 0 && $("#chkRemember:checked").length == 1) {
        //        $.cookie($("#username").val(), escape($("#password").val()), { expires: 10 });
        //    }
        //    document.forms[0].submit();
        //});

        $('.theme-poptit .close').click(function () {
            $('.theme-popover-mask').hide();
            $('.theme-popover').slideUp(200);
        })
        //                   if ($("#username").length > 0 && $("#username").val().length <= 0) {
        //                       $("#username").val("demo");
        //                       if ($("#password").length > 0) {
        //                           $("#username").val("demo");
        //                           // $("#password").val("");
        //                       }
        //                   }
        $("#username").keyup(function () {
            getPWD();
        })

        $("#username").change(function () {
            getPWD();
        })
        if ($("#username").val().length > 0 && $("#password").val().length == 0) {
            getPWD();
        }
    });

    
   


    var getPWD = function () {
        if ($("#username").val().length < 1) {
            return;
        }
        var result = $.cookie($("#username").val());
        if (result) {
            result = unescape(result);
            $("#password").parent().find('span').hide();
            $("#password").val(result);
            $("#chkRemember").attr("checked", "checked");
        } else {
            $("#chkRemember").attr("checked", "");
        }

    }

    var onSure = function () {

        $('.theme-popover-mask').hide();
        $('.theme-popover').slideUp(200);
        //var password = $.trim($("#password").val());
        //var hash = hex_md5(password).toUpperCase();
        //$("#password").val(hash);
        
    }

             
    var btnLogin = function () {

           Login_ajax();
           return false;
         
    }

    var passmsgbox_close= function(){
    
        $("#pswmb_con").hide(); 
        $(".theme-popover-mask").hide();  
    }
    var ChangePwd=function(UserID,oldpassword,newpassword){
        
        $.ajax({
            type: "POST",
            url: '/User/ChangePwdByUserId',
            data: {UserId:UserID, OldPassword: oldpassword,NewPassword: newpassword },
            success: function (data) {
                passmsgbox_close();
                if(data["code"]==0)
                {
                   
                    GDPR_MSG_Result("success");
                    //alert("change password success!");
                }
                else
                {
                    GDPR_MSG_Result("error");
                    //alert("change password error");
                }
            },
            error: function (XMLHttpRequest, textStatus, errorThrown) {
                GDPR_MSG_Result("error");
            }
        });
    }
    var Login_ajax =function (){
        newuserID="";
        var ContinentArea="EU";
                    
        $.ajax({
            type: "POST",
            url: '/User/LoginForNotificationV3',
            data: { username: $("#username").val(),password: $.md5($("#password").val()) },
            success: function (data) {
                var code=data["code"];
                var result=data["result"];
                var actionUrl=result.actionUrl;
                nextUrl=actionUrl;
                if(code=="2")
                {
                    // GDPR_MSG_INFO('Incorrect account number or login password. Please try again.');
                    alert("User does not exist or the password is wrong!");
                   
                }

                else if(code=="0")
                {
                    newuserID=result.userID;
                    if (result.roleType == "A" || result.roleType == "O") {
                        document.forms[0].action = actionUrl;
                        document.forms[0].submit();
                    }
                    else {
                        if ((!(checkRegexp($("#password").val()))) && (ContinentArea == "EU")) {

                            //document.forms[0].action = actionUrl;
                            //document.forms[0].submit();

                            GDPR_MSG_ChangePsw();
                        }

                        else if (result.moveFlg == 1 && ContinentArea == "HK") {
                            var type = "2";
                            var msgstring = LoginTipHtml;
                            if ((type != null) && (type == 1)) {
                                msgstring = LoginTipHtml;
                            }
                            else {
                                msgstring = LoginTipHtml_after;
                            }
                            common.showSuccessMsg(msgstring, btnLoginCn);

                        }
                        else if (result.moveFlg == 3 && ContinentArea == "HK") {
                            var type = "2";
                            var msgstring = LoginTipHtml_F3;
                            if ((type != null) && (type == 1)) {
                                msgstring = LoginTipHtml_F3;
                            }
                            else {
                                msgstring = LoginTipHtml_after_F3;
                            }
                            common.showSuccessMsg(msgstring, btnLoginCn2);

                        }
                        else {
                            var PromptStage = "3";
                            if (PromptStage == 0) {
                                document.forms[0].action = actionUrl;
                                document.forms[0].submit();
                            }
                            else if (PromptStage == 1) {
                                document.forms[0].action = actionUrl;
                                document.forms[0].submit();
                            }
                            else if (PromptStage == 2) {
                                msgstring = LoginTipHtml_All;
                                common.showSuccessMsg(msgstring, btnLoginCnAll);
                            }
                            else if (PromptStage == 3) {
                                msgstring = LoginTipHtml_after_All;
                                common.showSuccessMsg(msgstring, btnLoginCnAll);
                            }
                            //document.forms[0].action = actionUrl;
                            //document.forms[0].submit();
                        }
                    }
                }
                    //已注销用户
                else if(code=="3")
                {
                    GDPR_MSG_INFO('Sorry,your GOODWE service account information is temporarily unavailable .You can contact GOODWE after-sale service to reactive the account,winthin '+result.dateof30days)+'.';
                }
                else
                {
                     
                      //  GDPR_MSG_INFO('Incorrect account number or login password. Please try again.');
                    
                    alert("User does not exist or the password is wrong!");
                   

                  
                }
            } ,
            error: function (XMLHttpRequest, textStatus, errorThrown) {
               //
            }
        });

    }
    var Login_ajax_EN = function () {
        newuserID = "";
        var ContinentArea = "EU";
        $.ajax({
            type: "POST",
            url: '/User/LoginForNotificationV3',
            data: { username: $("#username").val(), password: $.md5($("#password").val()) },
            success: function (data) {
                var code = data["code"];
                var result = data["result"];
                var actionUrl = result.actionUrl;
                nextUrl = actionUrl;
                //密码错误
                if (code == "2") {
                    if (ContinentArea == "EU") {
                        //GDPR_MSG_INFO('Incorrect account number or login password. Please try again.');
                        alert("User does not exist or the password is wrong!");

                    }
                    else {
                        alert("The username or password is incorrect!");
                    }

                }

                else if (code == "0") {
                    newuserID = result.userID;
                    if ((!(checkRegexp($("#password").val()))) && (ContinentArea == "EU")) {

                        //document.forms[0].action = actionUrl;
                        //document.forms[0].submit();

                        GDPR_MSG_ChangePsw();
                    }
                    else {
                        if (result.roleType == "A" || result.roleType == "O") {
                            document.forms[0].action = actionUrl;
                            document.forms[0].submit();
                        }
                        else {
                            var msgstring = LoginTipHtml_All_En;
                            var PromptStage = "3";
                            var Language = "en-US";
                            if (PromptStage == 0) {
                                document.forms[0].action = actionUrl;
                                document.forms[0].submit();
                            }
                            else if (PromptStage == 1) {
                                document.forms[0].action = actionUrl;
                                document.forms[0].submit();
                            }
                            else if (PromptStage == 2) {

                                if (Language == "en-US") {
                                    msgstring = LoginTipHtml_All_En;
                                    common.showSuccessMsg(msgstring, btnLoginEnAll);
                                }
                                else if (Language == "ko-KR") {
                                    msgstring = LoginTipHtml_All_Kr;
                                    common.showSuccessMsg(msgstring, btnLoginEnAll);
                                }
                                else if (Language == "it-IT") {
                                    msgstring = LoginTipHtml_All_It;
                                    common.showSuccessMsg(msgstring, btnLoginEnAll);
                                }
                                else if (Language == "cs-CZ") {
                                    msgstring = LoginTipHtml_All_Cz;
                                    common.showSuccessMsg(msgstring, btnLoginEnAll);
                                }
                            }
                            else if (PromptStage == 3) {
                                if (Language == "en-US") {
                                    msgstring = LoginTipHtml_after_All_En;
                                    common.showSuccessMsg(msgstring, btnLoginEnAll);
                                }
                                else if (Language == "ko-KR") {
                                    msgstring = LoginTipHtml_after_All_Kr;
                                    common.showSuccessMsg(msgstring, btnLoginEnAll);
                                }
                                else if (Language == "it-IT") {
                                    msgstring = LoginTipHtml_after_All_It;
                                    common.showSuccessMsg(msgstring, btnLoginEnAll);
                                }
                                else if (Language == "cs-CZ") {
                                    msgstring = LoginTipHtml_after_All_Cz;
                                    common.showSuccessMsg(msgstring, btnLoginEnAll);
                                }
                            }
                        }
                    }
                }
                    //已注销用户
                else if (code == "3") {

                    GDPR_MSG_INFO('Sorry,your GOODWE service account information is temporarily unavailable .You can contact GOODWE after-sale service to reactive the account,winthin ' + result.dateof30days) + '.';
                }
                else {

                    alert("User does not exist or the password is wrong!");




                }
            },
            error: function (XMLHttpRequest, textStatus, errorThrown) {
                //
            }
        });

    }
    var btnLoginEn = function () {

        Login_ajax_EN();
        ////加密成md5
        //var password = $.trim($("#password").val());
        //var hash = hex_md5(password).toUpperCase();
        //$("#password").val(hash);

       
    }
    var nextUrl="";
    var newuserID="";
    var btnLoginCn = function () {
        var type = "2";
        if ((type != null) && (type == 1)) {
            document.forms[0].action = nextUrl;
            document.forms[0].submit();
        }
    }
    var btnLoginCn2 = function () {
        var type = "2";
        if ((type != null) && (type == 1)) {
            document.forms[0].action = nextUrl;
            document.forms[0].submit();
        }
    }
    var btnLoginCnAll = function () {
        var PromptStage = "3";
        if (PromptStage == 1 || PromptStage == 2) {
            document.forms[0].action = nextUrl;
            document.forms[0].submit();
        }
    }
    var btnLoginEnAll = function () {
        var PromptStage = "3";
        if (PromptStage == 1 || PromptStage == 2) {
            document.forms[0].action = nextUrl;
            document.forms[0].submit();
        }
    }
    var btnRegisterAll = function () {
        var PromptStage = "3";
        if (PromptStage == 1 || PromptStage == 2) {
            window.location.href = '/User/Register';
        }
    }
    var btnRegister = function () {
        var PromptStage = "3";
        var msgstring = LoginTipHtml_All;
        if (PromptStage == 0) {
            window.location.href = '/User/Register';
        }
        else if (PromptStage == 1 || PromptStage == 2) {
            msgstring = LoginTipHtml_All;
            common.showSuccessMsg(msgstring, btnRegisterAll);
        }
        else if (PromptStage == 3) {
            msgstring = LoginTipHtml_after_All;
            common.showSuccessMsg(msgstring, btnRegisterAll);
        }
    }
    var btnRegisterEn = function () {
        var PromptStage = "3";
        var Language = "en-US";
        var msgstring = LoginTipHtml_All_En;

        if (PromptStage == 0) {
            window.location.href = '/User/Register';
        }
        else if (PromptStage == 1 || PromptStage == 2) {
            if (Language == "en-US") {
                msgstring = LoginTipHtml_All_En;
            }
            else if (Language == "ko-KR") {
                msgstring = LoginTipHtml_All_Kr;
            }
            else if (Language == "it-IT") {
                msgstring = LoginTipHtml_All_It;
            }
            else if (Language == "cs-CZ") {
                msgstring = LoginTipHtml_All_Cz;
            }
            common.showSuccessMsg(msgstring, btnRegisterAll);
        }
        else if (PromptStage == 3) {
            if (Language == "en-US") {
                msgstring = LoginTipHtml_after_All_En;
            }
            else if (Language == "ko-KR") {
                msgstring = LoginTipHtml_after_All_Kr;
            }
            else if (Language == "it-IT") {
                msgstring = LoginTipHtml_after_All_It;
            }
            else if (Language == "cs-CZ") {
                msgstring = LoginTipHtml_after_All_Cz;
            }
            common.showSuccessMsg(msgstring, btnRegisterAll);
        }
    }
    var btnRegisterKr = function () {
        var PromptStage = "3";
        var msgstring = LoginTipHtml_All_Kr;
        if (PromptStage == 0) {
            window.location.href = '/User/Register';
        }
        else if (PromptStage == 1 || PromptStage == 2) {
            msgstring = LoginTipHtml_All_Kr;
            common.showSuccessMsg(msgstring, btnRegisterAll);
        }
        else if (PromptStage == 3) {
            msgstring = LoginTipHtml_after_All_Kr;
            common.showSuccessMsg(msgstring, btnRegisterAll);
        }
    }
    var btnRegisterIt = function () {
        var PromptStage = "3";
        var msgstring = LoginTipHtml_All_It;
        if (PromptStage == 0) {
            window.location.href = '/User/Register';
        }
        else if (PromptStage == 1 || PromptStage == 2) {
            msgstring = LoginTipHtml_All_It;
            common.showSuccessMsg(msgstring, btnRegisterAll);
        }
        else if (PromptStage == 3) {
            msgstring = LoginTipHtml_after_All_It;
            common.showSuccessMsg(msgstring, btnRegisterAll);
        }
    }
    var btnRegisterCz = function () {
        var PromptStage = "3";
        var msgstring = LoginTipHtml_All_Cz;
        if (PromptStage == 0) {
            window.location.href = '/User/Register';
        }
        else if (PromptStage == 1 || PromptStage == 2) {
            msgstring = LoginTipHtml_All_Cz;
            common.showSuccessMsg(msgstring, btnRegisterAll);
        }
        else if (PromptStage == 3) {
            msgstring = LoginTipHtml_after_All_Cz;
            common.showSuccessMsg(msgstring, btnRegisterAll);
        }
    }
             jQuery.cookie = function (name, value, options) {
                 if (typeof value != 'undefined') { // name and value given, set cookie  
                     options = options || {};
                     if (value === null) {
                         value = '';
                         options.expires = -1;
                     }
                     var expires = '';
                     if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
                         var date;
                         if (typeof options.expires == 'number') {
                             date = new Date();
                             date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
                         } else {
                             date = options.expires;
                         }
                         expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE  
                     }
                     var path = options.path ? '; path=' + options.path : '';
                     var domain = options.domain ? '; domain=' + options.domain : '';
                     var secure = options.secure ? '; secure' : '';
                     document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
                 } else { // only name given, get cookie  
                     var cookieValue = null;
                     if (document.cookie && document.cookie != '') {
                         var cookies = document.cookie.split(';');
                         for (var i = 0; i < cookies.length; i++) {
                             var cookie = jQuery.trim(cookies[i]);
                             // Does this cookie string begin with the name we want?  
                             if (cookie.substring(0, name.length + 1) == (name + '=')) {
                                 cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
                                 break;
                             }
                         }
                     }
                     return cookieValue;
                 }
             };
</script>

<script>
    var acceptCookie = getCookie("acceptcookie");
    var cookieStatementElement = document.getElementsByClassName("cookies-statement")[0];
    if (!acceptCookie) {
        cookieStatementElement.style.display = "block";
    }
    function acceptCookieHandle() {
        setCookie("acceptcookie", "true");
        if (getCookie("acceptcookie")) {
            cookieStatementElement.style.display = "none";
        }
        return false;
    }
    function setCookie(name, value) {
        var Days = 365;
        var exp = new Date();
        exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
        document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
    }
    function getCookie(name) {
        var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
        if (arr = document.cookie.match(reg))
            return unescape(arr[2]);
        else
            return null;
    }
    </script>





            
            <!--动画-->
                <ul class="animation clearfix">
                    <li lilanguage="zh-CN en-US" class="on" style="display:block;"><img src="/Content/images/baner1.jpg" width="1920" height="600" alt=""></li>
                    
                    
                    <!--<li lilanguage="en-US"><img src="/Content/images/baner2EN.jpg" width="1920" height="600" alt=""/></li>-->
                    
                     
                  </ul>
             </div> 
         </div> 
      </div>     
       <!--footer-->
    <div class="section foot">
    	<div class="n_section">
        	<p align="center">  Copyright © 2015 GoodWe Power Supply Technology Co.,Ltd 
               <script>document.write(unescape("%3C/script%3E%3Cspan id='szgs_stat_icon_2685'%3E%3C/span%3E%3Cscript src='http://www.szgswljg.gov.cn/sendMark?siteid=2685&type=1' type='text/javascript'%3E%3C/script%3E"));</script><span id="szgs_stat_icon_2685"></span><script src="http://www.szgswljg.gov.cn/sendMark?siteid=2685&amp;type=1" type="text/javascript"></script>
               网站备案号:<a href="http://www.miitbeian.gov.cn" target="_blank">苏ICP备16050124号</a>

               </p>
        </div>
        
    </div>
    
    <script type="text/javascript">
      
        $(function () {
            
            $("#lnkzhCN").click(function () {
                $.post('/User/ChangeLanguage', { "language": "zh-CN" },
                   function (data) {
                       window.location = window.location;
                   });
            });
            $("#lnkenUS").click(function () {

                select_english();
            });

            $("#lnkenKorean").click(function () {
                $.post('/User/ChangeLanguage', { "language": "ko-KR" },
                  function (data) {
                      window.location = window.location;
                  });
            });
            $("#lnkitIT").click(function () {
                $.post('/User/ChangeLanguage', { "language": "it-IT" },
                  function (data) {
                      window.location = window.location;
                  });
              });
            $("#lnkitTR").click(function () {
                $.post('/User/ChangeLanguage', { "language": "tr" },
                                         function (data) {
                                             window.location = window.location;
                                         }); h
            });

            $("#lnkitCZ").click(function () {
                $.post('/User/ChangeLanguage', { "language": "cs-CZ" },
               function (data) {
                         window.location = window.location;
               });
              });

            $("#lnServiceCenter").click(function () {
                window.location = '/ServiceCenterPlatform/ServiceCenter/WarrantyQuery';
            });

            $(".list .require").each(function () {
                if ($(this).val() != '') {
                    $(this).parent().find('span').hide();
                } else {
                    $(this).parent().find('span').show();
                }
            });

            
        });
        function select_english() {
            $.post('/User/ChangeLanguage', { "language": "en-US" },
               function (data) {
                   window.location = window.location;
               });
        }

        //点击共享电站,实例电站
        var sharedPowerStation = function () {
            $("#username").val("SHARED");
            document.forms[0].action = '/PowerStationPlatform/PowerStation/SharedSites';
            document.forms[0].submit();
        }

        var samplePowerStation = function () {           
            document.forms[0].action = '/PowerStationPlatform/PowerStation/DemoSites';
            document.forms[0].submit();
        }

        function doSomething()
        {
            alert("Australian Server is only for Oceanian users."); //在页面上弹出对话框
        }

        function europe_doSomething() {
            alert("European Server is only for European users."); //在页面上弹出对话框
        }

        function showalert()
        {
            alert("Primary Server is for other users except Oceania and Europe.");
        }
    </script>


</body></html>