window.onload=fnInit; function fnInit() { var str; var oStyleSheet=document.styleSheets[0]; if (oStyleSheet.href != null) { str = document.location.href; if ('f=1' == str.substr(str.length-3, 3)) oStyleSheet.href = 'include/style.asp?f=1'; } } function toggle_font_size() { var str = document.location.href; if ('f=1' == str.substr(str.length-3, 3)) window.location.href = window.location.href; else { if (-1 == str.search('[?]')) { window.location.href = window.location.href + '?f=1'; } else { window.location.href = window.location.href + '&f=1'; } } } function show_font_text() { var oStyleSheet=document.styleSheets[0]; var str; if (oStyleSheet.rules != null) { str = document.location.href; if (oStyleSheet.rules[0].style.fontSize == '9pt') { if ('f=1' == str.substr(str.length-3, 3)) document.write('+ Make Text Smaller'); else document.write('+ Make Text Larger'); } else { if ('f=1' == str.substr(str.length-3, 3)) document.write('+ Make Text Larger'); else document.write('+ Make Text Smaller'); } } } function show_date() { var monthname = new Array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); var theDate = new Date(); if (theDate.getYear() > 200) { document.write(monthname[theDate.getMonth()] + ' ' + theDate.getDate() + ', ' + theDate.getYear()); } else { document.write(monthname[theDate.getMonth()] + ' ' + theDate.getDate() + ', ' + (1900+theDate.getYear())); } } // Fireworks support function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i