window.onerror = handleError; // Global vars used by Day and Week functions var lastperson = "_"; var lastweekday = ""; var altcolor = false; var fill = '          ' fill = fill + fill + fill + fill + fill + fill + fill + fill + fill + fill; /* Find the start URL for a href link */ hrefstart = ''); document.write(''); document.write('
',LPersonTop,'
'); document.write('
',LTimeTop,'
'); document.write('
'); document.write('
',LSubjectTop,'
'); document.write(''); altcolor = ! altcolor; } function d(person, color, startmin, endmin, subject, timetext, docunid) { if (startmin>1240) { startpos = 0; width = 0; } else { if (startmin<480) { smin=0 } else { smin =startmin-480 }; if (endmin>1240) { emin = 1240-480 } else { emin = endmin-480 }; startpos = smin * 400 / 600; width = (emin - smin) * 400 / 600; } titletext = ' title="'+LPersonTitle+person+'\n'+LTimeTitle+timetext+'\n'+LSubjectTitle+subject+'"'; s = person+': '+timetext+' - '+subject hreftext = hrefstart+docunid+'?OpenDocument" onmousemove="mm(\''+s.replace("\'","\\\'")+'\')" onmouseout="mo()">'; if (person!=lastperson) { document.write(''); persontext = person; lastperson = person; } else { persontext = ''; } if (altcolor) { document.write(''); } else { document.write(''); }; altcolor = ! altcolor; document.write('
',persontext,'
'); document.write('
',hreftext,timetext,'
'); document.write(''); document.write('
',hreftext,subject,fill,'
'); document.write(''); document.write('
',hreftext,subject,fill,'
'); document.write(''); } function dfoot() { document.write('') } // ---------------------------------------- Week functions ---------------------------------------- function whead(lang,ampm) { setlang(lang, ampm); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); // JH - 06/22/2004 - Changed to fit new Time Bar... document.write(''); // document.write(''); document.write(''); document.write(''); altcolor = ! altcolor; } function w(person, color, startmin, endmin, subject, timetext, weekday, date, docunid, location) { if (startmin>1320) { startpos = 0; width = 0; } else { if (startmin<480) { smin=0 } else { smin =startmin-480 }; if (endmin>1320) { emin = 1320-480 } else { emin = endmin-480 }; startpos = smin * 400 / 600; width = (emin - smin) * 400 / 600; } // alert( "StartMin: " + startmin + " EndMin: " + endmin + " Width: " + width + " StartPOS: " + startpos ); if (person=="") { titletext = ' title="'+LDateTitle+weekday+' '+date+'\n'+LTimeTitle+timetext+'\n'+LSubjectTitle+subject+'"'; } else { titletext = ' title="'+LPersonTitle+person+'\n'+LDateTitle+weekday+' '+date+'\n'+LTimeTitle+timetext+'\n'+LSubjectTitle+subject+'"'; } s = person+': '+weekday+' '+date+', '+timetext+' - '+subject; hreftext = hrefstart+docunid+'?OpenDocument" onmousemove="mm(\''+s.replace("\'","\\\'")+'\')" onmouseout="mo()">'; if (person!=lastperson) { document.write(''); if (person!="") { if (altcolor) { document.write(''); } else { document.write(''); }; altcolor = ! altcolor; document.write(''); } lastperson = person; lastweekday = ""; } if (altcolor) { document.write(''); } else { document.write(''); }; altcolor = ! altcolor; if (weekday!=lastweekday) { document.write(''); document.write(''); lastweekday = weekday; } else { document.write(''); } document.write(''); document.write(''); // document.write(''); document.write(''); document.write(''); } function wfoot() { document.write('
',LDayTop,'
',LDateTop,'
',LTimeTop,'
',LSubjectTop,'
Location
',person,'
',weekday,'
',date,'
',hreftext,timetext,'
',hreftext,subject,'
',hreftext,subject,'
',hreftext,location,'
'); } function w_cobra(person, color, startmin, endmin, subject, timetext, weekday, date, docunid, location) { // Determine the position of the blue bar. if (startmin>1320) { startpos = 0; width = 0; } else { if (startmin<480) { smin=0 } else { smin =startmin-480 }; if (endmin>1320) { emin = 1320-480 } else { emin = endmin-480 }; startpos = smin * 400 / 600; width = (emin - smin) * 400 / 600; } // alert( "StartMin: " + startmin + " EndMin: " + endmin + " Width: " + width + " StartPOS: " + startpos ); // Rewrite the header information. document.getElementById("headweekday").innerText = weekday; document.getElementById("headdate").innerText = date; document.getElementById("headtime").innerText = ""; if (person=="") { titletext = ' title="'+LDateTitle+weekday+' '+date+'\n'+LTimeTitle+timetext+'\n'+LSubjectTitle+subject+'\nLocation:'+location+'"'; } else { titletext = ' title="'+LPersonTitle+person+'\n'+LDateTitle+weekday+' '+date+'\n'+LTimeTitle+timetext+'\n'+LSubjectTitle+subject+'\nLocation:'+location+'"'; } s = person+': '+weekday+' '+date+', '+timetext+' - '+subject+' - '+location; hreftext = hrefstartonhome+docunid+'?OpenDocument" onmousemove="mm(\''+s.replace("\'","\\\'")+'\')" onmouseout="mo()">'; if (person!=lastperson) { document.write(''); if (person!="") { if (altcolor) { document.write(''); } else { document.write(''); }; altcolor = ! altcolor; document.write('
',person,'
'); } lastperson = person; lastweekday = ""; } if (altcolor) { document.write(''); } else { document.write(''); }; altcolor = ! altcolor; if (weekday!=lastweekday) { // document.write('
'); // document.write('
'); lastweekday = weekday; } else { // document.write(''); } document.write('
',hreftext,subject,'
'); document.write('
',hreftext,timetext,'
'); // document.write('
',hreftext,subject,'
'); // document.write('
',hreftext,location,'
'); document.write(''); } function whead_cobra(lang,ampm) { setlang(lang, ampm); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); // JH - 06/22/2004 - Changed to fit new Time Bar... document.write(''); // document.write(''); // document.write(''); document.write(''); altcolor = ! altcolor; } // next page ============================================================================= function handleError() { return true; } window.onerror = handleError; function force(file_path) { parent.title_frame.document.title_graphic.src=file_path; } function jump(content) { parent.content_frame.location.href = "http://home.intranet/" + content; } function jump_inframe(content) { parent.content_frame.location.href = content; } function jump_newwindow(content) { window.open("http://home.intranet/" + content); } function jump_offsite(content) { // parent.location.href = content; window.open(content); } function jump_offsite_inframe(content) { // parent.location.href = content; parent.content_frame.location.href = content; } function jump_home(content) { parent.location.href = content; } function jump_both(content, nav) { parent.content_frame.location = "http://home.intranet/" + content; parent.nav_frame.location = "http://home.intranet/" + nav; } function jump_jobs(content, nav) { var browser=navigator.appName; if (browser!="Microsoft Internet Explorer"){ parent.content_frame.location="./parser_error.html"; }else{ parent.content_frame.location = content; } parent.nav_frame.location = nav; } function describe(message) { window.status=message; } function clearstatus() { window.status=" "; } function force(file_path) { parent.title_frame.document.title_graphic.src=file_path; } function newwindow() { window.open('http://www.mymanatee.org/inter/acrobat/acrobat_instructions.html','bbb','width=650,height=400,resizable=yes,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes'); } function show_calendar() { popup=window.open('calendar/calendar.html', 'calendar', 'toolbar=no, location=no, directories=no, status=no, scrollbars=yes, resizable=yes, copyhistory=no, width=450, height=400'); } function LoadPrinterFriendly() { form = window.parent.content_frame.document.forms[0]; dTitle = form.TitleDisplay.value; url = "/" + form.jsDbPath.value + "/ContentPrinter/" + dTitle + "?OpenDocument"; win = window.open(url,'ContentPrinter','resizable,status,scrollbars,width=600,height=600,top=50,left=50'); } function PrintContent() { print(); } function inPage(label) { pattern=/#/gi; test_str=window.location; str_array=pattern.exec(test_str); if(str_array == null) { window.location=window.location+"#"+label; } else { window.location=RegExp.leftContext+"#"+label; } } function handleError() { return true; }
',LDayTop,'
',LDateTop,'
',LTimeTop,'
',LSubjectTop,'