function correctPNG()  
{ 
	for(var i=0; i<document.images.length; i++) 
	{ 
	   var img = document.images[i] 
	   var imgName = img.src.toUpperCase() 
	   if (imgName.substring(imgName.length-3, imgName.length) == "PNG") 
	   { 
	   var imgID = (img.id) ? "id='" + img.id + "' " : "" 
	   var imgClass = (img.className) ? "class='" + img.className + "' " : ""
	   var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' " 
	   var imgStyle = "display:inline-block;" + img.style.cssText  
	   if (img.align == "left") imgStyle = "float:left;" + imgStyle 
	   if (img.align == "right") imgStyle = "float:right;" + imgStyle 
	   if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle   
	   var strNewHTML = "<span " + imgID + imgClass + imgTitle 
	   + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";" 
	   + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" 
	   + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"  
	   img.outerHTML = strNewHTML 
	   i = i-1 
	   } 
	} 
} 
function createXmlHttpRequest()
{
	var $http_request = null;
	if(window.XMLHttpRequest) { 
		http_request = new XMLHttpRequest();
		if (http_request.overrideMimeType) {
			http_request.overrideMimeType('text/xml');
		}
	}
	else if (window.ActiveXObject) { 
		try {
			http_request = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
			http_request = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e) {}
		}
	}
	if (!http_request) { 
		return false;
	}
	return http_request;
}
function tagOver(a){
	clearTimeout(fodTime);
	fodTime=0;
	fodTime = setTimeout(function(){swTabs(a)},100);
	if(a.id=="defTail"){
		$("map").className="undis";
	}
	if(a.id=="tailorxxx"&&$("map").innerHTML==""){
		setTimeout(function(){loadNewsMap();},300);}
	}
function tagOut(a){clearTimeout(fodTime);fodTime=0;}
function loadJincaiList(){
	var url = "/includes/col_right.php?id=1";
	url += "&temp="+Math.random();
	var xmlHttp = createXmlHttpRequest();
	xmlHttp.onreadystatechange = function(){
		if (xmlHttp.readyState == 4) {
			if (xmlHttp.status == 200) {
				document.getElementById("jincailist").innerHTML = xmlHttp.responseText;
			}
		}
	}
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
}
function loadRedianlList(){
	var url = "/includes/col_right.php?id=2";
	url += "&temp="+Math.random();
	var xmlHttp = createXmlHttpRequest();
	xmlHttp.onreadystatechange = function(){
		if (xmlHttp.readyState == 4) {
			if (xmlHttp.status == 200) {
				document.getElementById("redianlist").innerHTML = xmlHttp.responseText;
			}
		}
	}
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
}
function loadXiangguanList(level){
	var url = "/includes/col_right.php?id=3";
	var new_id = document.getElementById("new_id").value;
	url += "&new_id=" + new_id + "&temp="+Math.random();
	var xmlHttp = createXmlHttpRequest();
	xmlHttp.onreadystatechange = function(){
		if (xmlHttp.readyState == 4) {
			if (xmlHttp.status == 200) {
				document.getElementById("xiangguanlist").innerHTML = xmlHttp.responseText;
			}
		}
	}
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
}
function loadJsContent(){
	loadJincaiList();
	loadRedianlList();
	loadXiangguanList();
}
function startSearch(){
	alert('a');
	document.news_search.submit();
}