$(document).ready(function(){
	var ajaxUrl = "/jh/read-html_exa.asp";
	var ajaxPostUrl = "/jh/read-html_post-exa.asp";
	var _newsID = $("#thisNewsID").text();
	var _sortID = $("#thisSortID").text();
	var _unitID = $("#thisUnitID").text();
	var _UID = $("#thisNewsUID").text();
	var _Title = $("#artibodyTitle").text();
	if(!$("meta[name='robots']").length>0){
		$("head").prepend("<meta name='robots' content='noarchive'>");
	}
	try{
	$("#I_hits").load(ajaxUrl+"?ac=getHitNum&id="+_newsID);		
	$.get(ajaxUrl+"?ac=getPLNum&id="+_newsID,function(i){
		$("#I_pl").html(i);
		$("#I_pl1").html(i);
	});
	$("#I_pl").load();		
	$("#I_1news").load(ajaxUrl+"?ac=getPrevNews&id="+_newsID+"&i_type=0&i_sort="+_sortID);		
	$("#I_2news").load(ajaxUrl+"?ac=getPrevNews&id="+_newsID+"&i_type=1&i_sort="+_sortID);		
	$.get(ajaxUrl+"?ac=getPlList&id="+_newsID+"&uid="+_UID+"&newsUnit="+_unitID,function(data){
		$("#I_plist").html(data);
	});
	
	//$("#I_plist").load(ajaxUrl+"?ac=getPlList&id="+_newsID+"&uid="+_UID+"&newsUnit="+_unitID);	
	$("#editOP").load(ajaxUrl+"?ac=getEHtml&id="+_newsID)
	
	//$.getScript("http://ad.hsq.gov.cn/ad.asp?i=1",function(data){
//		//$("#TopAD1").html(data);
//	});
	//$("#TopAD1").html("<iframe frameborder='0' marginheight='0' marginwidth='0' scrolling='no' width='766' height='90' src='http://218.22.219.100:106/IAA/iframe/hsqgov/TopAD1.html'></iframe>")
	//$("#TopAD2").html('<iframe frameborder="0" height="88" width="206" marginheight="0" marginwidth="0" scrolling="no" src="http://218.22.219.100:106/IAA/iframe/hsqgov/TopAD2.html"></iframe>');
	$("#plt").html('<iframe src="http://www.hsq.gov.cn/jh/JS_PlForm.asp?new_id='+_newsID+'&title='+_Title+'" width="600" height="220" frameborder="0" scrolling="no"></iframe>');
	//$("#RightAD1").html('<iframe frameborder="0" marginheight="0" marginwidth="0" scrolling="no" width="300" height="150" src="http://218.22.219.100:106/IAA/iframe/hsqgov/RightAD1.html"></iframe>');
	$("#RightPaiHang").html('<iframe src="http://218.22.219.100:106/IAA/iframe/hsqgov/RightPaiHang.html" width="300" height="266" frameborder="0" scrolling="no"></iframe>');
	$("#ZT").html('<iframe src="http://218.22.219.100:106/IAA/iframe/hsqgov/ZT.html" width="300" height="144" frameborder="0" scrolling="no"></iframe>');
	//$("#RightAD2").html('<iframe src="http://218.22.219.100:106/IAA/iframe/hsqgov/RightAD2.html" width="300" height="90" frameborder="0" scrolling="no"></iframe>');
	$("#PhotoArea").html('<iframe src="http://218.22.219.100:106/IAA/iframe/hsqgov/Photo.html" width="300" height="295" frameborder="0" scrolling="no"></iframe>');
	$("#RightPaiHangPL").html('<iframe src="http://218.22.219.100:106/IAA/iframe/hsqgov/RightPaiHangPL.html" width="300" height="263" frameborder="0" scrolling="no"></iframe>');
	}catch(e){}
});	
