function seaFuncTypecust(activeKey,activeurl,activeurl2,no,no1,no2,no3,no4,no5,no6,blogid) { if (activeKey == "URL") { activeKey = 'index.php?fn='+activeurl+''; if (activeurl2 != "") { activeKey = activeKey+'&fn1='+activeurl2+''; } if (no != "") { activeKey = activeKey+'&no='+no+''; } if (no1 != "") { activeKey = activeKey+'&no1='+no1+''; } if (no2 != "") { activeKey = activeKey+'&no2='+no2+''; } if (no3 != "") { activeKey = activeKey+'&no3='+no3+''; } if (no4 != "") { activeKey = activeKey+'&no4='+no4+''; } if (no5 != "") { activeKey = activeKey+'&no5='+no5+''; } if (no6 != "") { activeKey = activeKey+'&no6='+no6+''; } if (blogid != "") { activeKey = activeKey+'&blogid='+blogid+''; } window.location.href= activeKey; } if (activeKey == "LOGA") { document.loginform.no4.value='A'; document.loginform.submit(); } if (activeKey == "LOGB") { document.loginform.no4.value='B'; document.loginform.submit(); } if (activeKey == "PRINT") { MM_openBrWindow('httppagec/lighting_print.php?fn=lighting&fn1=print&no2=MODIFY&no1='+document.news_post.no1.value+'&no3='+document.news_post.no3.value+'&no='+document.news_post.no.value+'&no4='+document.news_post.no4.value+'&no5='+document.news_post.no5.value+'&no6='+document.news_post.no6.value+'','','width=660,height=668,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes') } } function DoInstantMessage(person,screen){ try{ if(confirm("您要在您的聯絡人清單加入 "+screen)==true)MsgrObj.AddContact(0,person); if(confirm("您要傳送立即訊息給 "+screen)==true)MsgrObj.InstantMessage(person); }catch(e){ alert("在開啟MSN Messenger 時發生錯誤! 請確認您有安裝 MSN Messenger 並且已經登入。nnError Code: "+e.number); } } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function check1() { if(document.selform.no3.value == "----關鍵字----") { document.selform.no3.focus(); document.selform.no3.value = ""; return flag = "F"; } }