function changeContactType(urlPath, type,urltemp){
	        var alicontact = document.getElementById("alicontact");
	        var news = document.getElementById("news");
	        var alibuy = document.getElementById("alibuy");
	        var aliyijian = document.getElementById("aliyijian");
	        var aliwenhua = document.getElementById("aliwenhua");
	        var aliofyoojob = document.getElementById("aliofyoojob");
	        var url = "";
	        if(type == "contact"){
	             alicontact.className = "series_name";
	             news.className = "";
	             alibuy.className = "";
	             aliyijian.className = "";
	             aliwenhua.className = "";
	             aliofyoojob.className = "";
	             url = urlPath + "/show.do?method=showContactType&type="+type+"&date="+new Date().getTime();
	        }
	        if(type == "news"){
	             alicontact.className = "";
	             news.className = "series_name";
	             alibuy.className = "";
	             aliyijian.className = "";
	             aliwenhua.className = "";
	             aliofyoojob.className = "";
	             url = urlPath + "/show.do?method=showContactType&type="+type+"&date="+new Date().getTime();
	        }
	        if(type == "buy"){
	             alicontact.className = "";
	             news.className = "";
	             alibuy.className = "series_name";
	             aliyijian.className = "";
	             aliwenhua.className = "";
	             aliofyoojob.className = "";
	             url = urlPath + "/show.do?method=showContactType&type="+type+"&date="+new Date().getTime();
	        }
	        if(type == "yijian"){
	             alicontact.className = "";
	             news.className = "";
	             alibuy.className = "";
	             aliyijian.className = "series_name";
	             aliwenhua.className = "";
	             aliofyoojob.className = "";
	             url = urlPath + "/show.do?method=showContactType&type="+type+"&urltemp="+urltemp+"&date="+new Date().getTime();
	        }
	        if(type == "wenhua"){
	             alicontact.className = "";
	             news.className = "";
	             alibuy.className = "";
	             aliyijian.className = "";
	             aliwenhua.className = "series_name";
	             aliofyoojob.className = "";
	             url = urlPath + "/show.do?method=showContactType&type="+type+"&date="+new Date().getTime();
	        }
	        if(type == "ofyoojob"){
	             alicontact.className = "";
	             news.className = "";
	             alibuy.className = "";
	             aliyijian.className = "";
	             aliwenhua.className = "";
	             aliofyoojob.className = "series_name";
	             url = urlPath + "/show.do?method=showContactType&type="+type+"&date="+new Date().getTime();
	        }
	        
	        var contentDiv = document.getElementById("contentDiv");
	        new Ajax.Request(url,{method:'get',asynchronous:false,onSuccess:function(req){
			    contentDiv.innerHTML = req.responseText;
			}});
	    }


       function showNewInfo(urlPath, id){
    	   var newSubDiv = document.getElementById("newSubDiv");
    	   var url = urlPath + "/show.do?method=showNewInfo&id="+id+"&date="+new Date().getTime();
	        
	        new Ajax.Request(url,{method:'get',asynchronous:false,onSuccess:function(req){
	        	newSubDiv.innerHTML = req.responseText;
			}});
       }
       
       
       function changeNewsHtmlPageNext(urlPath, pageIndex, type){
    	    var contentDiv = document.getElementById("contentDiv");
	        var url = urlPath + "/show.do?method=showContactType&type="+type+"&pageIndex="+pageIndex+"&date="+new Date().getTime();
	        
	        new Ajax.Request(url,{method:'get',asynchronous:false,onSuccess:function(req){
			    contentDiv.innerHTML = req.responseText;
			}});
       }
