// WebWisdom JavaScript Shared Browser Version 3.0 // Copyright 1999 Syracuse University and WebWisdom.com // Contact Geoffrey Fox gcf@npac.syr.edu // var bigboss= window.opener; var WW_madebytango = true; function WW_pageisloaded() { var newdoc = self.document; var currentdate = new Date(); var begintime = bigboss.WW_beginningoftime; newdoc.writeln('WWText Cube Page'); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); // Tango Stream Information newdoc.writeln('

Tango Group and Stream Sequence

'); newdoc.writeln('' + currentdate.toString() + '
'); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); var oldgroup = ''; for(var m=0; m<=bigboss.WW_tangosequencenumber;m++) { var curcolor = "white"; var localgroup = bigboss.WW_labelstream[m].grouplabel; if( localgroup != oldgroup) curcolor = "yellow"; var eventno = bigboss.WW_labelstream[m].eventnumber; var eventprint = ""; if(eventno > 0 ) { eventprint = '' + eventno +''; } var timeprint = bigboss.WW_toseconds(bigboss.WW_labelstream[m].time - begintime); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); } // End Loop over entries in WW_labelstream newdoc.writeln('
#EventTimeTickStreamGroup
' + m + '' + eventprint + '' + timeprint + '' + bigboss.WW_labelstream[m].tickcount + '' + bigboss.WW_labelstream[m].streamflag + '' + bigboss.WW_labelstream[m].grouplabel + '
'); // Tango Console Information newdoc.writeln('

WebWisdom Console

'); newdoc.writeln('' + currentdate.toString() + '
'); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); for(var mm=0; mm< bigboss.WW_countconsolemessages; mm++) { var m = bigboss.WW_countconsolemessages - mm -1; var curcolor = "white"; var localtype = bigboss.WW_consoleentry[m].type; if( localtype == 0 ) curcolor = "red"; if( localtype == 1 ) curcolor = "navajowhite"; if( localtype == 3 ) curcolor = "yellow"; newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); } // End Loop over Entries in WW_consoleentry newdoc.writeln('
#Sequence#TickMinorDHTMLMessage
Event
' + m + '' + bigboss.WW_consoleentry[m].sequencenumber + '' + bigboss.WW_consoleentry[m].tickcount + '' + bigboss.WW_consoleentry[m].numeventsdone + '' + bigboss.WW_consoleentry[m].numpointereventsdone + '' + bigboss.WW_consoleentry[m].message + '
'); // Signatures of Page Change Information newdoc.writeln('

Indicators of Page Changes

'); newdoc.writeln('' + currentdate.toString() + '
'); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); indicatorlabel = new Array('','Unload Event','Dynamic Tango','URL Change','Form Click','Link Click','Wisdom Page','Major Event','Resize Event','Set Tango Group','Document Complete'); for(var mm=0; mm< bigboss.WW_numeventindicators; mm++) { var m = bigboss.WW_numeventindicators - mm -1; var curcolor = "white"; var localtype = bigboss.WW_eventindicators[m].type; if( localtype == 7 ) curcolor = "red"; if( (localtype == 1) || (localtype == 2) ) curcolor = "navajowhite"; if( localtype == 6 ) curcolor = "yellow"; if( localtype == 9 ) curcolor ="pink"; var timeprint = bigboss.WW_toseconds(bigboss.WW_eventindicators[m].time - begintime); var indexprint = bigboss.WW_eventindicators[m].index; if( (localtype == 3) || (localtype == 4) || (localtype == 5) || (localtype == 8) ) { // Event Array if(indexprint >= 0 ) { indexprint = '' + (indexprint+1) +''; } } else { if(indexprint >= 0 ) { indexprint = '' + indexprint + ''; } } newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); newdoc.writeln(''); } // End Loop over Entries in WW_eventindicators newdoc.writeln('
#Frame#TypeTypeindexTickTimeGroupSequence#
' + m + '' + bigboss.WW_eventindicators[m].framenumber + '' + indicatorlabel[localtype] + '' + indexprint + '' + bigboss.WW_eventindicators[m].tickcount + '' + timeprint + '' + bigboss.WW_eventindicators[m].grouplabel + '' + bigboss.WW_eventindicators[m].sequencenumber + '
'); newdoc.writeln('
Load into TextCube Views
'); newdoc.writeln('
Save or Send Text Cube
'); newdoc.close(); } // End WW_pageisloaded()