 
			 function $(id)//
			{
				return document.getElementById(id);	
			}
			
			function $v(id)
			{
				return document.getElementById(id).value;	
			}
			function $n(name){
				return document.getElementByName(name);	
			}	
			function swap(a,b){
				
				if($(a).style.display=='none'){
					$(a).style.display='';
					$(b).style.display='none';
				}else{
					$(a).style.display='none';
					$(b).style.display='';
					
				}
				
				
			}
			var $=function(d){
				return document.getElementById(d);	
			}
			var ari={
				AUTHOR:"aries",
				HOMEPAGE: "http://qhd54.gov.cn",
				reloadPage:function(){
					window.location.reload();	
				},
				getUrl:function(){
					return document.location.href;
				}
			}
			ari.indexTab=function(a,b,n){
				var box=$(a).getElementsByTagName('span');
				for(var i=0;i<box.length;i++){
					if(i==n){
						box[i].className='active';	
						$(b+n).style.display='block';
					}else{
						box[i].className='normal';	
						$(b+i).style.display='none';
					}
				}
			
			}
			var nowFocus=0;
			ari.runFocus=function (){
				if(nowFocus<3){
					ari.setFocus(nowFocus);
					nowFocus++;
				}else{
					nowFocus=0;
					ari.setFocus('0');
				}
				var act = setTimeout('ari.runFocus()',3*1000);
			}
			ari.setFocus=function (v){
				var _countbox=$('adv_top_line').getElementsByTagName("img");
				for(var i=0;i<_countbox.length;i++){
					if(i==v){
						_countbox[v].src='images/default/adv/adv_'+v+'_white.gif';
					}else{
						_countbox[i].src='images/default/adv/adv_'+i+'_red.gif';
					}
				}
				ari.setAdvImage(v);
			}
			ari.setAdvImage=function(v){
				var adv_img=$('adv_img');
				if(adv_img.innerHTML!='') adv_img.innerHTML='';
				var img= document.createElement("IMG");
				img.id="crt_img";
				img.style.width="317";
				img.style.height="246";
				img.setAttribute('src',advImg_dir+adv[v]);
				adv_img.appendChild(img);
				$('adv_title').innerHTML='<a href="'+imgLink[v].url+'" target="_blank" style="color:#FFF">'+imgLink[v].imgTitle+'</a>';
				img.onclick=function(){
					window.open(imgLink[v].url);	
				}
			}
			ari.changeFontsize=function(size){
				var content=$('text_content');
				content.style.fontSize=size+"px";
			}