IsVip = ""; SelfTab_SetUserVip(); SelfTab_ShowPicture(); function SelfTab_ShowPicture() { var str=""; var logourl ="http://logo1.tool.hexun.com/ddd722-150.jpg"; if( IsSelf ) { str = ""; } else { str=""; str+=""; } if(document.getElementById("master_ptoto_1")!=null) { document.getElementById("master_ptoto_1").innerHTML = str; } } function showSoundReplay() { //debugger; //alert(IsFriRela); mySoundDivHtml2 = document.getElementById("MySoundDivItem").innerHTML; var mySoundDivHtml = mySoundDivHtml2.replace('[回复]','');; var SoundInputDiv = "
"; //alert(!IsFriRela && !IsSelf); if (!IsFriRela && !IsSelf) { SoundInputDiv += "
验证码:\"验证码\"
"; SoundInputDiv += "
"; SoundInputDiv += "        看不清楚?
"; } SoundInputDiv += "
" + "  
"; document.getElementById("MySoundDivItem").innerHTML = mySoundDivHtml + SoundInputDiv; } function refreshCode_Sound() { //debugger; var pp= Math.round((Math.random()) * 100000000); document.getElementById("VerificationPic").src = "/manage/VCodePicManage.aspx?pp="+pp + "&userid=" + thisWathuserid; } function checkReplaySound() { //debugger; if (!IsFriRela && !IsSelf) { VerificationNum = document.getElementById("VerificationPic2").value; } else { VerificationNum = 0; } ReplayContent = "
----- 引用声音 -----
"+soundContent+"
" ; ReplayContent += document.getElementById("TxtContent").value; var inputContent = document.getElementById("TxtContent").value; if(inputContent==null||inputContent=="" || inputContent=="留言不能超过500字") { alert("内容不能为空!"); document.getElementById("TxtContent").focus(); document.getElementById("TxtContent").value=""; return; } if(ReplayContent.length >500) { alert("内容超过500字"); document.getElementById("TxtContent").focus(); return; } ReplayContent = ReplayContent.replace("=","="); SaveReplaySound(ReplayContent,loginUserID,loginUserName,ShowUserId,VerificationNum); } function DialogClose() { document.getElementById("ReplySoundDiv").style.visibility='hidden'; window.location.reload(); } function DialogClose2() { ///alert(document.getElementById("MySoundDivItem").innerHTML); document.getElementById("MySoundDivItem").innerHTML = mySoundDivHtml2; }