	<!-- 
	function doZoom(size){
		document.getElementById('zoom').style.fontSize=size+'px'
	}

function SetCookie(cookieName,cookieValue,nDays) {
 var today = new Date();
 var expire = new Date();
 if (nDays==null || nDays==0) nDays=1;
 expire.setTime(today.getTime() + 3600000*nDays);
 document.cookie = cookieName+"="+escape(cookieValue) + ";path=/;domain=.vs2.cn;expires="+expire.toGMTString();
}
function Get(namex){
  var cookieString = new String(document.cookie)
  var cookieHeader = namex + "="
  var beginPosition = cookieString.indexOf(cookieHeader)
  if (beginPosition != -1){
    cookieString = cookieString.substring(beginPosition + cookieHeader.length);
    if (cookieString.indexOf(";")>-1){
	 cookieString = cookieString.substring(0, cookieString.indexOf(";"));
    }
    return unescape(cookieString);
  }
  return "";
}
function getElement(aID)
{
  return (document.getElementById) ? document.getElementById(aID): document.all[aID];
}
function makeRequest(url){
  http_request=false;
  if(window.XMLHttpRequest){//Mozilla,Safari,...
     http_request=new XMLHttpRequest();
     if(http_request.overrideMimeType){
     http_request.overrideMimeType('text/xml');
   }
 }else if(window.ActiveXObject){//IE
   try{
   http_request=new ActiveXObject("Msxml2.XMLHTTP");
   }catch(e){
   try{
 		http_request=new ActiveXObject("Microsoft.XMLHTTP");
 	}catch(e){}
 	}
 }
 if(!http_request){
 	alert('Giving up:(Cannot create an XMLHTTP instance)');
 	return false;
 }
 return http_request;
}
function diggit(id)
{
	if (document.cookie)
	{
		var dugg = Get("newsdugg");
		if (dugg!="")
		{
			re = new RegExp("-" + id + "-", "ig");
			if (re.test(dugg))
			{
				re2 = new RegExp(id + "-", "ig");
				var c = dugg.replace(re2, "");
                SetCookie("newsdugg", c,1);
			}
			else
			{
                SetCookie("newsdugg", dugg + id + "-",1);
			}
		}
		else
		{
            SetCookie("newsdugg", "-" + id + "-",1);
		}
	}
    else
	{
		SetCookie("newsdugg", "-" + id + "-",1);
	}
	return true;
}
function flower(boardid,diggid){
    var url = "http://www.vs2.cn/ding/?t="+ boardid +"&id="+ diggid;
	var xhttp=makeRequest();
	xhttp.onreadystatechange=function(){
		if(xhttp.readyState == 4 && (xhttp.status==200 || window.location.href.indexOf("http")==-1))
		{		
				   getElement("span_"+diggid).innerHTML = xhttp.responseText; 
				   getElement("h_"+diggid).innerHTML = '¸ÐÐ»¹Ø×¢'; 
				   diggit(diggid);
		}
	}
	xhttp.open("GET",url,true);
	xhttp.send(null);
}
function hc(boardid,diggid){
    getElement("span_"+diggid).innerHTML = '<img src="/images/loading.gif" width="24" height="24" />';
    flower(boardid,diggid);
}



function ping(boardid,diggid,str3){
    var url = "/ding/ping.asp?t="+ boardid +"&id="+ diggid +"&o="+ str3 +"&"+ Math.random();
	var xhttp=makeRequest();
	xhttp.onreadystatechange=function(){
		if(xhttp.readyState == 4 && (xhttp.status==200 || window.location.href.indexOf("http")==-1))
		{
            var mm_retext = xhttp.responseText;
            var tempstr = mm_retext.split("|");
            
            if(tempstr.length!=2){
                alert("Error:"+mm_retext);
            }else{
                getElement("i_"+str3).innerHTML = tempstr[0];
                getElement("pinguser").innerHTML += "<a href='/"+ tempstr[1] +"' target=_blank><img src='/upfile/face/s_"+ tempstr[1] +".jpg' height=38 width=38 onerror=\"this.onerror=null;this.src='http://www.vs2.cn/images/s_userface.gif'\" /></a> "
            }
			
		}
	}
	xhttp.open("GET",url,true);
	xhttp.send(null);
}

	// -->
