﻿// JScript 文件

//document.write('<div id="loader_container"><div id="loader"><div align="center">页面正在加载中……<br />请稍候...</div><div id="loader_bg"><div id="progress"> </div></div></div></div>');     
//var t_id = setInterval(animate,20);     
//var pos=0;     
//var dir=2;     
//var len=0;     
//      
//function animate()     
//{     
//var elem = document.getElementById('progress');     
//if(elem != null) {     
//if (pos==0) len += dir;     
//if (len>32 || pos>179) pos += dir;     
//if (pos>179) len -= dir;     
//if (pos>179 && len==0) pos=0;     
//elem.style.left = pos;     
//elem.style.width = len;     
//}     
//}     
//function remove_loading() {     
//this.clearInterval(t_id);     
//var targelem = document.getElementById('loader_container');     
//targelem.style.display='none';     
//targelem.style.visibility='hidden';
//}


//@author:wansir
//@date:2011-9-26
//action:添加新版的日期对象

function LoginAction(num) {
    window.LoingUrlType = num;
    
    //设置状态
    for (var id = 0; id <= 1; id++) {
            if (id == num) {
                document.getElementById("qh_con" + id).style.display = "block";
                document.getElementById("mynav" + id).className = "disembark-right-ul-li1";
            }
            else {
                document.getElementById("qh_con" + id).style.display = "none";
                document.getElementById("mynav" + id).className = "disembark-right-ul-li2";
            }
        }

        //设置跳转
    }

//    function LoginExecAction() {
//        if (window.LoingUrlType && window.LoingUrlType == 1) {
//            $("form").attr("url", "com.baikejob.com/login.aspx");
//        }
//    }
    $(document).ready(function() {
    //$("#daymic").textSlider({ line: 1, speed: 500, timer: 3000 });
    $("#form1").validationEngine();
    });
