function jsWriteSwf(sId,sHtml){	//fix IE active control popup
	document.getElementById(sId).innerHTML=sHtml;
}
function jsPageHint(sHint){
	if(sHint){
		document.getElementById('page_hint').innerHTML=sHint;
	}else{			//add hint
		document.getElementById('page_hint').innerHTML='';
	}
}
function jsShowAddInfo(oEl){
	if(oEl.parentNode.nextSibling.style.display=='none'){
		oEl.parentNode.nextSibling.style.display='';
		oEl.setAttribute('class','arrow_down');
		oEl.nextSibling.setAttribute('class','border_left border_bottom');
		oEl.previousSibling.setAttribute('class','border_right border_bottom');
		if(document.all){
			oEl.setAttribute('className','arrow_down');
			oEl.nextSibling.setAttribute('className','border_left border_bottom');
			oEl.previousSibling.setAttribute('className','border_right border_bottom');
		}
		return true;
	}else{
		oEl.parentNode.nextSibling.style.display='none';
		oEl.setAttribute('class','arrow_right');
		oEl.nextSibling.setAttribute('class','border_left');
		oEl.previousSibling.setAttribute('class','border_right');
		if(document.all){
			oEl.setAttribute('className','arrow_right');
			oEl.nextSibling.setAttribute('className','border_left');
			oEl.previousSibling.setAttribute('className','border_right');
		}
		return false;
	}
}
function jsShowHide(sId){
	if(document.getElementById(sId)){
		if(document.getElementById(sId).style.display=='none'){
			document.getElementById(sId).style.display='';
			return true;
		}else{
			document.getElementById(sId).style.display='none';
			return false;
		}
	}
}
function jsTextarea(oEl){
	if(oEl.getAttribute('class')){
		oEl.removeAttribute('class');
		if(document.all){
			oEl.removeAttribute('className');
		}
	}else{
		oEl.setAttribute('class','cur');
		if(document.all){
			oEl.setAttribute('className','cur');
		}
	}
}
