{ return SetFocus(); } function SetFocus() { if (window.event.keyCode == "13") return false; } function onSubmitCompose(c) { if (c==1||c==2) { if (window.richedit.getBGColor() != "") document.composeform.RTEbgcolor.value = window.richedit.getBGColor(); else if (document.composeform.RTEbgcolor.value != "") window.richedit.setBGColor(document.composeform.RTEbgcolor.value) if (c==1) { frm.body.value = "" + "
" + window.richedit.getHTML() + "
" } else frm.body.value = "" + window.richedit.getHTML() + "" } else frm.body.value = window.richedit.getText(); frm.plaintext.value = window.richedit.getText(); } function RTELoaded(w) { w.setToolbar("tbmode",false) w.setToolbar("tbimage",false) w.setToolbar("tbtable",false) w.setSkin("#idToolbar {border: 1px black solid; background:#EEEEEE}") if (frm.RTEbgcolor.value != "") { w.setBGColor(frm.RTEbgcolor.value); } Ued(); FTF(); if (document.composeform && document.composeform.RTEbgcolor.value != "") window.richedit.setBGColor(document.composeform.RTEbgcolor.value); window.richedit.setFocus(); } function Ued() { plaintext = '



' + frm.body.value; if (plaintext.search(//) == 0) window.richedit.setHTML("
" + plaintext + "
"); else window.richedit.setHTML("
" + plaintext.replace(/\n/g, "
")); frm.body.style.visibility='hidden'; document.all.richedit.style.visibility = 'visible'; window.richedit.setFocus() } var qF = "to"; function setIt(H){qF=H;} function MIT(qaName){ var qL = frm.elements[qaName].value; if (frm.elements[qF].value.length == 0 || frm.elements[qF].value.indexOf(qL) == -1) { if (frm.elements[qF].value.length != 0 && frm.elements[qF].value.charAt(frm.elements[qF].value.length - 1) != ",") frm.elements[qF].value += ","; frm.elements[qF].value += qL; } } function GAWO(toccbcc){ var url = "/cgi-bin/quiklist?curmbox=F000000001&a=be0cf647ccedab40f499d77d2157e19c&fromcompose=1&where=all"; url += "&to="+escape(frm.to.value)+"&cc="+escape(frm.cc.value)+"&bcc="+escape(frm.bcc.value); var hWnd = window.open(url,"","width=475,height=345,resizable=yes,status=yes,scrollbars=yes"); if ((document.window != null) && (!hWnd.opener)) hWnd.opener = document.window; } function EAWO(richTextFlag){ onSubmitCompose(1); var url = "/cgi-bin/quiklist?curmbox=F000000001&a=be0cf647ccedab40f499d77d2157e19c&from=compose&richtextyes="+richTextFlag; var qWnd = window.open(url,"","width=475,height=250,resizable=yes,status=yes,scrollbars=yes"); if ((document.window != null) && (!qWnd.opener)) qWnd.opener = document.window; qWnd.focus(); } frm.sigflag.value = ''; document.hiddentext.sigtext.value = '';
Send...
Send a Greeting Card
Send a Gift Certificate
Send Money
go to MSN
MSN Home Hotmail Web Search Shopping Money People & Chat Sign out
of Passport sites
© 2001 Microsoft Corporation. All rights reserved. TERMS OF USE TRUSTe Approved Privacy Statement