<script type="text/javascript">
$(function(){
/*indexPage1*/
function Appendzero (obj) {
if (obj < 10) return "0" + obj; else return obj;
}
function getWeek (weeknum) {
if (weeknum == 0) week = "星期日";
if (weeknum == 1) week = "星期一";
if (weeknum == 2) week = "星期二";
if (weeknum == 3) week = "星期三";
if (weeknum == 4) week = "星期四";
if (weeknum == 5) week = "星期五";
if (weeknum == 6) week = "星期六";
return week;
}
function getDateWeek () {
var now = new Date ();
/* var year = now.getFullYear ();//获取四位数年数*/
var month = now.getMonth () + 1;
var date = now.getDate ();
var weeknum = now.getDay ();
var hour = now.getHours ();
var minute = now.getMinutes ();
var second = now.getSeconds ();
var sDate = Appendzero (month) + "月" + Appendzero (date) + "日&nbsp;"+ getWeek (weeknum);
var sTime = Appendzero (hour) + ":" + Appendzero (minute) + ":" + Appendzero (second) + "&nbsp;" ;
$('.date').html(sDate);
$('.time').html(sTime);
}
getDateWeek ();
setInterval(function(){
getDateWeek();
},1000);

$('.slideOpen').click(function(){
$('.indexPage1').hide();
$('.indexPage2').show();
});
});
</script>