// JavaScript Document
var myArray=new Array();
myArray[0]="<div class=\"logo\"><a href=\"http://www.cbf.net.au/\" target=\"_blank\"><img src=\"Logo/Mlogo1.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"http://climatecorp.com/\" target=\"_blank\"><img src=\"Logo/Mlogo2.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"http://www.interfax.cn/\" target=\"_blank\"><img src=\"Logo/Mlogo3.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"http://www.china5e.com/\" target=\"_blank\"><img src=\"Logo/Mlogo4.jpg\" border=\"0\" /></a></div>";
myArray[1]="<div class=\"logo\"><a href=\"http://www.chinahedge.com.cn/\" target=\"_blank\"><img src=\"Logo/Mlogo5.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"http://www.sbr.net.cn/\" target=\"_blank\"><img src=\"Logo/Mlogo6.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"http://www.pointcarbon.com/\" target=\"_blank\"><img src=\"Logo/Mlogo7.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"http://www.dowjones.com/\" target=\"_blank\"><img src=\"Logo/Mlogo8.jpg\" border=\"0\" /></a></div>";
myArray[2]="<div class=\"logo\"><a href=\"http://www.lexxion.eu/cclr/\" target=\"_blank\"><img src=\"Logo/Mlogo9.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"www.Carbonfreezone.com\" target=\"_blank\"><img src=\"Logo/Mlogo10.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"http://www.co2-china.com/index.asp\" target=\"_blank\"><img src=\"Logo/Mlogo11.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"http://www.eeo.com.cn/\" target=\"_blank\"><img src=\"Logo/Mlogo12.jpg\" border=\"0\" /></a></div>";
myArray[3]="<div class=\"logo\"><a href=\"http://www.nengyuan.net/\" target=\"_blank\"><img src=\"Logo/Mlogo13.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"http://www.86ne.com/\" target=\"_blank\"><img src=\"Logo/Mlogo15.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"http://www.118power.com/\" target=\"_blank\"><img src=\"Logo/Mlogo16.jpg\" border=\"0\" /></a></div><div class=\"logo\"><a href=\"http://www.businessweekchina.com/\" target=\"_blank\"><img src=\"Logo/Mlogo17.jpg\" border=\"0\" /></a></div>";
var kk=1;
function openUrl(url){
	var objxml;
	if(window.XMLHttpRequest){
	 	objxml=new XMLHttpRequest();
	}else{
		objxml=new ActiveXObject("Microsoft.XMLHTTP");
	}
	objxml.open("GET",url,false); 
	objxml.send(null); 
	retInfo=objxml.responseText; 
	if (objxml.status=="200"){ 
		return retInfo; 
	}else{ 
		return "-2"; 
	} 
}

function overdiv(value1){
	document.getElementById(value1).style.display="block";
}
function outdiv(value1){
	document.getElementById(value1).style.display="none";
}

function optionH(str,str2,str3){
	for(var i=1;i<=str2;i++){
		document.getElementById(str+"_"+i).className=str;
		document.getElementById("lineTbox_"+i).style.display="none";
	}
	document.getElementById(str+"_"+str3).className=str+"2";
	document.getElementById("lineTbox_"+str3).style.display="block";
}

function toUrl(str){
	 window.location.href=str;
}

function logoscoll(){
	 document.getElementById("logoscoll").innerHTML=myArray[kk];
	 kk++;
	 if(kk>=4){
		kk=0;	 
	}
}

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;
  }
 }
}
window.attachEvent("onload", correctPNG);