Currenly chatting with my bhestieh! Karrie! ahaha. Haaay. I miss her so much na. Tagal na naming di nag sasama and stuffs. Were talking bout the past. And our boyfies. Hahahahaha. joke. xa lang meron. ahihihi..
Grrr. Time is sooo fast talaga. Di ko man lang namalayan na ganyan at ganyan na pala. Like kanna.. I thought it was just 12 something. Tas 5 na pala. Weird db? Haaay. Parang kailan lang.. Raar. Ayaw ko xang mawala. Swear. Tsk tsk. Haaay. its already 12:30.. Di parin tulog. Di ka makatulog eh. Don't know why. Haaay.
Ahaha. Ala lang. I just miss the good times with her. Ehehe. Haaay. Solid. Nanjan parin kami para sa isa't even through the bad times and good times. Walang iwanan. Like dati. Lagi nalang silang dalawa. As in solid. Theyre always together. Pero buti nalang ngaun, iba na. Ahihi.. Pero ewan ko lang ngaun. Haaay..
Note: I don't care kung makita ng girl to. I mean ung napag usapan namin. Totoo naman kasi eh, db? Ahihihi..
*Sester Cornicks*: andyan ka ba??haha
Tawny:
*Sester Cornicks*: buti nlang
*Sester Cornicks*: shet wala akong kausap
Tawny:
Tawny: kanna pa ako online.
Tawny: i mean kagabi pa.
*Sester Cornicks*:
*Sester Cornicks*: hala
*Sester Cornicks*: hahahahaha
*Sester Cornicks*: ang drama ng ni czara eh
Tawny: di kasi ako nka tulog.
*Sester Cornicks*: kasi aalis na xa
Tawny: bakit?
Tawny: aaah.
Tawny: oo nga.
*Sester Cornicks*: haha
Tawny: tsk tsk.
*Sester Cornicks*: nakita ko na yung myspace nung girl na pic ni gama
*Sester Cornicks*: tapos nagOL saglit sabay out kagad
*Sester Cornicks*: pinansin ko xa pero di nagreply
Tawny: os?
Tawny: pano mo lam na invi?
*Sester Cornicks*: oo
*Sester Cornicks*: sabi ni joseph
*Sester Cornicks*: kasi knausap daw xa
Tawny: os???
Tawny:
*Sester Cornicks*: oo
*Sester Cornicks*:
*Sester Cornicks*: ok lang
*Sester Cornicks*: haha
Tawny: hhmm..
Tawny: sana dumating ung time na marealize nia na your worth it. ikaw na ung kailangan nia at lahat kaya di na xa kailangan maghanap pa ng iba.
*Sester Cornicks*: oh shet man
*Sester Cornicks*: ang lalim
*Sester Cornicks*: nalulunod ako
*Sester Cornicks*:
Tawny:
Tawny:
*Sester Cornicks*: aawww
Tawny: pero sana nga mangyari un. para maging happy ka na.
*Sester Cornicks*: aawww
*Sester Cornicks*: haaaay
*Sester Cornicks*: buti ka pa mahal ka na ni mike
*Sester Cornicks*:
Tawny:
Tawny: mamahalin ka din naman siguro ni gama. di pa nia lang kasi talaga narrealize na ikaw ung hinahanap nia.
*Sester Cornicks*: aawww
*Sester Cornicks*: tawnee naman eh
*Sester Cornicks*: haaay
Tawny:
*Sester Cornicks*: sana maging happy ka na din..kahit wag na ko..basta happy kayo..
*Sester Cornicks*: omg ang galing nung ginawa mo na pic sa myspace mo
*Sester Cornicks*: haha
Tawny: rrr. kahit na. alam mo naman na kahit happy kami, tas sad ka. di pa kami complete happy. kasi you're one of the people who makes me/us reallu really happy.
Tawny: rrr.
Tawny: di ko xa naintindihan
*Sester Cornicks*: hinde..ok lang kasi pag happy kau happy na din ako
*Sester Cornicks*: amp laftrip lolo ko
*Sester Cornicks*:
Tawny: happy ka nga. pero di naman talga ung happyng happy.
Tawny: haaay.
Tawny: bakit?
*Sester Cornicks*: hahahaha
*Sester Cornicks*: happyng happy na ko nun
*Sester Cornicks*:
*Sester Cornicks*: laftrip tlaga
Tawny:
*Sester Cornicks*: sabi niya jollibee
*Sester Cornicks*: imbis na jullibee
*Sester Cornicks*: tapos nagjapanese xa
*Sester Cornicks*: sabi niya harikato
Tawny:
Tawny:
Tawny:
*Sester Cornicks*:
*Sester Cornicks*:
Tawny: harikot. kunichiwa.
*Sester Cornicks*:
*Sester Cornicks*:
Tawny:
*Sester Cornicks*: tapos nandito yung anak niyang 7 yrs old.
Tawny: os???
Tawny:
Tawny: tang ina yan.
Tawny:
*Sester Cornicks*: oo
*Sester Cornicks*:
Tawny: AUNTIE mo oh.
*Sester Cornicks*: o nga eh..
Tawny:
Tawny: tae
Tawny: bata.
Tawny: lolo mo kasi. lakas sa chiqs.
*Sester Cornicks*: amp
*Sester Cornicks*:
*Sester Cornicks*:
*Sester Cornicks*:
Tawny: =)
Tawny:
Tawny:
Tawny: tang ina.
Tawny: nagka anak tuloy ulit.
*Sester Cornicks*:
*Sester Cornicks*:
*Sester Cornicks*:
Tawny:
Tawny:
Tawny:
Tawny: tae.
*Sester Cornicks*:
Tawny: ang galing naman ng lolo mo.
*Sester Cornicks*:
*Sester Cornicks*:
*Sester Cornicks*:
*Sester Cornicks*: i pity her child
*Sester Cornicks*: matanda na tatay niya
*Sester Cornicks*: di xa makakalabas
*Sester Cornicks*:
Tawny:
Tawny: di na makakapunta sa graduation ng anak nia.
*Sester Cornicks*: hala
*Sester Cornicks*:
Tawny:
Tawny: ilang taon na ba ulit lolo mo? =)
Tawny:
*Sester Cornicks*: ewan ko skanya
*Sester Cornicks*:
*Sester Cornicks*: lolo mo ilan??
Tawny: 70+?
*Sester Cornicks*: siguro
*Sester Cornicks*: ganun din xa
Tawny:
*Sester Cornicks*:
*Sester Cornicks*: sakit na ng tyan ko..hahhahaha
Tawny:
Tawny: punta tau jullibee!
Tawny: kunichiwa!
Tawny:
*Sester Cornicks*:
*Sester Cornicks*: amp mali
*Sester Cornicks*: sabi niya JOLLIBEE
*Sester Cornicks*: imbis na julibee
*Sester Cornicks*:
*Sester Cornicks*:
*Sester Cornicks*: harikato
Tawny: aah.
Tawny: anong julibee?
Tawny:
*Sester Cornicks*: parang jo-libee
Tawny:
*Sester Cornicks*: taena diba
Tawny: harikot.
*Sester Cornicks*: pag prinonounce mo yung jollibee magiging jullibee
Tawny:
*Sester Cornicks*: pero yung pagkakasabi niya JOLLIBEE
*Sester Cornicks*:
Tawny:
*Sester Cornicks*: harikato
Tawny: harikot.
Tawny: weird.
Tawny:
Tawny:
*Sester Cornicks*:
*Sester Cornicks*: hahahahhaa
Tawny: harikato.
*Sester Cornicks*: kasi hapon kausap niya
*Sester Cornicks*: harikato
Tawny:
*Sester Cornicks*:
Tawny: Roy April 6, 2006 4:33 AM I love those strawberry twins… it seems very yummy. hehehe!
*Sester Cornicks*: anu yan??
*Sester Cornicks*: aok
*Sester Cornicks*:
*Sester Cornicks*: gets ko
*Sester Cornicks*:
*Sester Cornicks*:
Tawny: comment dun kat snow white.
Tawny:
*Sester Cornicks*: yuck
Tawny: kay*
Tawny:
*Sester Cornicks*: kaya nga eh
*Sester Cornicks*:
Tawny: Roy April 6, 2006 4:33 AM You're really hot honey and a nice boobs, love to touch it with feelings!
*Sester Cornicks*: puta para tlagang slutty na ewan
Tawny: =__
Tawny:
*Sester Cornicks*:
Tawny: yuck.
*Sester Cornicks*: ahahhaha
Tawny:
*Sester Cornicks*: kahapon ko pa nga yun tinitignan eh
Tawny: ok lang na mag comment sakania ang mga lalaki ngganyan.
*Sester Cornicks*:
*Sester Cornicks*:
Tawny: March 31, 2006 11:02 PM am i lookin at yah... nahhhhh ... i am starin' @ yah... never even a blink... im gonna loose 4 yah... baka mkuha ka pa sakin ng iba eh... tke cre sweetie
Tawny: sobrang adic.
*Sester Cornicks*: yah nga eh
*Sester Cornicks*: comment ka nga skin
Tawny:
Tawny: w8 lang.
*Sester Cornicks*:
*Sester Cornicks*: ahahha
Tawny: gumagana ba friendster mo?
*Sester Cornicks*: oo
*Sester Cornicks*: w8 lang
*Sester Cornicks*: ang bagal kasi eh
Tawny: hmmmmmmmm.......e2 ang pnaka clOse kOh sa KATAW kc supeeeeeeer bait ciA and rily fun 2 be with....nOOn akala kOh d cia madaldal perO grabe pOh ang kabaliwan ni2ng lOka-lOkang cute.....lam mO cute ka nman tlga eh...perO mas cute akO sau jOke!!!Ü kala nio ba na e2 ang quiet type of gurl...perO pag clOse na kau nyan matutuklasan nio ang 22ong attitude nyan!!!!Ü bsta e2 ay super helpful na taO...hypEr at hUmble....Ü sna lng ung mga cnabi kOh sau ay wag mong ikalat sa iba....Ü wla akOng ma say sa pic mO hanep!!!!gnda ah!!!!nxt tym kailangan pic na ntin nandyan ah!!!!juZ wannA say sOri sa lhat!!!!lalO na kpag ikaW ung cnicc kO sa mga prOblems ko sa wlngkwentAng lyf....
Tawny: thannxxx tlga prumiz supeeeeer bait mO ksO lng mas bait me saU eh...Ü jOke bsta gudluck kay 103 mO.....sna d mO kO 4get khit na lpat na kO or ikaw.......i OwE u my lyf ur the best!!!!!Ü i'll never 4get our kabaliwan and kalibOgan...Ühehe.....sna mging champiOn na c jOhn cena sa wrestling....Ü(kilig ka nOh??!!)bsta olweiz remember im hir 4 u khit na mlapit na kOng mamatay....Ü tnxx tlga!!!!Ü olweizzzz ynnnnnggggggggaaaaaaatttzzzzzzzz and gOd bless!!!!Ü wOrd lyf!!!!Ü <<<*ayyyyyyyaaaaaaaaabbbbbbyyyyuuu*>>> very much!!!!!!Ü mwwwwwwwaaaaahhhhhhhhhgggggggzzzz!!!!Ü wakantutz-kikataw 4ever!!!!!ÜÜÜÜÜÜÜÜÜ
*Sester Cornicks*:
Tawny: thannxxx tlga prumiz supeeeeer bait mO ksO lng mas bait me saU eh...Ü jOke bsta gudluck kay 103 mO.....sna d mO kO 4get khit na lpat na kO or ikaw.......i OwE u my lyf ur the best!!!!!Ü i'll never 4get our kabaliwan and kalibOgan...Ühehe.....sna mging champiOn na c jOhn cena sa wrestling....Ü(kilig ka nOh??!!)bsta olweiz remember im hir 4 u khit na mlapit na kOng mamatay....Ü tnxx tlga!!!!Ü olweizzzz ynnnnnggggggggaaaaaaatttzzzzzzzz and gOd bless!!!!Ü wOrd lyf!!!!Ü <<<*ayyyyyyyaaaaaaaaabbbbbbyyyyuuu*>>> very much!!!!!!Ü mwwwwwwwaaaaahhhhhhhhhgggggggzzzz!!!!Ü wakantutz-kikataw 4ever!!!!!ÜÜÜÜÜÜÜÜÜ
Tawny: aaaww
Tawny: kikataw.
*Sester Cornicks*: hehe
Tawny:
*Sester Cornicks*:
*Sester Cornicks*: wakantutz
Tawny: e2 ang pnaka clOse kOh sa KATAW kc supeeeeeeer bait ciA and rily fun 2 be with....
Tawny: xempre 3 lang naman tau. 0
*Sester Cornicks*:
Tawny: oo nga.
Tawny:
*Sester Cornicks*: oo nga eh
Tawny: ano ba ibg sabhn nun ulit
*Sester Cornicks*: tanga ko amp=-))
*Sester Cornicks*: *
Tawny: ok lang yan. ako rin namn eh.
*Sester Cornicks*: walang ka.......
*Sester Cornicks*:
Tawny: =)0
Tawny:
Tawny:
Tawny:
Tawny: praning!
*Sester Cornicks*: gaga
*Sester Cornicks*: joke lang
*Sester Cornicks*: hahahahha
*Sester Cornicks*: expression lang
*Sester Cornicks*:
Tawny:
Tawny:
Tawny: oo nga.
*Sester Cornicks*:
Tawny: pauso nio ni mikki.
Tawny:
Tawny: sna lng ung mga cnabi kOh sau ay wag mong ikalat sa iba....Ü
*Sester Cornicks*: kausap ko xa sa fone from quarter to 12 to 2
*Sester Cornicks*: ]
Tawny: wow.
*Sester Cornicks*:
Tawny: bat nga ba tau nagalit nun sakin?
Tawny: sakania*
Tawny:
*Sester Cornicks*: kasi maxado na xang close sa iba
Tawny: aaah!
*Sester Cornicks*: tapos marame pa
Tawny: tas pinagppalit nia tau sa boyfie nia.
Tawny: ung iniwan tau!!!
Tawny: tas..
Tawny: rr
*Sester Cornicks*:
Tawny: un na un.
*Sester Cornicks*: oo nga eh
*Sester Cornicks*: basta nagdrama tlaga xa
Tawny:
Tawny: alala ko nun
Tawny: bsta parang
Tawny: ewan ko kung
Tawny: kannong
Tawny: manila paper un
Tawny: pero
Tawny: basta nagsulat ako dun
Tawny: tas
*Sester Cornicks*: akin
Tawny: alam ko nilagay ko dun kikataw forever.
Tawny: tas un
Tawny: nagalit xa
Tawny: chuchu
*Sester Cornicks*: oo nga eh
Tawny: kinausap nia ako and stuffs.
*Sester Cornicks*: nasa akin parin yun eh
Tawny: basta asar na asar xa.
*Sester Cornicks*:
Tawny:
Tawny: os????
Tawny: tae ka.
Tawny: nxt tym kailangan pic na ntin nandyan ah!!!! <---- natupad na ung sinabi mo. halos mapuno na nga computer ko sa sobrang dami ng pics natin eh.
Tawny: i'll never 4get our kabaliwan and kalibOgan....Ü
*Sester Cornicks*:
Tawny: tang inang kalibogan yan.
*Sester Cornicks*:
*Sester Cornicks*:
Tawny:
Tawny:
Tawny: tae.
Tawny: may plest club pa tau.
Tawny: sna mging champiOn na c jOhn cena sa wrestling....Ü
Tawny: adok sa wwe.
Tawny: bsta olweiz remember im hir 4 u khit na mlapit na kOng mamatay....Ü <---- di totoo yan. di ka pde mawala. di pa pede mabawasan ang mga baliw dito no.
Tawny: <<<*ayyyyyyyaaaaaaaaabbbbbbyyyyuuu*>>>
Tawny:
Tawny: kay mikki.
Tawny: *
Tawny: tae
Tawny: nanjan ka pa ba?
*Sester Cornicks*: haha
Tawny: tae
Tawny: bat ka nawala?
*Sester Cornicks*: ikaw nga yung nawala eh
Tawny: ikaw kaya???
Tawny:
Tawny: kanna pa ako buzz ng buzz
Tawny:
*Sester Cornicks*: ikaw
*Sester Cornicks*: ako nga yung nagbuzz eh
*Sester Cornicks*:
Tawny: os!?!?
Tawny: my golay.
Tawny: ako rin eh.
*Sester Cornicks*:
*Sester Cornicks*: hahahaahhaha
*Sester Cornicks*:
*Sester Cornicks*: lamu ba
*Sester Cornicks*: diba pic ni gama dati si snow white
Tawny: oo
*Sester Cornicks*: tapos bigla niyang pinalitan nung nagcomment ako
Tawny: os???
Tawny: ano ba sabi mo dun sa comment???
*Sester Cornicks*: oo
*Sester Cornicks*: haha sabi ko girlfriend?? hehe
Tawny: aaww
Tawny:
Tawny: *
*Sester Cornicks*: hehe
*Sester Cornicks*:
Tawny: rrr..
*Sester Cornicks*: raaaaar
Tawny: haaay.
Tawny:
Tawny: di pa ako nattulog.
*Sester Cornicks*: hala
*Sester Cornicks*: since khapon??
Tawny: oo.
Tawny: di ako makatulog eh.
*Sester Cornicks*: hala
Tawny: hahaha
Tawny: so un.
Tawny: nood lang ako ng rumor has it.
Tawny: chaka garfield. :
Tawny:
Tawny: hahaha
*Sester Cornicks*: aawww
Tawny: napanood mo na ba ung rumor has it?
*Sester Cornicks*: di pa eh
Tawny:
Tawny: sweet xa. super.
*Sester Cornicks*: haha
Tawny: pero may pagka baboy na ewan.
*Sester Cornicks*: hahahha
Tawny: gumagana ba friendster mo?
*Sester Cornicks*: uu
*Sester Cornicks*: yup
Tawny:
Tawny: waaahh
Tawny:
Tawny: akin hindi.
*Sester Cornicks*:
Tawny: tae.
*Sester Cornicks*: aawww
Tawny: tsk tsk.
Tawny: rrr.
*Sester Cornicks*: ako naman punta dyan
Tawny:
Tawny: sige.
*Sester Cornicks*:
*Sester Cornicks*: hahahhahaha
*Sester Cornicks*: binigyan pa naman kita ng testi
Tawny: os?
Tawny:
Tawny: waaah
Tawny: rrr
Tawny: gusto ko pa naman mag drama sa testi.
*Sester Cornicks*: hahahhaa
*Sester Cornicks*: ngek di ka naman panget dun eh
Tawny:
Tawny: oo kaya.
*Sester Cornicks*: di kayaaaaaaa
Tawny: oo kaya.
*Sester Cornicks*: di naman eh..
*Sester Cornicks*: amp
Tawny: bakit?
*Sester Cornicks*: sabi ng kuya ko magmano daw ako dun sa anak ng lolo ko
Tawny:
Tawny:
Tawny:
Tawny:
Tawny: auntie monaman eh!
Tawny:
Tawny:
*Sester Cornicks*:
*Sester Cornicks*: yak
*Sester Cornicks*:
Tawny:
Tawny:
Tawny:
Tawny: auntie na bata.
*Sester Cornicks*: hahahahaha
*Sester Cornicks*: hahaha
Tawny:
*Sester Cornicks*: taena tawmee
*Sester Cornicks*: tawnee*
*Sester Cornicks*: magdadalawang taon na fone ko..bulok na xa
Tawny:
Tawny: ok lang yan
Tawny: atleast may fone pa db.
*Sester Cornicks*: kahit na..
*Sester Cornicks*: haha
*Sester Cornicks*: ancient na xa
Tawny: kung nasakin pa fone ko ngaun, rrrr. ok lang. kahit 10 taon pa xa. ok lang.
*Sester Cornicks*: aawww
Tawny: ganun ko ka mahal ung gagang un.
Tawny: kaso nga lang.
*Sester Cornicks*: aawww
Tawny: kinuha xa ng masasmang tao.
Tawny: rrr!!!
Tawny: makarma sana xa!!!
*Sester Cornicks*:
*Sester Cornicks*: makakarma din yun
Tawny: sana nga
Tawny: tae
*Sester Cornicks*: amp
Tawny: ???
*Sester Cornicks*: miss ko na yung kasabawan particles with you sa jupiter!!
*Sester Cornicks*: haha
Tawny:
Tawny: ako nga rin eh.
");
}
}
function $HandleIMVNotify(text){
var c=true;
if(IMV&&IMV.HandleIMVNotify)c=IMV.HandleIMVNotify(text);
if(c){
if(document.all.$imvnotify)RemoveHTML($imvnotify);
if(text!="")Insert("
"+text+"
");
}
}
function $HandleBuzz(text,mode){
var c=true;
if(IMV&&IMV.HandleBuzz)c=IMV.HandleBuzz(text,mode);
if(c){
InsertInline("
"+text+"
");
Buzz("");
}
}
function $HandleAudible(n,obj_id,aud_id,tooltip,caption,base,file,window_id,m){
if(typeof $AudibleArray !="object"){
$AudibleArray=[]
}
var c=true;
var maxAud=7
if($AudibleArray.length>maxAud){
if(typeof document.all["aud"+$AudibleArray[0]] =="object"){
document.all["aud"+$AudibleArray[0]].outerHTML=""
}
for(var i=0; i"+n+": "
+ "" + caption + "";
InsertInline(html);
}
}
function $HandleAction(n,m,t){
var c=true;
if(IMV&&IMV.HandleAction){
if(IMV.HandleAction(n,m) && n == 0){
InsertInline("
"+t+"
");
Buzz("");
}
}
else if(n==0)$HandleBuzz("
"+t+"
", m);
}
function $HandleP2PState(n){
$SetInfo("P2P",n);
if(IMV&&IMV.HandleP2PState)IMV.HandleP2PState(n);
}
function $HandleViewRecent(s,e){
var c=true;
if(IMV&&IMV.HandleViewRecent)c=IMV.HandleViewRecent(s,e);
if(c){
$doAutoScroll=$UpdateAutoScroll();
Id("$rh").style.display=(s==0||e==0)?"none":"";
var shd = document.getElementById('show_hide_recent');
if (shd)
shd.style.display=(e==0)?"none":"";
Scroll();
}
}
//---PRIVATE FUNCTIONS
function $Invoke(a,b){ $Y.InvokeCommand(a,b) };
function $SetBase(s){Path=s};
function $SetInfo(s,d){YMSGR[s]=d};
function $Copy(){
var t=document.selection.createRange().text;
if (t!="")
$Invoke(10,t);
else if((typeof $Element!="undefined")&&($Element.tagName=="A"))
$Invoke(10,$Element.innerText);
}
SetInfo=$SetInfo;
function $ExecRPC(n,p){
if (typeof RPC.$fn[n] == "function") {
RPC.$fn[n](p)
}
};
function $Load(n,d){
$FilterCheck();
LoadIMV=function(){}
$Unload();
$Backup();
Redirect="http://rd.yahoo.com/messenger/imv/"+n+"/?";
;
document.all.tags('BASE')[0].href=Path;
LoadIMV();
IMV=IMVironment;
IMV.Start();
}
function $Unload(){
if (IMV){
IMV.Stop();
IMV=IMVironment=null;
$Restore();
}
}
function $FilterCheck(){
var t="";
InsertHTML(t);
if(typeof $fc.filters=="unknown" || typeof $fc.filters=="undefined" || typeof $fc.filters.alpha=="undefined"){
$Y.SetError(1);
Filters=false;
}else
Filters=true;
RemoveHTML($fc);
return Filters;
}
function $Backup(){
for (var j=0;j=0;j--)
RemoveHTML(tmp[j]);
RestoreStyles();
RPC.$clear();
SetConversationBody(null);
SetScrollBody(null);
ShowConversationBody(true);
$doAutoScroll=true;
Scroll();
}
function $Append(n,t,ds,ts,m){
switch(m){
case 0: case 1:
if(IMV&&IMV.FilterMessage) t=IMV.FilterMessage(n,t,m);
return $HandleMessage(n,t,ds,ts,m);
case 2:
return $HandleMessage(n,t,ds,ts,m);
case 3: case 4: case 5: case 6:
return $HandleStatus(t,m);
case 7:
return $HandleIMVNotify(t)
case 9:
InsertInline("
"+t+"
");
break;
default:
return alert("Undefined Text Type: "+m);
}
}
function $AppendRecent(n,t,ds,ts,m){
var c=true;
if(IMV&&IMV.HandleRecent)c=IMV.HandleRecent(n,t,m,ds,ts);
if(c){
var classname;
switch(m){
case 0: classname="sendername";break;
case 1: classname="recvername";break;
case 2: classname="ymsgrname";break;
case 9: InsertHTML("
"+t+"
",$rh);return;
default: return alert("Undefined Text Type: "+m);
}
var x="
";
InsertHTML(x,$rh);
}
}
function $ViewTimestamps(s){
$doAutoScroll=$UpdateAutoScroll();
$TimeStamps=s;
var Msgs=document.all.tags("SPAN");
if(Msgs){
for(var i=Msgs.length-1;i>=0;i--){
var timestamp=Msgs[i].getAttribute("t",0);
var datestamp=Msgs[i].getAttribute("d",0);
var name=Msgs[i].getAttribute("n",0);
if(timestamp!=null&&datestamp!=null&&name!=null){
name=name.split("&").join("&").split("<").join("<").split(">").join(">");
if(s==0)
Msgs[i].innerHTML=name+": ";
else if(s==1)
Msgs[i].innerHTML=name+" ("+timestamp+"): ";
else if(s==2)
Msgs[i].innerHTML=name+" ("+datestamp+" "+timestamp+"): ";
}
}
}
Scroll();
}
function $SetScrolling(b){$canAutoScroll=(b!=0)};
function $ShowScrollbar(f){
var i=Id("$in");
if(f==0){
$imbody.style.overflowY="hidden";
if(i)RemoveHTML(i);
}else
$imbody.style.overflowY="scroll";
}
function $UpdateAutoScroll(){
var b=$imbody;
return ((b.scrollTop+b.clientHeight>=b.scrollHeight)&&$canAutoScroll);
}
function $OverlayNotify(x) {
if(!Filters)return;
if($inProgress){
if(x=="")
setTimeout("Fade('$overlay', 100, 0, -10, 100, 'RemoveHTML($overlay);$inProgress=false;')", 3000);
else
$overlay.innerHTML = x;
}else if(x!=""){
var t="
" + x + "
";
InsertHTML(t);
$inProgress = true;
Fade("$overlay", 0, 100, 10, 100, "");
$HandleResize();
}
}
function $fader(o, nStopOpacity, nAmount, nTime, exec) {
if(document.all[o]){
document.all[o].filters.alpha.Opacity+=nAmount;
var opacity = document.all[o].filters.alpha.Opacity;
if (opacity != nStopOpacity && (opacity > 0 && opacity < 100))
$fader.$timer=setTimeout("$fader('" + o + "', " + nStopOpacity + ", " + nAmount + ", " + nTime + ", '" + exec + "')", nTime);
else
;
}
}
function $SetData(a,b){
a.val = b;
}
function $GetData(a){
var b = a;
return b;
}
function $RemoveElements(name){
var Elements=document.all(name);
if(Elements){
if (Elements.length != null) {
for(var i=Elements.length-1;i>=0;i--){
RemoveHTML(Elements[i].parentNode.parentNode);
}
}
else
RemoveHTML(Elements.parentNode.parentNode);
}
}
function $InlineAction(a){
$Y.InvokeCommand(34,a)
};
function $ViewTipCenter(){
$Y.InvokeCommand(38,0);
return false;
}
function $SetIMV(a){
$Y.InvokeCommand(24,a);
return false;
}
//---DEPRECATED
function Insert(t){InsertInline(t)};
function GetConversationBody(){ return $imbody };
function SetConversationBody(b){ if (b==null) { $imbody=$im } else { $imbody=b } };
function SetScrollBody(b){ if (b==null) { $scrollbody=$im } else { $scrollbody=b } };
function ShowConversationBody(b){ $imbody.style.display=b?"":"none" };
function SetMinSize(x,y){ $Y.SetMinSize(x,y) };
function Resize(x,y){ $Y.Resize(x,y) };
function GetId(n){
if(n==NAMES.sender.display) return NAMES.sender.id;
if(n==NAMES.receiver.display) return NAMES.receiver.id;
return n;
}
$Scroll=Scroll;
TT_NULL=-1;
TT_SENT=0;
TT_RCVD=1;
on error resume next
flashVer = 0
if (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) then
flashVer = 6
elseif (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) then
flashver = 5
elseif (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) then
flashver = 4
end if
call SetInfo("Flash_Version",flashVer)
document.body.onresize=$HandleResize;
$imbody=$im;
$scrollbody=$im;
RestoreStyles();
ScrollWidth=$sm.offsetWidth-$sm.clientWidth;
RemoveHTML($sm);
document.onmousemove=function(){$Element=window.event.srcElement; if (LSM) { LSM.OnDocumentMouseMove(event.clientX,event.clientY,event.button!=0);} };
document.ondblclick=function(){if (LSM) {LSM.OnDocumentMouseMove(event.clientX,event.clientY,event.button!=0); LSM.CheckForHighlight();}};
document.onmousedown=function(){if (LSM) { return LSM.OnDocumentMouseDown(event.clientX, event.clientY, event.button); } };
document.onmouseup=function(){if (LSM) { return LSM.OnDocumentMouseUp(event.clientX, event.clientY, event.button); } };
document.onmouseout=function(){if (LSM) { return LSM.OnDocumentMouseOut();} };
$Handler("HandleFSCommand",arguments[0],arguments[1])
$Handler("HandleFSCommand",arguments[0],arguments[1])
$Handler("HandleFSCommand",arguments[0],arguments[1])
$Handler("HandleFSCommand",arguments[0],arguments[1])
$Handler("HandleFSCommand",arguments[0],arguments[1])
//---VARIABLES
IMVironment=IMV=null;
InputSelection=Path=Redirect="";
Filters=true;
IsBuddy=false;
AudibleArray=[];
//---PRIVATE VARIABLES
$Y=window.external;
$canAutoScroll=$doAutoScroll=true;
$SavedTimeout=$TimeStamps=0;
$StyleRules=[];
$inProgress=false;
//---EVENT HANDLERS
function $DoLoad(){
$imbody=$im;
$scrollbody=$im;
RestoreStyles();
ScrollWidth=$sm.offsetWidth-$sm.clientWidth;
RemoveHTML($sm);
document.onmousemove=function(){$Element=window.event.srcElement; if (LSM) { LSM.OnDocumentMouseMove(event.clientX,event.clientY,event.button!=0);} };
}
//---OBJECTS
YMSGR={
IMV_Version:1.0,
IE_Version:parseFloat(navigator.appVersion.substr(navigator.appVersion.indexOf('MSIE')+4))
};
NAMES={sender:{id:"",display:""},receiver:{id:"",display:""}};
RPC={
$fn:[],
$reg:function(n,type){
var i=RPC.$fn.length;
RPC.$fn[i]=function(p){
var v = Unmarshal(p);
IMV[n](v);
};
RPC[n]=function(s){$Y.SendIMVMsg(i,type,Marshal(s))};
},
$clear:function(){
for (var i in RPC){if (i.charAt(0)!='$')delete RPC[i]};
RPC.$fn=[];
}
};
//---HELPERS
function Left(o,n){
if(typeof o=="string")o=Id(o);
if(typeof n=="undefined")
return o.style.pixelLeft;
else
return o.style.pixelLeft=n;
}
function Top(o,n){
if(typeof o=="string")o=Id(o);
if(typeof n=="undefined")
return o.style.pixelTop;
else
return o.style.pixelTop=n;
}
function Width(o,n){
if(typeof o=="string")o=Id(o);
if(typeof n=="undefined")
return o.style.pixelWidth;
else
return o.style.pixelWidth=n;
}
function Height(o,n){
if(typeof o=="string")o=Id(o);
if(typeof n=="undefined")
return o.style.pixelHeight;
else
return o.style.pixelHeight=n;
}
function Right(o,n){
if(typeof o=="string")o=Id(o);
if(typeof n=="undefined")
return Left(o)+Width(o);
else
return Left(o,n-Width(o))+Width(o);
}
function Bottom(o,n){
if(typeof o=="string")o=Id(o);
if(typeof n=="undefined")
return Top(o)+Height(o);
else
return Top(o,n-Height(o))+Height(o);
}
function AddStyle(n,s){
var a=n.split(".");
var b=a.length==1?a[0]:a[1];
$StyleRules[b]=$StyleRules.size++;
document.styleSheets(0).addRule(n,s);
}
function GetStyle(s){ if (document.styleSheets(0).rules.length >= 10) { return document.styleSheets(0).rules($StyleRules[s]).style }else{ return "" }};
function RestoreStyles(){
while(document.styleSheets(0).rules.length > 0) document.styleSheets(0).removeRule();
$StyleRules.size=0;
var tah = "font-family: Tahoma; font-size: 8pt;";
var ari = "font-size:10pt; font-family:Arial;";
var bld = "font-weight:bold;";
var ilntable = "width: 100%; border-bottom: solid 1px #e0e0e0; margin-left: -10px; margin-top: 4px; border-collapse: collapse;";
var ilntd = "padding: 2px 0px 4px 4px; font-family: Tahoma; font-size: 8pt; line-height: 12pt;";
var ilnp = "text-indent: 0; margin: 0; padding:4px 0 0 0;";
var ilnhead = "font-family: Tahoma; font-size: 8pt; line-height: 12pt; margin-bottom: 2px;";
AddStyle(".sendername", [tah, bld, "color:#808080;"].join(" "));
AddStyle(".recvername", [tah, bld, "color:#333399;"].join(" "));
AddStyle(".ymsgrname", [ari, bld, "color:#FF0000;"].join(" "));
AddStyle(".usertext", ari);
AddStyle(".redstatus", [ari, bld, "color:#FF0000;"].join(" "));
AddStyle(".greenstatus", [ari, bld, "color:#008800;"].join(" "));
AddStyle(".graystatus", [ari, bld, "color:#888888;"].join(" "));
AddStyle(".purplestatus", [ari, bld, "color:#880088;"].join(" "));
AddStyle(".imvnotify", [ari, bld, "color:#000088;"].join(" "));
AddStyle("a","color:#0000FF;");
AddStyle("p","text-indent:-7;margin-left:10;margin-top:1;margin-bottom:1;");
AddStyle(".timestamp","font-weight:normal;");
AddStyle(".prompt", [ilntable, "background-color: #fbfaf3; border-bottom-color: #dfdcc4;"].join(" "));
AddStyle(".status", [ilntable, "background-color: #f7f7f7; border-bottom-color: #e0e0e0;"].join(" "));
AddStyle(".event", [ilntable, "background-color: #f0f6fb; border-bottom-color: #c1cdd7;"].join(" "));
AddStyle(".error", [ilntable, "background-color: #ffeeee; border-bottom-color: #ffcccc;"].join(" "));
AddStyle(".prompt td", ilntd);
AddStyle(".event td", ilntd);
AddStyle(".error td", ilntd);
AddStyle(".status td", ilntd);
AddStyle(".prompt p", ilnp);
AddStyle(".event p", ilnp);
AddStyle(".error p", ilnp);
AddStyle(".status p", ilnp);
AddStyle(".prompt h3", [ilnhead, "color: #978f5c;"].join(" "));
AddStyle(".status h3", [ilnhead, "color: #808080;"].join(" "));
AddStyle(".event h3", [ilnhead, "color: #5b7b96;"].join(" "));
AddStyle(".error h3", [ilnhead, "color: #990000;"].join(" "));
AddStyle(".prompt strong", [ilnhead, "color: #978f5c;"].join(" "));
AddStyle(".status strong", [ilnhead, "color: #808080;"].join(" "));
AddStyle(".event strong", [ilnhead, "color: #5b7b96;"].join(" "));
AddStyle(".error strong", [ilnhead, "color: #990000;"].join(" "));
AddStyle(".prompt a", "color: #0066cc;");
AddStyle(".status a", "color: #0066cc;");
AddStyle(".error a", "color: #0066cc;");
AddStyle(".event a", "color: #0066cc;");
AddStyle(".icon", "margin: 2px 4px 2px 4px;");
AddStyle(".ilnicon", "margin: 2px 2px 2px 2px;");
AddStyle(".minicta", "font-size: 7pt;font-weight: bold;");
AddStyle(".cta", "font-weight: bold;");
AddStyle(".shortcut", "font-size: 7pt; color: #333333;");
AddStyle(".pmBar", "height: 10px; width: 160px; font-size: 12px; line-height: 12px; font-weight: bold; font-family: monospace; text-align: left; border-style: inset; border-color: ThreeDShadow; border-width: 1px;");
AddStyle(".pmBarLeft", "width: 160px; height: 8px; font-size: 8px; line-height: 8px; font-weight: bold; font-family: monospace; position: absolute; overflow: hidden; visibility: hidden; background-color: #b5c3cf; color: #ffffef;");
AddStyle(".pmBarRight", "position: normal; background-color: Window; color: WindowText; width: 160px; height: 8px;");
AddStyle(".pmBarLeftText", "margin-left: 55px; width: 40px; text-align: center; display:none;");
AddStyle(".pmBarRightText", "margin-left: 55px; width: 40px; text-align: center; display:none;");
// smart tag stuff
//AddStyle("span.phoneTag", "text-decoration: none; color: black; border-bottom: 1px dashed #999; cursor: pointer; background-color: transparent; ");
AddStyle("span.phoneTag", "border-bottom: 1px dashed #999; cursor: pointer; background-color: transparent; ");
AddStyle("span.phoneTagHover", "border-bottom: 1px solid #008; background-color: #ddd; cursor: pointer; ");
//AddStyle("span.emailTag", "text-decoration: none; color: black; border-bottom: 1px dashed #999; cursor: pointer; background-color: transparent; ");
AddStyle("span.emailTag", "border-bottom: 1px dashed #999; cursor: pointer; background-color: transparent; ");
AddStyle("span.emailTagHover", "border-bottom: 1px solid #008; background-color: #ddd; cursor: pointer; ");
//We only add search smart tag formatting if the ie version is >= 5.5
//if (YMSGR["IE_Version"] >= 5.5) {
//AddStyle("span.searchTag", "border-bottom: 1px dashed #bbb; background-color: transparent; cursor: pointer;");
//AddStyle("span.searchTagHover", "border-bottom: 1px solid #008; background-color: #ddd; cursor: pointer; ");
//} else {
//AddStyle("span.searchTag", "text-decoration: none; color: black; cursor: default;");
//}
if (LSM)
{
LSM.RestoreStyles();
}
document.body.background="";
document.body.style.backgroundColor="#FFFFFF";
}
function selectElement(that) {
var rng = document.body.createTextRange();
rng.moveToElementText(that);
rng.select();
}
function urlClick(that) {
}
function urlUp(that) {
if (event.button ==2) {
$Y.RightClickEvent(that.href);
}
}
//smart tag events
function phoneClick(that) {
var num = that.innerText;
$Invoke(36, num);
return false;
}
function emailClick(that) {
var email = that.innerText;
$Invoke(35, email);
return false;
}
var g_clickyBackgroundColor = 'threedface';
var g_tooltipBorderColor = 'threedface';
var g_livewordsEnabled = true;
//if bypassClicky = true then search popups are shown immediately without clicky.
var g_bypassClicky = false;
var g_debugWindow;
function Truncate(text, length)
{
if (text.length > length)
{
return text.substring(0,length) + '...';
}
return text;
}
function PadLeft(text, length, padChar)
{
while (text.length < length)
{
text = padChar + text;
}
return text;
}
function DebugPrint(text)
{
/*
if (! g_debugWindow)
{
g_debugWindow = window.open("about:blank", "_blank", "", false);
}
var n = new Date();
text = text.split('<').join("<");
text = text.split('>').join(">");
g_debugWindow.document.write(n.getHours() + ":" + n.getMinutes() + ":" + n.getSeconds() + "." + PadLeft(n.getMilliseconds(),3,"0") + " : " + text + " ");
*/
}
// -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -->
function livewordStateMachine()
{
this.searchTooltip = window.createPopup();
this.clicky = Id("$clicky");
this.backgroundColor = 'threedface';
this.borderColor = 'threedface';
this.suggestions = true;
this.mouseX = 0;
this.mouseY = 0;
this.mouseDown = false;
this.hoverTimerDelay = 300;
this.clickyHoverTimerDelay = 10;
//Here are the member variables.... they are initialized in "ResetState()"
this.currentSearchText = null;
this.state = null;
this.clickyLeft = null;
this.clickyTop = null;
this.currentSearchTag = null;
this.tooltipTriggeredWithRightClick = false;
this.clickyTriggeredWithHighlight = false;
this.style = "NOTUNDER";
this.tooltipHtml = " *000003;";
this.loadingHtml = " Loading content... Search for *000006;";
this.clickyHtml = "";
this.SetState = function(stateString)
{
DebugPrint("SetState(" + stateString + ") searchText=" + this.currentSearchText);
this.state = stateString;
}
this.PositionClickyUsingRange = function(range)
{
this.clicky.style.zIndex = 999999;
var rs = range.getClientRects();
var r = rs[0];
if (this.style == "UNDER")
{
this.tooltipUpX = r.left;
this.tooltipUpY = r.top;
}
r = rs[rs.length-1];
var d= this.clicky.style.display;
this.clicky.style.display='';
var y = r.bottom - this.clicky.offsetHeight;
var x = r.right;
this.clickyTop = this.clicky.style.top = y;
this.clickyLeft = this.clicky.style.left = x;
if (this.style == "UNDER") {
this.tooltipDownX = r.left;
this.tooltipDownY = r.bottom;
} else {
this.tooltipUpX = this.clickyLeft;
this.tooltipUpY = this.clickyTop;
this.tooltipDownX = this.clickyLeft;
this.tooltipDownY = this.clickyTop + this.clicky.offsetHeight;
}
this.AddRegion("clicky", x,y,x+this.clicky.offsetWidth,y + this.clicky.offsetHeight);//y+this.clicky.offsetHeight);
this.clicky.style.display=d;
this.clicky.style.zIndex = 999999;
}
this.PositionClicky = function(that)
{
this.clicky.style.zIndex = 999999;
var x = event.clientX-event.offsetX+that.offsetLeft+that.offsetWidth;
var y = event.clientY-event.offsetY+that.offsetTop+that.offsetHeight;
var d= this.clicky.style.display;
this.clicky.style.display='';
this.clickyTop =
this.clicky.style.top = y - this.clicky.offsetHeight;
this.clickyLeft =
this.clicky.style.left = x;
if (this.style == "UNDER") {
this.tooltipUpX = that.offsetLeft;
this.tooltipUpY = y - that.offsetHeight;
this.tooltipDownX = that.offsetLeft;
this.tooltipDownY = y;
} else {
this.tooltipUpX = this.clickyLeft;
this.tooltipUpY = this.clickyTop;
this.tooltipDownX = this.clickyLeft;
this.tooltipDownY = this.clickyTop + this.clicky.offsetHeight;
}
this.AddRegion("clicky",
x,
y-this.clicky.offsetHeight,
x+this.clicky.offsetWidth,
y);//y+this.clicky.offsetHeight);
this.clicky.style.display = d;
this.clicky.style.zIndex = 999999;
}
this.SetHoverTimer = function(delay)
{
this.OnHoverTimer.Timer = setTimeout( function() { LSM.OnHoverTimer(); } , delay );
}
this.OnHoverTimer = function()
{
if (this.state == "PRECLICKY")
{
//Show Clicky
this.SetState("CLICKY");
this.clicky.style.display = '';
}
else if (this.state == "PREFETCH")
{
this.TransitionToFetch();
}
else if ((this.state == "DISSED") || (this.state == "DISSEDPREFETCH"))
{
DebugPrint("HoverTimer fired. State='DISSED': about to call ResetState");
this.ResetState();
}
}
this.ResetState = function()
{
this.SetState("IDLE");
this.currentSearchText = null;
this.currentSearchTag = null;
this.ExpandSearchStop();
if (this.OnHoverTimer.Timer)
clearTimeout(this.OnHoverTimer.Timer);
this.OnHoverTimer.Timer = undefined;
this.clickyLeft = 0;
this.clickyTop = 0;
this.tooltipTriggeredWithRightClick = false;
this.clickyTriggeredWithHighlight = false;
this.clicky.style.display='none';
this.searchTooltip.hide();
this.ClearRegions();
}
this.ConfirmSameHighlight = function(text)
{
if ((!this.currentSearchText) ||
(text.toLowerCase() != this.currentSearchText.toLowerCase()))
{
//reset the state
DebugPrint("ConfirmSameHighlight calling ResetState");
this.ResetState();
this.currentSearchText = text;
}
}
this.ConfirmSameKeywordTag = function(that)
{
if ((!this.currentSearchText) ||
(this.currentSearchTag != that) ||
(that.innerText.toLowerCase() != this.currentSearchText.toLowerCase()))
{
//reset the state
DebugPrint("ConfirmSameKeywordTag calling ResetState");
this.ResetState();
this.currentSearchText = that.innerText;
this.currentSearchTag = that;
}
};
this.OnSearchTagMouseOver = function(that) {
if ( ! this.suggestions) return;
if (this.mouseDown) return;
if (document.selection.type == "Text")
{
// don't do anything
return;
}
this.ConfirmSameKeywordTag(that);
that.className='searchTagHover';
if (this.state == "IDLE")
{
this.SetState("PRECLICKY");
this.PositionClicky(that);
this.SetHoverTimer(this.hoverTimerDelay);
var y = event.clientY-event.offsetY+that.offsetTop;
var x = event.clientX-event.offsetX+that.offsetLeft;
this.AddRegion("keyword",
x,
y, //that.offsetTop,
x + that.offsetWidth + 20, // plus 20 to cover gap between keyword and clicky
y + that.offsetHeight + 5);
this.RegionIn = true; // we make it think we are over the region so that if the user moves out... we get the notification
}
return false;
};
this.OnSearchTagMouseDown = function(that) {
if ( ! this.suggestions) return;
this.ConfirmSameKeywordTag(that);
selectElement(that);
return false;
};
this.OnSearchTagMouseUp = function(that) {
if ( ! this.suggestions) return;
return false;
};
this.OnSearchTagMouseClick = function(that) {
if ( ! this.suggestions) return false;
this.ConfirmSameKeywordTag(that);
switch(this.state)
{
case 'PRECLICKY':
case 'CLICKY':
case 'PREFETCH':
this.TransitionToFetch();
break;
case 'FETCH':
case 'SERVED':
this.ExpandSearchHelper();
break;
}
return false;
};
this.OnSearchTagMouseOut = function(that) {
if ( ! this.suggestions) return;
that.className='searchTag';
return false;
};
this.OnClickyMouseUp = function(that) { return false; };
this.OnClickyMouseOut = function(that) { return false; };
this.OnClickyMouseOver = function(that) {
if (this.state == "CLICKY")
{
this.SetState("PREFETCH");
this.SetHoverTimer(this.clickyHoverTimerDelay);
}
return false;
};
this.OnClickyMouseClick = function(that) {
switch (this.state)
{
case 'CLICKY':
case 'PREFETCH':
this.TransitionToFetch();
break;
case 'FETCH':
case 'SERVED':
this.ExpandSearchHelper();
break;
}
return false;
};
this.OnTooltipMouseOut = function() {};
this.OnContentFromYPager = function (html, searchText)
{
if (this.state == 'FETCH')
{
this.SetState("SERVED");
if (searchText.toLowerCase() != this.currentSearchText.toLowerCase())
return;
this.ShowTooltip(html);
}
}
this.ShowTooltip = function(html)
{
html = html.split("") doesn't work well.
html = html.split(" 40)
{
searchTextTruncated = searchTextTruncated.substring(0,40) + '...';
}
var tHtml = this.loadingHtml;
tHtml = tHtml.split("*000001;").join(this.backgroundColor);
tHtml = tHtml.split("*000002;").join(this.borderColor);
tHtml = tHtml.split("*000003;").join(tHtml);
tHtml = tHtml.split("*000004;").join(this.clickyImageSrc);
searchTextPruned = escape(searchTextPruned);
tHtml = tHtml.split("*000005;").join(searchTextPruned);
searchTextPruned = searchTextPruned.split("%20").join(" ");
tHtml = tHtml.split("*000006;").join(searchTextPruned);
this.ShowTooltipHelper(tHtml, false);
}
this.ShowTooltipHelper = function(tHtml, fromY)
{
this.searchTooltip.document.writeln(tHtml);
this.searchTooltip.document.close();
this.searchTooltip.document.onmousemove=function(){ parent.LSM.OnTooltipMouseMove();}
var searchX = document.parentWindow.screenLeft + document.body.clientLeft + this.tooltipDownX; //this.clickyLeft;
var searchY = document.parentWindow.screenTop + document.body.clientTop + this.tooltipDownY; //this.clickyTop;
this.searchTooltip.show(searchX,searchY,250,20); // , document.body);
var w = this.searchTooltip.document.body.scrollWidth;
var h = this.searchTooltip.document.body.scrollHeight;
h+=2;
this.searchTooltip.show(searchX,searchY,w,h); //, document.body);
var expandDirection = "DOWNRIGHT";
//Determine if we need to use the up position instead.
//Adjust for bug in IE.
var deltaX = this.searchTooltip.document.parentWindow.screenLeft - searchX;
DebugPrint("deltaX=" + deltaX);
if ((deltaX != 0) && (deltaX <= 5) && (deltaX >= -5))
{
DebugPrint("adjusting X " + searchX + " -> ");
searchX += deltaX;
DebugPrint(" " + searchX);
}
var alongBottomOfScreen = false;
if (searchY > this.searchTooltip.document.parentWindow.screenTop + 5) /* added 5 to compensate for occasional 4 pixel difference between screenTop and screenY */
{
alongBottomOfScreen = true;
DebugPrint("adjusting. " + this.mouseY + " " + this.tooltipUpY);
//Was adjusted up... because window is at bottom.
searchY = document.parentWindow.screenTop + document.body.clientTop + this.tooltipUpY;
expandDirection = "UPRIGHT";
}
//If the tooltip was triggered with a right click of the mouse
// then we want the tooltip to open upwards inorder to avoid being
// shown under the right click menu.
if (this.tooltipTriggeredWithRightClick)
{
if (alongBottomOfScreen)
{
//adjust left
searchX = document.parentWindow.screenLeft + document.body.clientLeft + this.mouseX - w;
}
searchY = document.parentWindow.screenTop + document.body.clientTop + this.mouseY;
//searchY = document.parentWindow.screenTop + document.body.clientTop + this.tooltipUpY;
expandDirection="UPRIGHT";
}
if (this.style == "UNDER")
{
// starting width is set to final width.
if (fromY == false)
this.ExpandSearch(expandDirection, searchX, searchY, w /* this.clicky.offsetWidth */, this.clicky.offsetHeight ,w, h);
else
this.ExpandSearch(expandDirection, searchX, searchY, w /* this.ExpandSearch.curW */, this.ExpandSearch.curH, w, h);
} else {
if (fromY == false)
this.ExpandSearch(expandDirection, searchX, searchY, this.clicky.offsetWidth, this.clicky.offsetHeight ,w, h);
else
this.ExpandSearch(expandDirection, searchX, searchY, this.ExpandSearch.curW, this.ExpandSearch.curH, w, h);
}
}
this.TransitionToFetch = function()
{
this.SetState("FETCH");
//Kill hover timer
if (this.OnHoverTimer.Timer)
clearTimeout(this.OnHoverTimer.Timer);
//Show clicky just in case
//this.clicky.style.display='none';
//Send Fetch Request
if ($Y)
{
$Y.FetchKeywordContent(this.currentSearchText);
}
else
{
//fake it
setTimeout( function()
{
//
*000001;
searchShow("
hey there
expanded","","",LSM.currentSearchText);
} ,10);//rnd(100,2000));
}
this.ShowLoadingTooltip();
}
this.OnRegionMouseOver = function()
{
DebugPrint("OnRegionMouseOver");
if (this.state == 'DISSED')
{
DebugPrint("OnRegionMouseOver and state is DISSED... so clearing timeout");
if (this.OnHoverTimer.Timer)
clearTimeout(this.OnHoverTimer.Timer);
this.SetState("SERVED");
}
else if (this.state == 'DISSEDPREFETCH')
{
DebugPrint("OnRegionMouseOver and state is DISSEDPREFETCH... so clearing timeout and setting back to CLICKY");
if (this.OnHoverTimer.Timer)
clearTimeout(this.OnHoverTimer.Timer);
this.SetState("CLICKY");
}
}
this.OnRegionMouseOut = function()
{
DebugPrint("OnRegionMouseOut " + this.mouseX + ", " + this.mouseY);
switch(this.state)
{
case 'PRECLICKY':
DebugPrint("OnRegionMouseOut calling ResetState");
this.ResetState();
case 'CLICKY':
case 'PREFETCH':
DebugPrint("OnRegionMouseOut setting hover timer and transitioning to Dissed");
this.SetState("DISSEDPREFETCH");
this.SetHoverTimer(this.hoverTimerDelay*2);
break;
case 'FETCH':
case 'SERVED':
DebugPrint("OnRegionMouseOut setting hover timer and transitioning to Dissed");
this.SetState("DISSED");
this.SetHoverTimer(this.hoverTimerDelay*2);
break;
}
}
this.CheckForHighlight = function()
{
if (document.selection.type != "Text") return;
//DebugPrint("Something is highlighted");
var range = document.selection.createRange();
var text = range.text;
var x = this.mouseX;
var y = this.mouseY;
if ((x >= range.boundingLeft) &&
(x <= range.boundingLeft + range.boundingWidth) &&
(y >= range.boundingTop) &&
(y <= range.boundingTop + range.boundingHeight))
{
this.ConfirmSameHighlight(text);
DebugPrint("Over highlight");
this.clickyTriggeredWithHighlight = true;
this.SetState("PRECLICKY");
this.PositionClickyUsingRange(range);
this.SetHoverTimer(this.hoverTimerDelay);
var rs = range.getClientRects();
for (var i = 0; i < rs.length; ++i)
{
var tr = rs[i];
this.AddRegion("highlightRectangle" + i,
tr.left,
tr.top,
tr.right + 20, // plus 20 to cover gap between keyword and clicky
tr.bottom);
}
this.RegionIn = true; // we make it think we are over the region so that if the user moves out... we get the notification
}
}
this.AddRegion = function(name, x, y, x2, y2)
{
DebugPrint("AddRegion(" + name + ", " + x + ", " + y +", " + x2 + ", " + y2 + ")");
this.RegionNameArray.push(name);
this.RegionLeftArray.push(x);
this.RegionTopArray.push(y);
this.RegionRightArray.push(x2);
this.RegionBottomArray.push(y2);
}
this.ClearRegions = function()
{
this.RegionIn = false;
this.RegionNameArray = new Array() ;
this.RegionLeftArray = new Array() ;
this.RegionTopArray = new Array() ;
this.RegionRightArray = new Array() ;
this.RegionBottomArray = new Array() ;
}
this.ClearRegions(); // call it on construction
this.CheckMousePosition = function()
{
//If we are idling... then check to see if we are over a highlighted region
if (this.state == "IDLE")
{
if ( ! this.mouseDown)
this.CheckForHighlight();
return;
}
var InRegion = false;
for (i = 0; i < this.RegionLeftArray.length; ++i)
{
//DebugPrint("CheckMousePosition.... X" + this.mouseX + ",Y" + this.mouseY + ",L" + this.RegionLeftArray[i]+ ",R" + this.RegionRightArray[i]+ ",T" + this.RegionTopArray[i]+ ",B" + this.RegionBottomArray[i]);
if ((this.mouseX >= this.RegionLeftArray[i]) &&
(this.mouseX <= this.RegionRightArray[i]) &&
(this.mouseY >= this.RegionTopArray[i]) &&
(this.mouseY <= this.RegionBottomArray[i]))
{
InRegion = true;
break;
}
}
if (InRegion)
{
if ( ! this.RegionIn )
{
this.RegionIn = true;
this.OnRegionMouseOver();
}
}
else
{
if ( this.RegionIn )
{
this.RegionIn = false;
this.OnRegionMouseOut();
}
}
}
this.OnTooltipMouseMove = function()
{
if (this.state == 'DISSED')
{
DebugPrint("OnTooltipMouseMove and state is DISSED... so clearing timeout");
if (this.OnHoverTimer.Timer)
clearTimeout(this.OnHoverTimer.Timer);
this.RegionIn = true; // the region code thinks we've moved out of the region... so switch back to thinking we are in it.
this.SetState("SERVED");
}
}
this.OnDocumentMouseMove = function(x,y,mouseDown)
{
this.mouseX = x;
this.mouseY = y;
this.mouseDown = mouseDown;
LSM.CheckMousePosition();
};
this.OnDocumentMouseUp = function(x, y, button)
{
if (button == 1) // left click clears highlight
{
if (this.clickyTriggeredWithHighlight)
this.ResetState();
}
}
this.OnDocumentMouseOut = function()
{
switch(this.state)
{
case 'PRECLICKY':
this.ResetState();
break;
}
}
this.OnDocumentMouseDown = function(x, y, button)
{
if (button == 2) // right click
{
switch(this.state)
{
case 'PRECLICKY':
case 'CLICKY':
case 'PREFETCH':
DebugPrint("OnDocumentMouseDown about to call ResetState");
this.ResetState();
// Removed the right click functionality based on UED's feedback 7/5/05
//this.tooltipTriggeredWithRightClick = true;
//this.TransitionToFetch();
break;
case 'FETCH':
case 'SERVED':
this.ExpandSearchHelper();
break;
}
}
}
this.SetHtml = function(tooltipHtml, loadingHtml, clickyHtml)
{
if (tooltipHtml != "")
this.tooltipHtml = tooltipHtml;
if (loadingHtml != "")
this.loadingHtml = loadingHtml;
if (clickyHtml != "")
{
this.clickyHtml = clickyHtml;
this.InitializeClicky();
}
}
this.InitializeClicky = function()
{
DebugPrint("InitializeClicky : clicky=" + this.clicky);
var currentSpan = Id("$clicky");
var htmlHold = this.clickyHtml;
htmlHold = htmlHold.split("*000001;").join(this.clickyImageSrc);
htmlHold = htmlHold.split("*000002;").join(this.backgroundColor);
htmlHold = htmlHold.split("*000003;").join(this.borderColor);
currentSpan.outerHTML = htmlHold;
DebugPrint("InitializeClicky2: htmlHold=" + htmlHold);
this.clicky = Id("$clicky");
DebugPrint("End of InitializeClicky: clicky=" + this.clicky);
}
this.InitializeSettings = function(clickyImageFile,backgroundColor, borderColor, suggestionsEnabled)
{
DebugPrint("LSM.InitializeSettings(" + clickyImageFile +"," + backgroundColor + "," + borderColor + "," + suggestionsEnabled + ")");
this.clickyImageSrc = clickyImageFile;
this.backgroundColor = backgroundColor;
this.borderColor = borderColor;
this.InitializeClicky();
AddStyle("span.searchTag", " ");
AddStyle("span.searchTagHover", " ");
if (suggestionsEnabled == "1")
{
this.TurnOnSuggestions();
} else {
this.TurnOffSuggestions();
}
}
this.ExpandSearchHelper = function()
{
var now = (new Date()).getTime();
var percentComplete = (now - this.ExpandSearch.startTime) / (this.ExpandSearch.expandTime);
//alert (percentComplete);
if (percentComplete >= 1.0)
{
this.ExpandSearch.curW = this.ExpandSearch.targetW;
this.ExpandSearch.curH = this.ExpandSearch.targetH;
}
else
{
var diffW = (this.ExpandSearch.targetW - this.ExpandSearch.startW);
this.ExpandSearch.curW = this.ExpandSearch.startW + (diffW * percentComplete);
var diffH = (this.ExpandSearch.targetH - this.ExpandSearch.startH);
this.ExpandSearch.curH = this.ExpandSearch.startH + (diffH * percentComplete);
this.ExpandSearch.timer = setTimeout( function() { LSM.ExpandSearchHelper(); }, 10 );
}
if (this.ExpandSearch.direction == "DOWNRIGHT")
{
this.searchTooltip.show(this.ExpandSearch.x, this.ExpandSearch.y, this.ExpandSearch.curW, this.ExpandSearch.curH); // , document.documentElement);
}
else if (this.ExpandSearch.direction == "UPRIGHT")
{
this.searchTooltip.show(this.ExpandSearch.x, this.ExpandSearch.y-this.ExpandSearch.curH, this.ExpandSearch.curW, this.ExpandSearch.curH);//, document.documentElement);
}
}
this.ExpandSearchStop = function()
{
if(this.ExpandSearch.timer)
clearTimeout(this.ExpandSearch.timer);
this.searchTooltip.hide();
}
this.ExpandSearch = function (direction, x,y,sw,sh,w,h)
{
this.ExpandSearch.startTime = (new Date()).getTime();
this.ExpandSearch.expandTime = 200;
this.ExpandSearch.direction = direction;
this.ExpandSearch.x = x;
this.ExpandSearch.y = y;
this.ExpandSearch.startW = sw;
this.ExpandSearch.startH = sh;
this.ExpandSearch.curW = 0;
this.ExpandSearch.curH = 0;
this.ExpandSearch.targetW = w;
this.ExpandSearch.targetH = h;
this.ExpandSearch.timer = setTimeout( function() { LSM.ExpandSearchHelper(); }, 10 );
}
this.RestoreStyles = function()
{
DebugPrint("LSM.RestoreStyles");
AddStyle("span.searchTag", " ");
AddStyle("span.searchTagHover", " ");
if (this.suggestions)
this.TurnOnSuggestions();
else
this.TurnOffSuggestions();
}
this.TurnOnSuggestions = function()
{
DebugPrint("TurnOnSuggestions()");
try {
var searchTag = GetStyle("searchTag");
DebugPrint("TurnOnSuggestions searchTag=" + searchTag);
searchTag.borderBottomWidth = "1px";
searchTag.borderBottomColor = "#bbb";
searchTag.borderBottomStyle = "dashed";
searchTag.backgroundColor = "transparent";
searchTag.cursor = "pointer";
//searchTag.cursor = " ( "" + this.clickyImageSrc + "\")";
var searchTagHover = GetStyle("searchTagHover");
searchTagHover.borderBottomWidth = "1px";
searchTagHover.borderBottomColor = "#008";
searchTagHover.borderBottomStyle = "solid";
searchTagHover.backgroundColor = "#ddd";
//searchTagHover.cursor = " ( "" + this.clickyImageSrc + "\")";
searchTagHover.cursor = "pointer";
}
catch (e)
{
DebugPrint("Exception caught in TurnOnSuggestions() : " + e.message );
}
this.suggestions = true;
this.ResetState();
}
this.TurnOffSuggestions = function()
{
DebugPrint("TurnOffSuggestions()");
try
{
var searchTag = GetStyle("searchTag");
DebugPrint("TurnOffSuggestions searchTag=" + searchTag);
searchTag.borderBottomWidth = "0px";
searchTag.cursor = "auto";
searchTag.backgroundColor = "transparent";
var searchTagHover = GetStyle("searchTagHover");
DebugPrint("TurnOffSuggestions searchTagHover=" + searchTagHover);
searchTagHover.borderBottomWidth = "0px";
searchTagHover.cursor = "auto";
searchTagHover.backgroundColor = "transparent";
}
catch (e)
{
DebugPrint("Exception caught in TurnOffSuggestions() : " + e.message);
}
this.suggestions = false;
this.ResetState();
}
this.ResetState();
}
// -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -->
var LSM = null;
var searchTooltip = null;
function ShowLivewordSuggestions(sOn)
{
if (LSM)
{
var bOn = false;
if (sOn == "1") bOn = true;
DebugPrint("ShowLivewordSuggestions(" + bOn + ") LSM.suggestions currently " + LSM.suggestions);
if ((!bOn) && (LSM.suggestions))
{
LSM.TurnOffSuggestions();
}
else if ((bOn) && (!LSM.suggestions))
{
LSM.TurnOnSuggestions();
}
}
}
function SearchTooltipFakey()
{
this.hide = function()
{
if (LSM)
LSM.ResetState();
}
}
function searchShow(html,backgroundColor,borderColor,searchText)
{
if(LSM)
LSM.OnContentFromYPager(html, searchText);
}
function initializeLivewordSettings(livewordsEnabled,
bypassClicky,baseDir,
clickyBackgroundColor,
tooltipBorderColor,
suggestionsEnabled)
{
if (livewordsEnabled == "0")
{
LSM = null;
} else {
if (YMSGR["IE_Version"] >= 5.5) {
this.searchTooltip = new SearchTooltipFakey()
LSM = new livewordStateMachine();
var file = 'file://'+baseDir+'Media\\Misc\\clicky.gif';
LSM.InitializeSettings(file, clickyBackgroundColor, tooltipBorderColor, suggestionsEnabled);
}
}
}
function setLivewordsHtml(
tooltipHtml,
loadingHtml,
clickyHtml
)
{
if (LSM)
{
LSM.SetHtml(tooltipHtml, loadingHtml, clickyHtml);
}
}
function $ShowAdditionalFiles(afimageid, afid)
{
var varAdditionalFileList = document.getElementById(afid);
var varafImage = document.getElementById(afimageid);
if (varAdditionalFileList && varafImage)
{
if (varAdditionalFileList.style.display == "none")
{
varAdditionalFileList.style.display = "inline";
varafImage.src = varafImage.expandedImage;
}
else
{
varAdditionalFileList.style.display = "none";
varafImage.src = varafImage.collapsedImage;
}
}
}
function $UpdateShowHideDescr(descr)
{
var shd = document.getElementById('show_hide_descr');
if (shd)
{
shd.innerHTML = descr;
}
}
function $UpdateProgressBarDescription(pmdid, pm, newDescription)
{
var varProgressDescription = document.getElementById(pmdid);
if (varProgressDescription)
{
varProgressDescription.innerHTML = newDescription;
$UpdateProgressBar(pm, 0);
setTimeout("$doAutoscroll=$UpdateAutoScroll(); Scroll()",1);
}
}
function $UpdateProgressBar(pmid, nPercent)
{
var r;
var barPx;
var percent;
var varProgressBar;
var varLeft;
var varLeftText;
var varRightText;
varProgressBar = document.getElementById(pmid);
varLeft = document.getElementById(pmid + 'Left');
varLeftText = document.getElementById(pmid + 'LeftText');
varRightText = document.getElementById(pmid + 'RightText');
r = nPercent / 100;
r = r < 0 ? 0 : (r>1 ? 1 : r);
barPx = Math.floor(r*160);
percent = Math.floor(r*100);
varRightText.innerHTML = percent + "%";
if( barPx == 0)
{
varLeft.style.visibility="hidden";
varProgressBar.leftHidden = 'true';
}
else
{
varLeft.style.width = barPx;
varLeftText.innerHTML = varRightText.innerHTML;
if( varProgressBar.leftHidden == 'true')
{
varLeft.style.visibility="visible";
varProgressBar.leftHidden='false';
}
}
varProgressBar.currentValue = nPercent;
}
function AppendInput(s){$Invoke(23,s)};
function GetInput(m){$Invoke(25,m)};
function SetInput(s){$Invoke(26,s)};
function ReplaceInputSelection(s){$Invoke(27,s)};
function Id(n){ return document.all[n] };
function InsertHTML(t,o,p){
if(typeof o=="undefined") o=document.body;
if(typeof o=="string") o=Id(o);
if(typeof p=="undefined") p="BeforeEnd";
o.insertAdjacentHTML(p,t);
}
function RemoveHTML(o){
if(typeof o=="string") o=Id(o);
o.outerHTML="";
}
function InsertInline(t){
$doAutoScroll=$UpdateAutoScroll();
if(Id("$in"))
InsertHTML(t,"$in","BeforeBegin");
else
InsertHTML(t,$imbody);
Scroll();
}
function Clear()
{
if(Id("$in"))
{
$imbody.innerHTML="
";
}
else
{
$imbody.innerHTML="";
}
}
function GetCustomData(k){ $Invoke(33,k) };
function SetCustomData(k,v){ $Invoke(32, k+"="+v) };
function GetExternalData(u){ $Invoke(21,u) };
function SetLocalData(t){ $Invoke(20,Marshal(t)) };
function Marshal(o){
if ((typeof o=='undefined')||(o==null))
return 'null';
switch (o.constructor){
case Number:
case Boolean:
return o.toString();
case Function:
return 'null';
case String:
return '\"'+o.replace(/\"/g,'\\\"')+'\"';
case Array:
var s='[';
for (var i=0;i]+\\\\"+s+"\\.[^\\<]+\\>");
var o="";
while (o!=t) { o=t; t=t.replace(re,r) };
return t;
}
function MarkSmileys(s){
var t="";
for (var i = 0; i < arguments.length; i++){
t+=arguments[i];
if (i < arguments.length - 1)
t+=",";
}
$Invoke(31,t);
}
function SetIMV(s){$Invoke(24,s)};
function SetClosePrompt(s){$Invoke(28,s)};
function PostMessage(m,w,l){ $Y.PostMessage(m,w,l) };
function RegisterRPCMethod(funcName,type){ RPC.$reg(funcName,type) };
function SetConversationLayer(x,y) {
var o=$imbody.innerHTML;
$imbody.innerHTML='';
x.innerHTML=o;
$imbody=x;
$scrollbody=y;
Scroll();
}
function ShowConversationLayer(b){ $imbody.style.display=b?"":"none" };
function ResetConversationLayer() {
var o=$imbody.innerHTML;
$imbody.innerHTML='';
$im.innerHTML=o;
$imbody=$im;
$scrollbody=$im;
}
function Scroll(){
if ($canAutoScroll&&$doAutoScroll)
$scrollbody.scrollTop=$scrollbody.scrollHeight+1E9;
}
function SetMinSizeIMV(w,h){ $Invoke(29,w+","+h) };
function ResizeIMV(w,h){ $Invoke(30,w+","+h) };
function SetCustomStatus(s){ $Invoke(22,s) };
function SetHelpMenu(t,l){ $Y.SetHelpMenu(t,l) };
function Fade(o, nStartOpacity, nStopOpacity, nAmount, nTime, exec) {
if(Filters&&document.all[o]){
document.all[o].filters.alpha.Opacity = nStartOpacity;
clearTimeout($fader.$timer);
$fader(o, nStopOpacity, nAmount, nTime, exec);
}
}
//---HANDLERS
function $Handler(name,a,b,c,d,e,f,g,h,i,j){ if(IMV&&IMV[name]) IMV[name](a,b,c,d,e,f,g,h,i,j) };
function $HandleInputSelection(s){
InputSelection = s;
$Handler("HandleInputSelection",s);
}
function $HandleLocalData(t){if(IMV&&IMV.HandleLocalData) IMV.HandleLocalData(Unmarshal(t))};
function $HandleNames(sdn,rdn,sid,rid){
NAMES={sender:{id:sid,display:sdn},receiver:{id:rid,display:rdn}};
if(IMV&&IMV.HandleNames) IMV.HandleNames(sdn,rdn,sid,rid);
}
function $HandleResize(){
var b=document.body;
var o=Id("$overlay");
if(o)
o.style.top = b.clientHeight-o.clientHeight;
var c=true;
if(IMV&&IMV.HandleResize) c=IMV.HandleResize(b.clientWidth,b.clientHeight);
if(c){
if($UpdateAutoScroll()) $doAutoScroll=true;
Scroll();
}
}
function $HandleActivate(b){
var c=true;
if(IMV&&IMV.HandleActivate) c=IMV.HandleActivate(b);
if(LSM) { LSM.ResetState(); }
if(c&&b==1){ if((typeof $Element=="undefined")||($Element.tagName!="A")) $Invoke(3,"") };
}
function $HandleLastMessage(n,t,ds,ts){
if(IMV&&IMV.FilterMessage) t=IMV.FilterMessage(n,t,1);
if(IMV&&IMV.HandleLastMessage) IMV.HandleLastMessage(n,t,ds,ts);
}
function $HandleIsBuddy(b){IsBuddy=b==1;if(IMV&&IMV.HandleIsBuddy)IMV.HandleIsBuddy(b)};
function $HandleScroll(){
if(IMV&&IMV.HandleScroll)IMV.HandleScroll();
$doAutoScroll=$UpdateAutoScroll();
}
function $HandleMessage(n,text,d,ts,m){
var c=true;
if(IMV&&IMV.HandleMessage)c=IMV.HandleMessage(n,text,m,d,ts);
if(c){
var classname;
if(m==0)classname="sendername";
else if(m==1)classname="recvername";
else if(m==2)classname="ymsgrname";
var t="
";
Insert(t);
}
}
function $HandleStatus(text,mode){
var c=true;
if(IMV&&IMV.HandleStatus)c=IMV.HandleStatus(text,mode);
if(c){
if(document.all.ystatus)RemoveHTML(ystatus);
var classname="graystatus";
if(mode==4)classname="greenstatus";
else if(mode==3)classname="redstatus";
Insert("
"+text+"
");
}
}
function $HandleIMVNotify(text){
var c=true;
if(IMV&&IMV.HandleIMVNotify)c=IMV.HandleIMVNotify(text);
if(c){
if(document.all.$imvnotify)RemoveHTML($imvnotify);
if(text!="")Insert("
"+text+"
");
}
}
function $HandleBuzz(text,mode){
var c=true;
if(IMV&&IMV.HandleBuzz)c=IMV.HandleBuzz(text,mode);
if(c){
InsertInline("
"+text+"
");
Buzz("");
}
}
function $HandleAudible(n,obj_id,aud_id,tooltip,caption,base,file,window_id,m){
if(typeof $AudibleArray !="object"){
$AudibleArray=[]
}
var c=true;
var maxAud=7
if($AudibleArray.length>maxAud){
if(typeof document.all["aud"+$AudibleArray[0]] =="object"){
document.all["aud"+$AudibleArray[0]].outerHTML=""
}
for(var i=0; i"+n+": "
+ "" + caption + "";
InsertInline(html);
}
}
function $HandleAction(n,m,t){
var c=true;
if(IMV&&IMV.HandleAction){
if(IMV.HandleAction(n,m) && n == 0){
InsertInline("
"+t+"
");
Buzz("");
}
}
else if(n==0)$HandleBuzz("
"+t+"
", m);
}
function $HandleP2PState(n){
$SetInfo("P2P",n);
if(IMV&&IMV.HandleP2PState)IMV.HandleP2PState(n);
}
function $HandleViewRecent(s,e){
var c=true;
if(IMV&&IMV.HandleViewRecent)c=IMV.HandleViewRecent(s,e);
if(c){
$doAutoScroll=$UpdateAutoScroll();
Id("$rh").style.display=(s==0||e==0)?"none":"";
var shd = document.getElementById('show_hide_recent');
if (shd)
shd.style.display=(e==0)?"none":"";
Scroll();
}
}
//---PRIVATE FUNCTIONS
function $Invoke(a,b){ $Y.InvokeCommand(a,b) };
function $SetBase(s){Path=s};
function $SetInfo(s,d){YMSGR[s]=d};
function $Copy(){
var t=document.selection.createRange().text;
if (t!="")
$Invoke(10,t);
else if((typeof $Element!="undefined")&&($Element.tagName=="A"))
$Invoke(10,$Element.innerText);
}
SetInfo=$SetInfo;
function $ExecRPC(n,p){
if (typeof RPC.$fn[n] == "function") {
RPC.$fn[n](p)
}
};
function $Load(n,d){
$FilterCheck();
LoadIMV=function(){}
$Unload();
$Backup();
Redirect="http://rd.yahoo.com/messenger/imv/"+n+"/?";
;
document.all.tags('BASE')[0].href=Path;
LoadIMV();
IMV=IMVironment;
IMV.Start();
}
function $Unload(){
if (IMV){
IMV.Stop();
IMV=IMVironment=null;
$Restore();
}
}
function $FilterCheck(){
var t="";
InsertHTML(t);
if(typeof $fc.filters=="unknown" || typeof $fc.filters=="undefined" || typeof $fc.filters.alpha=="undefined"){
$Y.SetError(1);
Filters=false;
}else
Filters=true;
RemoveHTML($fc);
return Filters;
}
function $Backup(){
for (var j=0;j=0;j--)
RemoveHTML(tmp[j]);
RestoreStyles();
RPC.$clear();
SetConversationBody(null);
SetScrollBody(null);
ShowConversationBody(true);
$doAutoScroll=true;
Scroll();
}
function $Append(n,t,ds,ts,m){
switch(m){
case 0: case 1:
if(IMV&&IMV.FilterMessage) t=IMV.FilterMessage(n,t,m);
return $HandleMessage(n,t,ds,ts,m);
case 2:
return $HandleMessage(n,t,ds,ts,m);
case 3: case 4: case 5: case 6:
return $HandleStatus(t,m);
case 7:
return $HandleIMVNotify(t)
case 9:
InsertInline("
"+
gs){
for(var i=Msgs.length-1;i>=0;i--){
var timestamp=Msgs[i].getAttribute("t",0);
var datestamp=Msgs[i].getAttribute("d",0);
var name=Msgs[i].getAttribute("n",0);
if(timestamp!=null&&datestamp!=null&&name!=null){
name=name.split("&").join("&").split("<").join("<").split(">").join(">");
if(s==0)
Msgs[i].innerHTML=name+": ";
else if(s==1)
Msgs[i].innerHTML=name+" ("+timestamp+"): ";
else if(s==2)
Msgs[i].innerHTML=name+" ("+datestamp+" "+timestamp+"): ";
}
}
}
Scroll();
}
function $SetScrolling(b){$canAutoScroll=(b!=0)};
function $ShowScrollbar(f){
var i=Id("$in");
if(f==0){
$imbody.style.overflowY="hidden";
if(i)RemoveHTML(i);
}else
$imbody.style.overflowY="scroll";
}
function $UpdateAutoScroll(){
var b=$imbody;
return ((b.scrollTop+b.clientHeight>=b.scrollHeight)&&$canAutoScroll);
}
function $OverlayNotify(x) {
if(!Filters)return;
if($inProgress){
if(x=="")
setTimeout("Fade('$overlay', 100, 0, -10, 100, 'RemoveHTML($overlay);$inProgress=false;')", 3000);
else
$overlay.innerHTML = x;
}else if(x!=""){
var t="
" + x + "
";
InsertHTML(t);
$inProgress = true;
Fade("$overlay", 0, 100, 10, 100, "");
$HandleResize();
}
}
function $fader(o, nStopOpacity, nAmount, nTime, exec) {
if(document.all[o]){
document.all[o].filters.alpha.Opacity+=nAmount;
var opacity = document.all[o].filters.alpha.Opacity;
if (opacity != nStopOpacity && (opacity > 0 && opacity < 100))
$fader.$timer=setTimeout("$fader('" + o + "', " + nStopOpacity + ", " + nAmount + ", " + nTime + ", '" + exec + "')", nTime);
else
;
}
}
function $SetData(a,b){
a.val = b;
}
function $GetData(a){
var b = a;
return b;
}
function $RemoveElements(name){
var Elements=document.all(name);
if(Elements){
if (Elements.length != null) {
for(var i=Elements.length-1;i>=0;i--){
RemoveHTML(Elements[i].parentNode.parentNode);
}
}
else
RemoveHTML(Elements.parentNode.parentNode);
}
}
function $InlineAction(a){
$Y.InvokeCommand(34,a)
};
function $ViewTipCenter(){
$Y.InvokeCommand(38,0);
return false;
}
function $SetIMV(a){
$Y.InvokeCommand(24,a);
return false;
}
//---DEPRECATED
function Insert(t){InsertInline(t)};
function GetConversationBody(){ return $imbody };
function SetConversationBody(b){ if (b==null) { $imbody=$im } else { $imbody=b } };
function SetScrollBody(b){ if (b==null) { $scrollbody=$im } else { $scrollbody=b } };
function ShowConversationBody(b){ $imbody.style.display=b?"":"none" };
function SetMinSize(x,y){ $Y.SetMinSize(x,y) };
function Resize(x,y){ $Y.Resize(x,y) };
function GetId(n){
if(n==NAMES.sender.display) return NAMES.sender.id;
if(n==NAMES.receiver.display) return NAMES.receiver.id;
return n;
}
$Scroll=Scroll;
TT_NULL=-1;
TT_SENT=0;
TT_RCVD=1;
on error resume next
flashVer = 0
if (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) then
flashVer = 6
elseif (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) then
flashver = 5
elseif (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) then
flashver = 4
end if
call SetInfo("Flash_Version",flashVer)
document.body.onresize=$HandleResize;
$imbody=$im;
$scrollbody=$im;
RestoreStyles();
ScrollWidth=$sm.offsetWidth-$sm.clientWidth;
RemoveHTML($sm);
document.onmousemove=function(){$Element=window.event.srcElement; if (LSM) { LSM.OnDocumentMouseMove(event.clientX,event.clientY,event.button!=0);} };
document.ondblclick=function(){if (LSM) {LSM.OnDocumentMouseMove(event.clientX,event.clientY,event.button!=0); LSM.CheckForHighlight();}};
document.onmousedown=function(){if (LSM) { return LSM.OnDocumentMouseDown(event.clientX, event.clientY, event.button); } };
document.onmouseup=function(){if (LSM) { return LSM.OnDocumentMouseUp(event.clientX, event.clientY, event.button); } };
document.onmouseout=function(){if (LSM) { return LSM.OnDocumentMouseOut();} };
Tawny: ngaun ko lang napansin, parehas taung may 6 sa dulo ng e-add natin.
*Sester Cornicks*: aawww
*Sester Cornicks*: 16 pa nga eh
Tawny: oo nga no.
Tawny:
Tawny: weird.
Tawny: haha.
Tawny: sa tagal nating nag chchat, ngaun lang natin nalaman.
ahahaha. di ako nakatulog. don't know why. ahihi.. haaayy.. dvd trips lang ako dito. all the day.. 4-7? hahaha. basta un. watched rumor has it. the movie was kinda sweet na bastos na laughtrip. hahaha. "i can live without you. i just don't want too." aaaww.. so sweet. ahahaha. basta un. mejo naiiyak ako sa muvee! i don't know why! haha. tas un. the guy was kinda handsome. hahaha. then un. watched excorcism of tawny anne. este emily rose pala. hahahaha. rrr. nakaka takot xa. haha. so un. i decided to watch garfield nalang. ahihihi. i garfield. hahaha. he's sooo cute! hahaha. after watching those muvees, wala. bored. lakad lakad. looked for food. haha. then un. used the computer na. currently chatting with kriza. sabaw moments again. sana di na to matapos. hhaaaay..
Bored. Hmm.. Computer buong araw. Di naman actually buong araw. Pero nung morning lang. Haha. Gawd. Nakaka bad trip ung mga tao dito sa bahay. Lalo na ung napaka tamad naming maid!!! grrr!!! puta! wala na xang ginawa kundi mag text ng mag text! imagine mo, nag plpltantsa xa, nag ttext xa. nag llinis xa ng sahig, nag ttext parin xa. tang inang yan. sarap batukan!!! tang ina. ang llaboo pa ng tao dito. haaay nako! hmph. anyways, my mom and antonette went to mcdo. so un, nag pabili na rin ako. haha. chicken nuggets and a large fries wit iced tea. ahihi.. so un. mejo nabawasan ung init ng ulo ko. hehe. after nun, took a bath. kasi were going to cavite.. hehe then un. ahihi.. while we were in the car.. super nakipag kulitan with antonette. haha. kilitiian and stuffs. haha. tas laughtrip auntie ko. ahahaha. kasi my mom told me na parang, kanna daw. they went to sm to buy game boy tapes for sean. then sabi daw ng auntie ko, parang pukemun ahahahaha. its so like laughtrip! ahahaha. pero its the way how they pronounced words like that kasi eh. hhmm.. tapos un. went to kfc. nag drive through. hahaha.. di maganda ung service nila! tsk! theyre so bagal and stuffs! hmph! anyways. basta. ang bagal talaga nila. tas un. i bought peanuts. hahaha. dapat bbili lang ako ng isa, pero un. naaawa ako sa kanila. so i bought 4 nalang. hehe. tas un. ahihi. nag park muna. then kumain. ahihi.. then un.. nakarating na kami dun sa grandparents ko.. tas watched tv.. quizon avenue.. ahahaha.. mejo laughtrip din xa.. tas tsk! its so like. nagpaparamdam xa. kasi. binibini ung song. so xempre. maaalala ko talaga xa nun. dahil diba, that was the song when we were at roy's office. rrr.. tas un. kasi basta. its like db. we were watching tv. tas nasa bahay ung girl. then pagbukas nia ng pinto. may name dun nakalagay. *_________* =(( ekk. he's so like nag paparamdam talaga!!! as in. di ako makapaniwala sa nakita ko. ahaha. tas un. wlumabas na ako ng room. chill.. inisip xa.. tas after nun.. kinulat pinsan ko. ahihi. then.un . pumuntang terrace. haha. after nun.. wala.. mejo kuwentuhan and stuffs.. picture. ako lang. haha. vain. then un! went home na. at the car.. natulog si onet kaya di kami nagkulitan. at nnagpahinga din ako. i was just editng my calendar sa fone. kasi wala din magawa. ahihihi.. then un.. suddenly. he called! as in sobrang shocked na shocked ako! i was supposed to text him na i miss him na. tas rrr. tumawag xa bigla! ahihi.. he asked me kung nasan ako and stuffs. tas he said "miss na kita dude!" ahihi. xempre nagulat ako. haha. haaayy.. aaww. he misses me. hahahaha.. rrr.. miss na miss ko na din xa. hehe.. tas un.. after nun.. nasa bahay na.. took a bath. tas ginamit ung computer.. then un.. washed my face.. tas after a few mins.. may ninilagay sa mukha. ahaha.. then un. ginamit ulit ung computer. rrr.. wala na si czara. she's in hongkong na! wala na ako makaka chat.. haaayy.. tas un. surf surf.. haaay. i miss KRIZALYN IMPERIAL VARONA!!! i mean. ung oh so kasabawan days namen. the non- stop laughs. lolo trips. i like to mob it mob it. rrrr. haaay.. sana mabalik ung dati. no i mean, sana laging ganito. happy. haaayy.. good times.. shitty.. fuck.. haaay.