﻿// JavaScript Document
function gotowhere(s)
		 { var d=s.options[s.selectedIndex].value;
		window.open(d,"_blank");
		s.selectedIndex=0;
	     }
//显示日期时间
function tick() {
var hours, minutes, seconds, ap;
var intHours, intMinutes, intSeconds,intYear,intMonth,intDay,strDate;
var today;
today = new Date();
intYear=today.getYear();
intMonth=today.getMonth();
intDay=today.getDay();
strDate=intMonth+"月"+intDay+"号&nbsp;&nbsp;"
intHours = today.getHours();
intMinutes = today.getMinutes();
intSeconds = today.getSeconds();
if (intHours == 0) {
hours = "12:";
} else if (intHours < 12) {
hours = intHours+":";
} else if (intHours == 12) {
hours = "12:";
} else {
hours = intHours + ":";
}
if (intMinutes < 10) {
minutes = "0"+intMinutes+":";
} else {
minutes = intMinutes+":";
}
if (intSeconds < 10) {
seconds = "0"+intSeconds+" ";
} else {
seconds = intSeconds+" ";
}
timeString = hours+minutes+seconds;
document.getElementById("timeId").innerHTML = strDate+timeString;
window.setTimeout("tick();", 1000);
}
window.onload = tick;

//导航
$(function()
{
    $(".index_nav_in li").hover(
        function()
        {
			$(this).children('ul').show();
        },
        function()
        {
			$(this).children('ul').hide();		
        }
    );
    $(".page_nav_in li").hover(
        function()
        {
			$(this).children('ul').show();
        },
        function()
        {
			$(this).children('ul').hide();		
        }
    );
	
    
});
