日期:2014-05-16 浏览次数:20416 次
<script type="text/javascript">
function ins(insertStr)
{
var obj = document.getElementById("c_message_content")
if(document.all)
{
obj.focus();
var range = document.selection.createRange();
range.text=insertStr;
}
else if(obj.setSelectionRange){
var rangeStart = obj.selectionStart;
var rangeEnd = obj.selectionEnd;
var temp1 = obj.value.substring(0,rangeStart);
var temp2 = obj.value.substring(rangeEnd);
obj.value = temp1 + insertStr + temp2;
}
}
function ShowTR(obj){
//document.write(HiddenTR1);
//TargetTR=document.all("HiddenTR"+o);
/*if (document.getElementById("HiddenTR1").style.display=='none'){
document.getElementById("HiddenTR1").style.display='block';
}else{
document.getElementById("HiddenTR1").style.display='none';
}*/
var o1=document.getElementById("HiddenTR1")
var o2=document.getElementById("HiddenTR2")
if ((o1.style.display=='block')||(o2.style.display=='block')){
o1.style.display='none';
o2.style.display='none';
document.getElementById("Hiddentxt").innerHTML='';
}else{
o1.style.display='block';
document.getElementById("Hiddentxt").innerHTML='悠嘻猴';
}
//o.style.display=o.style.display=='none'?'block':'none';
obj.innerHTML=obj.innerHTML=='不显示发帖表情'?'显示发帖表情':'不显示发帖表情'
}
function ShowTR1(obj){
//document.write(HiddenTR1);
//TargetTR=document.all("HiddenTR"+o);
/*if (document.getElementById("HiddenTR1").style.display=='none'){
document.getElementById("HiddenTR1").style.display='block';
}else{
document.getElementById("HiddenTR1").style.display='none';
}*/
var o1=document.getElementById("HiddenTR1")
var o2=document.getElementById("HiddenTR2")
//alert("aaa");
if (o1.style.display=='block'){
o1.style.display='none';
o2.style.display='block';
}else if (o1.style.display=='none'){
o1.style.display='block';
o2.style.display='none';
}
//o.style.display=o.style.display=='none'?'block':'none';
obj.innerHTML=obj.innerHTML=='可爱猫'?'悠嘻猴':'可爱猫';
}
</script>