                                                                  ///////////////////////2006-08-02黄仰旦
 function fontZoom(size)
   {
	document.getElementById('fontzoom').style.fontSize=size+'px'
   }
function initArray()
 {
  for(i=0;i<initArray.arguments.length;i++)
  this[i]=initArray.arguments[i];
 }
 var isnMonths=new initArray("1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月");
 var isnDays=new initArray("星期日","星期一","星期二","星期三","星期四","星期五","星期六","星期日");
 today=new Date();
 hrs=today.getHours();
 min=today.getMinutes();
 sec=today.getSeconds();
 clckh=""+((hrs>12)?hrs-12:hrs);
 clckm=((min<10)?"0":"")+min;clcks=((sec<10)?"0":"")+sec;
 clck=(hrs>=12)?"下午":"上午";
 var stnr="";
 var ns="0123456789";
 var a="";
function getFullYear(d)
{
  yr=d.getYear();if(yr<1000)
  yr+=1900;return yr;}  
function www_helpor_net()
{
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()

if(minutes<=9)
minutes="0"+minutes
if(seconds<=9)
seconds="0"+seconds
myclock=""+hours+":"+minutes+":"+seconds+""
if(document.layers){document.layers.liveclock.document.write(myclock)
document.layers.liveclock.document.close()
}else if(document.all)
liveclock.innerHTML=myclock
setTimeout("www_helpor_net()",1000)
}
////////////////菜单
var alreadyOpenTdId = null;
function closeMenu() {

if (alreadyOpenTdId == null) return;
 alreadyOpenTable = document.all(alreadyOpenTdId);
 alreadyOpenTable.className = "menu";
}
function menuClick(tableSrc,url) {
window.open(url,'mainFrame','');
if (tableSrc.uniqueID != alreadyOpenTdId) closeMenu();
if (tableSrc.className == "menu") {

        tableSrc.className = "menu2"; 
		alreadyOpenTdId = tableSrc.uniqueID;
    } 
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
if(selObj.options[selObj.selectedIndex].value!=0){
  window.open(selObj.options[selObj.selectedIndex].value,'','');
  if (restore) selObj.selectedIndex=0;
  }
}
/*老版对联广告
var delta=0.15
var collection;
var ll;
var imgs2='<img onClick="javascript:displaynone();" style="cursor: hand;" src=cjimg/close2.gif border=0><img onClick="javascript:playopen();" style="cursor: hand;" src=/cjimg/sss.gif border=0>';
var imgs='<img onClick="javascript:displaynone();" style="cursor: hand;" src=cjimg/close2.gif border=0><img onClick="javascript:playopen();" style="cursor: hand;" src=cjimg/line2.gif border=0>';
function floaters() {
	this.items    = [];
	this.addItem    = function(id,x,y,content)
  {
	document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');                    
	var newItem                = {};
	newItem.object            = document.getElementById(id);
	newItem.x                = x;
	newItem.y                = y;
	this.items[this.items.length]        = newItem;
  }
this.play    = function()
  {
	collection                = this.items
	   ll = setInterval('play()',10);
  }
}
	function play()
	{
		if(screen.width<=800)
		{
			for(var i=0;i<collection.length;i++)
			{
				collection[i].object.style.display    = 'none';
			}
			return;
		}
		for(var i=0;i<collection.length;i++)
		{
			var followObj        = collection[i].object;
			var followObj_x        = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
			var followObj_y        = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);

			if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
				var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
				dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
				followObj.style.left=followObj.offsetLeft+dx;
				}

			if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
				var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
				dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
				followObj.style.top=followObj.offsetTop+dy;
				}
			followObj.style.display    = '';
		}
	}
	function playopen()
	{
	window.open('http://www.hzmcd.com/Article/jklj/2010/07/20100724105944.html','','');
	} 
	function displaynone()
	{
		document.all.followDiv2.style.display= 'none';
	document.all.followDiv1.style.display= 'none';   
	window.clearInterval(ll);
	}

*/

//符合web标准且可关闭的多幅对联广告  
//Modified By Empty @20100920
<!--  
lastScrollY = 0;  
function heartBeat(){  
var diffY;  
if (document.documentElement && document.documentElement.scrollTop)  
diffY = document.documentElement.scrollTop;  
else if (document.body)  
diffY = document.body.scrollTop  
else  
{/*Netscape stuff*/}  
//alert(diffY);  
percent=.1*(diffY-lastScrollY);  
if(percent>0)percent=Math.ceil(percent);  
else percent=Math.floor(percent);  
document.getElementById("leftDiv").style.top = parseInt(document.getElementById("leftDiv").style.top)+percent+"px";  
document.getElementById("rightDiv").style.top = parseInt(document.getElementById("rightDiv").style.top)+percent+"px";  
lastScrollY=lastScrollY+percent;  
//alert(lastScrollY);  
}  
//下面这段删除后，对联将不跟随屏幕而移动。  
window.setInterval("heartBeat()",1);  
//-->  
//关闭按钮  

function close_left2(){  
    left2.style.visibility='hidden';  
}  
 
function close_right2(){  
    right2.style.visibility='hidden';  
}  
//显示样式  
document.writeln("<style type=\"text\/css\">");  
document.writeln("#leftDiv,#rightDiv{width:100px;height:100px;background-color:#fff;position:absolute;}");  
document.writeln(".itemFloat{width:100px;height:auto;line-height:5px}");  
document.writeln("<\/style>");  
//以下为主要内容  
document.writeln("<div id=\"leftDiv\" style=\"top:40px;left:5px\">");  
//------左侧各块开始  
 
//---L2  
document.writeln("<div id=\"left2\" class=\"itemFloat\">");  
document.writeln("<a target=_blank href=/Article/zsc/bmf/index.html><img border=0 src=/cjimg/sss.gif></a>");  
document.writeln("<br><a href=\"javascript:close_left2();\" title=\"关闭\">×<\/a>");  
document.writeln("<\/div>");  
//------左侧各块结束  
document.writeln("<\/div>");  
document.writeln("<div id=\"rightDiv\" style=\"top:40px;right:5px\">");  
//------右侧各块结束  

//---R2  
document.writeln("<div id=\"right2\" class=\"itemFloat\">");  
document.writeln("<a target=_blank href=/Article/jklj/2011/09/20110919152235.html><img border=0 src=/UploadFile/2011/09/20110919033621515.gif></a>");  
document.writeln("<br><a href=\"javascript:close_right2();\" title=\"关闭\">×<\/a>");  
document.writeln("<\/div>");  
//------右侧各块结束  
document.writeln("<\/div>");  

				

  

  

  

  

  
