// JavaScript Document
tdHover = function() {
	//get tables in content block
	var tables = document.getElementById("content-block").getElementsByTagName("table");
	for(var j=0;j< tables.length;j++){
		//if they have tooltip class add hover beviour for ie
		 if(tables[j].className.match('tdtooltip')){
			var tdEls = 'els' + j;
			tdEls = tables[j].getElementsByTagName("td");
			for (var i=0; i<tdEls.length; i++) {
				tdEls[i].onmouseover=function() {
					this.className +=" tdhover";
				}
				tdEls[i].onmouseout=function() {
					this.className=this.className.replace(new RegExp("tdhover\\b"), "");
			   }
			}
		 }
	}
}

if (window.attachEvent) {window.attachEvent("onload", tdHover);}
// document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"/climate/cdo/styles/tooltip.css\" />");



