/*function n_Set_News_Html() {
	var shtml="<div id='scrollWrap'><div id='scrollMsg'><ul>";
	for(var i=0;i<5;i++){
		shtml+="<li><a href='"+News_link[i]+"' target='_blank' title='"+News_title[i]+"'>"+News_title[i]+"</a></li>";
	}
	shtml+="</ul></div></div>";
	return shtml;
}*/
function n_Set_News_Html2() {
	var shtml="<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\"><tr><td width=28><img src=/js/menu_icon03.gif></td><td style=\"font-weight:bold\">今日关注</td><td><div class='shell' style=\"width:200px;padding:2px 2px 2px 2px; text-align:left\">"
	shtml+="<div id='div1' style=\"height:18px;overflow:hidden;\">";
	for(var i=0;i<News_title.length;i++){
		shtml+="<a style=\"display:block;font-size:12px;line-height:18px;text-decoration:none;color:#C83E21;font-family:Arial;\" href='"+News_link[i]+"' target='_blank' title='"+News_title[i]+"'>"+News_title[i].substring(0,16)+"</a>";
	}
	shtml+="</div></div></td><td><a href='/col/col26343/' style=\"color:#C83E21\"><strong>更多》</strong></a></td></tr></table>";
	return shtml;
}
var s=n_Set_News_Html2();

