var show=false;
window.onload  =function(){
	if(document.getElementById("more")==null){}
	else{
	var more=document.getElementById("more").nodeName; //获得节点名字
	var more=document.getElementById("more").firstChild.nodeValue;	//获得节点第一个子节点的值
		if(more.length<120) {
			show=true;
			//document.getElementById("show_hidde").innerHTML="";			
		} else {

			//document.getElementById("more").style.cssText=" height:40px; overflow: hidden;";
			show=false;
		}
	}
	
	
	if(document.getElementById("content")==null){}
	else{
	var more=document.getElementById("about_content").firstChild.nodeValue;	//获得节点第一个子节点的值
		if(more.length<160) {
			show=true;
			//document.getElementById("show_hidde").innerHTML="";			
		} else {

			//document.getElementById("more").style.cssText=" height:40px; overflow: hidden;";
			show=false;
		}
	}



};	

function show_hiddle(){
	if(!show){	
		document.getElementById("more").style.cssText=" height:auto; overflow:auto;";
		document.getElementById("show_hidde").innerHTML="隐藏";
		show=true;
	}
	else{
		document.getElementById("more").style.cssText=" height:40px; overflow: hidden;";
		document.getElementById("show_hidde").innerHTML="更多内容";				
		show=false;
	}
}



function $show_hiddle(){
	if(!show){	
		document.getElementById("about_content").style.cssText=" height:auto; overflow:auto;";
		document.getElementById("show_hidde_e").innerHTML="隐藏&gt;&gt;";
		show=true;
	}
	else{
		document.getElementById("about_content").style.cssText=" height:180px; overflow: hidden;";
		document.getElementById("show_hidde_e").innerHTML="更多内容&gt;&gt;";				
		show=false;
	}
}

function $show_hiddle_out(){
	if(show){	
		document.getElementById("show_hidde_e").innerHTML="更多内容&gt;&gt;";			
		document.getElementById("about_content").style.cssText=" height:180px; overflow: hidden";	
		show=false;
	}	
}
//				alert(document.getElementById("show_hidde").nodeName);
//				alert(document.getElementById("show_hidde").nodeType);
//				alert(document.getElementById("show_hidde"));
//alert(document.getElementById("show_hidde").childNodes.item(0).nodeName);
// JavaScript Document







var xmlHttp;
function createXMLHttpRequest() {
	if (window.ActiveXObject) {
		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
	else if (window.XMLHttpRequest) {
		xmlHttp= new XMLHttpRequest();
	}
}
function M_QQ_Count(){
		createXMLHttpRequest();	
		var url = '/js/M_QQ_Count.asp?id=mile'+'&time='+new Date().getTime();
		xmlHttp.onreadystatechange = updatePage;	
		xmlHttp.open("GET", url, true);
		xmlHttp.send(null);
}
function updatePage() {
	if (xmlHttp.readyState!= 4) {
	}
	else {
		if (xmlHttp.readyState == 4) {
			if (xmlHttp.status == 200) {
			}
		}
	}
}