function getHotImage(){
		$.ajax({					
		    url:'sysInformationCommend9!getCommendImage.action?xmlname=indexfile.xml',
		    type:'post', //数据发送方式 
		    dataType: 'xml', 
		    data:'',  //要传递的数据 
		    //timeout: 2000,    //设置本地超时 .( 毫秒)
		    error: function(data){
		        alert('XML加载错误');
		    },
		    success: function(xml){
		    	var	tHtml	= "";
			   $(xml).find('indexcommend').find("index-hotImage").find('HOT_PIC').each(function(){
			   		
			   		tHtml	+= '<li><a href="'+$("imgpath",$(this)).text()+'" target="_blank"><img src="../../'+$("imgurl",$(this)).text()+'" width="126" height="73" /></a></li>';
			   		
			   });
			   $('#hotImage').html(tHtml);			   
			  }
		});
}
function getBeginImage(){
	$.ajax({					
		    url:'sysInformationCommend9!getCommendImage1.action?xmlname=indexfile.xml',
		    type:'post', //数据发送方式 
		    dataType: 'xml', 
		    data:'',  //要传递的数据 
		   // timeout: 2000,    //设置本地超时 .( 毫秒)
		    error: function(data){
		        alert('XML加载错误');
		    },
		    success: function(xml){
		    	var	tHtml	= "";
			   $(xml).find('indexcommend').find("activity-beginimage").find('BEGIN_PIC').each(function(){
			   
			   		//tHtml	+= '<a href="'+$("imgpath",$(this)).text()+'" target="_blank"><img src="'+$("imgurl",$(this)).text()+'" /></a>';
			   		tHtml	+= '<li class="hotadpic"><a href="'+$("imgpath",$(this)).text()+'" target="_blank"><img src="../../'+$("imgurl",$(this)).text()+'" /></a></li>';
					tHtml	+= '<li class=\"hotadempty\"></li>';
			   });
			   $('#beginImage').html(tHtml);			   
			  }
		});
}
function getEndImage(){
	$.ajax({					
		    url:'sysInformationCommend9!getCommendImage2.action?xmlname=indexfile.xml',
		    type:'post', //数据发送方式 
		    dataType: 'xml', 
		    data:'',  //要传递的数据 
		    //timeout: 2000,    //设置本地超时 .( 毫秒)
		    error: function(data){
		        alert('XML加载错误');
		    },
		    success: function(xml){
		    	var	tHtml	= "";
			   $(xml).find('indexcommend').find("activity-endimage").find('END_PIC').each(function(){
			   
			   		tHtml	+= '<li><a href="'+$("imgpath",$(this)).text()+'" target="_blank"><img src="'+$("imgurl",$(this)).text()+'" style="border:0px;"/></a></li>';
			   	
			   	});
			   $('#endImage').html(tHtml);			   
			  }
		});
}

/*function getEndImage(){
	$.ajax({					
		    url:'editheadImageAction!getCommendImage.action?xmlname=indexfile.xml',
		    type:'post', //数据发送方式 
		    dataType: 'xml', 
		    data:'',  //要传递的数据 
		    //timeout: 2000,    //设置本地超时 .( 毫秒)
		    error: function(data){
		        alert('XML加载错误');
		    },
		    success: function(xml){
		    	var	tHtml	= "";
			   $(xml).find('indexcommend').find("head-image").find('END_PIC').each(function(){
			   
			   		tHtml	+= '<a href="'+$("imgpath",$(this)).text()+'"><img src="'+$("imgurl",$(this)).text()+'" width="615" height="100" /></a>';
			   });
			   $('#headimage').html(tHtml);			   
			  }
		});
}*/
