function techPanel(tid,ddwh){
	//var dta = document.getElementById(tid).getElementsByTagName('dt')[0].getElementsByTagName('a');
	//for(var i in dta){dta[i].index = i;dta[i].onmouseover = function(){sw(this,'on', this.index,'a','dd',false,'' );}}
	
	var dds = document.getElementById(tid).getElementsByTagName('dd');
	var ddah = 55;  // dd a 高度
	//var ddwh = '-215px';
	
	for(var i = 0;i < dds.length;i++ ){
		var ddas = dds[i].getElementsByTagName('a');
		for(var j = 0;j < ddas.length;j++){
			ddas[j].index = j;
			
			if( ddas[j].className == '') 
			ddas[j].style.backgroundPosition = ddwh + ' -' + j * ddah + 'px';
			
			ddas[j].onmouseover = function(){
				var tmpa = this.parentNode;
				tmpa = tmpa.getElementsByTagName('a');
				for(var k = 0;k < tmpa.length;k++) {
					tmpa[k].className = '';
					tmpa[k].style.backgroundPosition = ddwh + ' -' + k * ddah + 'px';
				}
				this.className = 'on';
				this.style.backgroundPosition = '0px ' + '-' + this.index * ddah + 'px';
				//document.title = '-' + this.index * ddah + 'px';
			}
			
		}
	}
}

function inits(){
	if( $('tm') ) techPanel('tm','-235px');   // 技术
	if( $('tw') ) techPanel('tw','-235px');   // 技术
}

DOMReady(inits);