document.writeln("<table cellpadding=\"0\" cellspacing=\"0\" width=\"950\" border=\"0\" class=\"ctdall\">");
document.writeln("	<tr><td background=\"\/js\/menu_bg.gif\" height=\"58\">");
document.writeln("    	<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\">");
document.writeln("    	<tr>");
document.writeln("        	<td height=\"29\">");
document.writeln("            	<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" class=\"tabletd\">");
document.writeln("                	<tr>");
document.writeln("                    	<td height=\"28\"><a class=\"temM\" style=\"color:#FBFD00;font-size:14px;\" href=\"\/\">网站首页<\/a><\/td><td background=\"\/js\/menu_line.gif\" width=\"3\"><\/td>");
document.writeln("                        <td><a class=\"temM\" style=\"color:#FFFFFF;font-size:14px;\" href=\"\/col\/col19304\/\">三北政讯<\/a><\/td><td background=\"\/js\/menu_line.gif\" width=\"3\"><\/td>");
document.writeln("                        <td><a class=\"temM\" style=\"color:#FFFFFF;font-size:14px;\"href=\"\/col\/col21083\/\">走进慈溪<\/a><\/td><td background=\"\/js\/menu_line.gif\" width=\"3\"><\/td>");
document.writeln("                        <td><a class=\"temM\" style=\"color:#FFFFFF;font-size:14px;\" href=\"\/col\/col14356\/\">透视政府<\/a><\/td><td background=\"\/js\/menu_line.gif\" width=\"3\"><\/td>");
document.writeln("                        <td><a class=\"temM\" style=\"color:#FFFFFF;font-size:14px;\" href=\"http:\/\/hd.cixi.gov.cn\/?Transact&s=1\">网上办事<\/a><\/td><td background=\"\/js\/menu_line.gif\" width=\"3\"><\/td>");
document.writeln("                        <td><a style=\"color:#FFFFFF;font-size:14px;\" class=\"temM\" href=\"http:\/\/hd.cixi.gov.cn\/index.rs?Main&s=1&rid=f3ghbm8XSiLfdllNURoNnMnMfiYjn2gVlgkk\">政民互动<\/a><\/td><td background=\"\/js\/menu_line.gif\" width=\"3\"><\/td>");
document.writeln("                        <td><a class=\"temM\" style=\"color:#FFFFFF;font-size:14px;\" href=\"\/col\/col19439\/\">旅游观光<\/a><\/td><td background=\"\/js\/menu_line.gif\" width=\"3\"><\/td>");
document.writeln("                        <td><a class=\"temM\" style=\"color:#FFFFFF;font-size:14px;\" href=\"\/col\/col19564\/\">投资慈溪<\/a><\/td><td background=\"\/js\/menu_line.gif\" width=\"3\"><\/td>");
document.writeln("                        <td><a class=\"temM\" style=\"color:#FFFFFF;font-size:14px;\" href=\"\/col\/col19484\/\">便民服务<\/a><\/td><td background=\"\/js\/menu_line.gif\" width=\"3\"><\/td>");
document.writeln("                        <td><a class=\"temM\" style=\"color:#FFFFFF;font-size:14px;\" href=\"\/col\/col14443\/\" target=\"_blank\">跨海大桥<\/a><\/td><td background=\"\/js\/menu_line.gif\" width=\"3\"><\/td>");
document.writeln("                        <td><a class=\"temM\" style=\"color:#FFFFFF;font-size:14px;\" href=\"\/col\/col14363\/\" target=\"_blank\">网站向导<\/a><\/td><td background=\"\/js\/menu_line.gif\" width=\"3\"><\/td>");
document.writeln("                    <\/tr>");
document.writeln("                <\/table>");
document.writeln("            <\/td>");
document.writeln("        <\/tr>");
document.writeln("        <tr><td height=\"7\">");
document.writeln("        	<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\">");
document.writeln("            	<tr>");
document.writeln("                    	<td class=\"temImg\" height=\"7\"><\/td>");
document.writeln("                        <td class=\"temImg\"><img src=\"\/js\/menu_icon.gif\" class=\"timg\"\/><\/td>");
document.writeln("                        <td class=\"temImg\"><img src=\"\/js\/menu_icon.gif\" class=\"timg\"\/><\/td>");
document.writeln("                        <td class=\"temImg\"><img src=\"\/js\/menu_icon.gif\" class=\"timg\"\/><\/td>");
document.writeln("                        <td class=\"temImg\"><img src=\"\/js\/menu_icon.gif\" class=\"timg\"\/><\/td>");
document.writeln("                        <td class=\"temImg\"><img src=\"\/js\/menu_icon.gif\" class=\"timg\"\/><\/td>");
document.writeln("                        <td class=\"temImg\"><img src=\"\/js\/menu_icon.gif\" class=\"timg\"\/><\/td>");
document.writeln("                        <td class=\"temImg\"><img src=\"\/js\/menu_icon.gif\" class=\"timg\"\/><\/td>");
document.writeln("                        <td class=\"temImg\"><img src=\"\/js\/menu_icon.gif\" class=\"timg\"\/><\/td>");
document.writeln("                        <td class=\"temImg\"><\/td>");
document.writeln("                        <td class=\"temImg\"><\/td>");
document.writeln("                    <\/tr>");
document.writeln("            <\/table>");
document.writeln("        <\/td><\/tr>");
document.writeln("        <tr><td height=\"22\">");
document.writeln("        	<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"98%\" align=\"center\" class=\"tableshow0\">");
document.writeln("            	<tr>");
document.writeln("                	<td width=\"570\">"+channel_HTML[0]+"<\/td><td width=\"380\" algin=left>"+s+"<\/td>");
document.writeln("                <\/tr>");
document.writeln("            <\/table>");
document.writeln("            <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"98%\" align=\"center\" class=\"tableshow\" style=\"display:none\">");
document.writeln("            	<tr>");
document.writeln("                	<td><a href=\"\/col\/col14354\/\">慈溪政讯<\/a><a href=\"\/col\/col14365\/\">图片新闻<\/a><a href=\"\/col\/col19464\/\">视频新闻<\/a><a href=\"\/col\/col14538\/\">市政府新闻发布会<\/a><a href=\"\/col\/col14398\/\">公示公告<\/a><a href=\"\/col\/col14403\/\">三北时评<\/a><a href=\"\/col\/col14404\/\">镇街部门动态<\/a><a href=\"\/col\/col19440\/\">旅游时讯<\/a><a href=\"\/col\/col19565\/\">投资动态<\/a> ");
document.writeln(" <\/td>");
document.writeln("                <\/tr>");
document.writeln("            <\/table>");
document.writeln("            <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"98%\" align=\"center\" class=\"tableshow\" style=\"display:none\">");
document.writeln("            	<tr>");
document.writeln("                	<td><a href=\"\/col\/col14371\/\">慈溪简介<\/a><a href=\"\/col\/col21132\/\">自然地理<\/a><a href=\"\/col\/col14377\/\">历史沿革<\/a><a href=\"\/col\/col21136\/\">行政建置<\/a><a href=\"\/col\/col21139\/\">人民生活<\/a><a href=\"\/col\/col21142\/\">城市建设<\/a><a href=\"\/col\/col21145\/\">社会事业<\/a><a href=\"\/col\/col21308\/\">品牌荣誉<\/a><a href=\"\/col\/col14389\/\">文化集萃<\/a><a href=\"\/col\/col14392\/\">魅力慈溪<\/a><a href=\"\/col\/col14432\/\">视频慈溪<\/a><a href=\"\/col\/col21152\/\">慈溪名片<\/a> ");
document.writeln(" <\/td>");
document.writeln("                <\/tr>");
document.writeln("            <\/table>");
document.writeln("            <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"98%\" align=\"center\" class=\"tableshow\" style=\"display:none\">");
document.writeln("            	<tr>");
document.writeln("                	<td class=\"fontc1\"><a href=\"\/col\/col52252\/\">市长之窗<\/a><a href=\"\/col\/col14369\/\">工作规则<\/a><a href=\"\/col\/col14372\/\">讲话文论<\/a><a href=\"\/col\/col20366\/\">建议提案<\/a><a href=\"\/col\/col25984\/\">相关政策<\/a><a href=\"\/col\/col14375\/\">机构职能<\/a><a href=\"\/col\/col14378\/\">工作报告<\/a><a href=\"\/col\/col21563\/\">慈溪大事记<\/a><a href=\"\/col\/col14382\/\">政策法规<\/a><a href=\"\/col\/col14555\/\">政策解读<\/a><a href=\"\/col\/col14386\/\">人员任免<\/a><a href=\"\/col\/col14390\/\">规划公报<\/a><a href=\"\/col\/col17864\/\">规划解读<\/a><\/td>");
document.writeln("                    <td class=\"fontc2\" style=\"display:none;\"><a href=\"\/col\/col25984\/\">相关政策<\/a><a href=\"\/col\/col14375\/\">机构职能<\/a><a href=\"\/col\/col14378\/\">工作报告<\/a><a href=\"\/col\/col21563\/\">慈溪大事记<\/a><a href=\"\/col\/col14382\/\">政策法规<\/a><a href=\"\/col\/col14555\/\">政策解读<\/a><a href=\"\/col\/col14386\/\">人员任免<\/a><a href=\"\/col\/col14390\/\">规划公报<\/a><a href=\"\/col\/col17864\/\">规划解读<\/a><a href=\"\/col\/col51925\/\">行政收费<\/a><a href=\"\/col\/col14393\/\">统计数据<\/a><a href=\"\/col\/col14396\/\">专项预算<\/a><a href=\"\/col\/col14528\/\">社会管理<\/a><\/td><td class=\"tdmore\">更多》<\/td>");
document.writeln("                <\/tr>");
document.writeln("            <\/table>");
document.writeln("            <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"98%\" align=\"center\" class=\"tableshow\" style=\"display:none\">");
document.writeln("            	<tr>");
document.writeln("                	<td><a href=\"http:\/\/hd.cixi.gov.cn\/?Transact&s=1\">办事大厅<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Transact&sid=Examine&kind=1&s=1\">面向个人<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Transact&sid=Examine&kind=2&s=1\">面向企业<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Transact&sid=Finished&s=1\">办结件通报<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Transact&sid=According&s=1\">法律依据<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Main&sid=Transact_refer&s=1\">咨询投诉<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Transact&sid=Tabledown&s=1\">表格下载<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Transact&sid=Interlocution&s=1\">办事问答<\/a><a href=\"http:\/\/fwzx.cixi.gov.cn\/apas\/portal\/\">市行政服务中心<\/a> ");
document.writeln("<\/td>");
document.writeln("                <\/tr>");
document.writeln("            <\/table>");
document.writeln("            <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"98%\" align=\"center\" class=\"tableshow\" style=\"display:none\">");
document.writeln("            	<tr>");
document.writeln("                	<td><a href=\"http:\/\/hd.cixi.gov.cn\/index.rs\">互动平台<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Main&sid=Mailbox_mayor&s=1\">市长信箱<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Main&sid=Mailbox_leader&s=1\">镇（街道）部门信箱<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Main&sid=Mailbox_appeal&s=1\">网上信访<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Main&sid=Mailbox_advice&s=1\">意见建议<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Main&sid=Mailbox_impeach&s=1\">投诉举报<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Main&sid=Mailbox_requisition&s=1\">申请政府信息<\/a><a href=\"\/col\/col14426\/\">在线访谈<\/a><a href=\"\/col\/col19246\/\">关注<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Main&sid=Questionary&Type=3&s=1\">网上调查<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Main&sid=Advice&s=1\">公众留言<\/a> <\/td>");
document.writeln("                <\/tr>");
document.writeln("            <\/table>");
document.writeln("            <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"98%\" align=\"center\" class=\"tableshow\" style=\"display:none\">");
document.writeln("            	<tr>");
document.writeln("                	<td><a href=\"\/col\/col19440\/\">旅游时讯<\/a><a href=\"\/col\/col19444\/\">旅游景点<\/a><a href=\"\/col\/col19442\/\">旅游路线<\/a><a href=\"\/col\/col19441\/\">旅游节庆<\/a><a href=\"\/col\/col19445\/\">旅游常识<\/a><a href=\"\/col\/col19446\/\">旅行社<\/a><a href=\"\/col\/col20203\/\">酒店宾馆<\/a> <\/td>");
document.writeln("                <\/tr>");
document.writeln("            <\/table>");
document.writeln("            <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"98%\" align=\"center\" class=\"tableshow\" style=\"display:none\">");
document.writeln("            	<tr>");
document.writeln("                	<td><a href=\"\/col\/col19565\/\">投资动态<\/a><a href=\"\/col\/col19578\/\">投资指南<\/a><a href=\"\/col\/col19567\/\">投资项目<\/a><a href=\"\/col\/col19568\/\">投资政策<\/a><a href=\"\/col\/col19569\/\">投资程序<\/a><a href=\"\/col\/col19570\/\">办理机构<\/a><a href=\"\/col\/col20423\/\">投资成本<\/a><a href=\"http:\/\/www.cixichina.cn\/\">外贸服务网<\/a><a href=\"http:\/\/wjmj.cixi.gov.cn\/\">对外开放综合服务网<\/a> ");
document.writeln("<\/td>");
document.writeln("                <\/tr>");
document.writeln("            <\/table>");
document.writeln("            <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"98%\" align=\"center\" class=\"tableshow\" style=\"display:none\">");
document.writeln("            	<tr>");
document.writeln("                	<td> <a href=\"\/col\/col19489\/\">教育服务<\/a><a href=\"\/col\/col19490\/\">医疗卫生<\/a><a href=\"\/col\/col19491\/\">劳动与社会保障<\/a><a href=\"\/col\/col19492\/\">交通出行<\/a><a href=\"\/col\/col19493\/\">公用事业<\/a><a href=\"\/col\/col26103\/\">社区情况<\/a><a href=\"\/col\/col17903\/\">社区服务<\/a><a href=\"\/col\/col49583\/\">住房服务<\/a><a href=\"\/col\/col49683\/\">就业服务<\/a><a href=\"http:\/\/hd.cixi.gov.cn\/?Transact&s=1\">企业服务<\/a><a href=\"\/col\/col19963\/\">三农服务<\/a><a href=\"\/col\/col20003\/\">司法服务<\/a><\/td>");
document.writeln("                <\/tr>");
document.writeln("            <\/table>");
document.writeln("        <\/td><\/tr>");
document.writeln("        <\/table>");
document.writeln("    <\/td><\/tr>");
document.writeln("<\/table>")
$(document).ready(function(){
		$(".temM").each(function(index){
			$(this).hover(function(){
				$(this).css("color","#FBFD00");		
				$(".timg").each(function(it){
					if(index>=1&&index<=8){
						if((index-1)==it){
							$(this).show();
						}
						else
							$(this).hide();
					}
					else{
						$(this).hide();
					}
				});	
				$(".tableshow").each(function(it){
					if(index>=1&&index<=8){
						if((index-1)==it){
							$(this).show();	
						}
						else
							$(this).hide();
					}
				});
				if(!(index>=1&&index<=8)){
					$(".tableshow0").show();
					$(".tableshow").hide();
				}
				else{
					$(".tableshow0").hide();	
				}
				changecolor(index);
			},function(){
				//$(this).css("color","#fff");
				changecolor(index);
			});
		});	
		function changecolor(index){
			$(".temM").each(function(it){
					$(this).css("color","#fff");	
					if(index==it){
						$(this).css("color","#FBFD00");
					}
					else
						$(this).css("color","#fff");
			});
		}
		$(".tdmore").toggle(function(){
			$('.fontc1').css("display","none");
			$('.fontc2').css("display","block");
		},function(){
			$('.fontc1').css("display","block");
			$('.fontc2').css("display","none");
		});
	});

var box=document.getElementById("div1"),can=true;
box.innerHTML+=box.innerHTML;
box.onmouseover=function(){can=false};
box.onmouseout=function(){can=true};
new function (){
	var stop=box.scrollTop%18==0&&!can;
	if(!stop)box.scrollTop==parseInt(box.scrollHeight/2)?box.scrollTop=0:box.scrollTop++;
	setTimeout(arguments.callee,box.scrollTop%18?10:1500);
};

