var isIE = true;
if (navigator.appName!="Microsoft Internet Explorer") {
isIE = false;
}
var glb_strKey2="";//View 页面
var glb_strKey_Board="";//罗列版面
var glb_strKey_Head="";//罗列导航
var lngSearchCount=0;
var glb_strListKey2="";//记录关键字
var strSearchType="";//搜索类型
function VoteFromFlash(strTmp){
var strSplit=strTmp.split(",");
Vote(parseFloat(strSplit[1]),strSplit[0])
}
function Vote(ID,strKey){
if (confirm("你投票给ID="+ID+"的帖子,为"+strKey+"吗?")){
document.getElementById('PostVoteKey').value=strKey;
document.getElementById('PostVoteID').value=ID;
document.getElementById('PostVote').submit();
document.getElementById('SearchTip').innerHTML=
'
\
'
+'你的投票为:'+strKey+'! (每个人只能投1票,更新帖子后会更新)'
+' |
';
setTimeout("document.getElementById('SearchTip').innerHTML=''",5000);
}
}
var glb_lngType=0;
function Before_Submit(strKey,lngType,strSkin){
On_Submit(strKey,lngType,strSkin);
return false;
}
function On_Submit(strKey,lngType,strSkin){
////////////////////////////////////////////////
document.getElementById("SearchTip").innerHTML=""
+""
+""
+""
+"搜索中…"
+" | "
+"
"
+"
";
lngSearchCount+=1;
glb_lngType=lngType;
if (!strSkin) strSkin="";
var strSplit =strKey.split(" ");
var strKey1="";
glb_strKey2="";
for (var i=0;i阅 ');
}
Tag_Save(strID,"","",strTime);
}
function Check_If_Reply(strID,strCount){
if (strID!='$[ID]$')
{
if (parseFloat(strCount)>1) {
document.write('当前帖子有:'+(parseFloat(strCount)-1)+'个回帖,点这展开 ');
}
}
}
function myFlash_DoFSCommand(command, args) {
alert(command);
var myFlashObj = InternetExplorer ? myFlash : document.myFlash;
switch(command){
case 'open':
window.open(args.split(',')[0],args.split(',')[1]);
break;
default:
break;
}
}