var old_calendar='Apr 26';
var new_calendar='May 9';
var x_year='2008';
var ad_creatio='7516';
var n_day='26';
var n_month='4';
var w_day='Friday';
var m_saints=' Hieromartyr Basil, Bishop of Amaseia (+ c.323); Holy Hierarch Stephen, Bishop of Great Perm (+1396); Righteous Virginmartyr Glaphyra (+322); Venerable Joannicius of Devich in Serbia (+1440); Venerable Justa; MP: New Hieromartyr Priest John and his children Nicholas and Peter (+1918)';
var paschalcycle='';
var readings='Acts 5:1-11; Jn 5:30-6:2; ';
var fastinfo='';
function doSaintsLink()
{
x_month = new Number(n_month);
//x_month++;
url = 'http://www.oca.org/FSlives.asp?SID=4&M=' + x_month + '&D=' + n_day;
//e.g. http://www.oca.org/FSlives.asp?SID=4&M=5&D=7
window.open(url, 'nWindow', 'height=500,width=800,scrollbars=yes,resizable=yes');
}
function doReadings(book, chapter) {
// LAUNCH LECTIONARY 1.0
var url = 'http://www.ponomar.net/cgi-bin/bible.cgi?mode=specify&version=kjv&book=' + book + '&reading=' + chapter;
window.open(url, 'bible', 'height=500,width=800,scrollbars=yes,resizable=yes');
}
function printDateDefault()
{
//deprecated
document.write(w_day + ', ' + old_calendar + ' ' + x_year + ' (' + ad_creatio + ')');
}
function printPaschalCycle()
{
document.write('' + paschalcycle + ' ');
}
function printSaints()
{
document.write(m_saints);
}
function printReadings()
{
document.write(readings);
}
function printIcon()
{
//document.write('
');
// INTERNET EXPLORER CANNOT HANDLE ICON OF THE DAY CORRECTLY
try
{
if (navigator.userAgent.indexOf('MSIE') != -1) {
document.write('');
//window.status = 'Internet Explorer does not support Icon of the day. Tomorrow's Icon may appear.';
} else {
document.write('');
//window.status = 'Thank you for using Mozilla Firefox';
}
} catch (e) {
// do nothing
}
}
function doPrologue(month, day) {
var nmonth = new Number(month);
var mths = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
var prolUrl = 'day=' + day + '&month=' + mths[nmonth];
window.open('http://www.westsrbdio.org/prolog/my.html?' + prolUrl, 'nPrologue', 'height=500,width=800,scrollbars=yes,resizable=yes');
}
function doLink()
{
window.open('http://www.ponomar.net/cgi-bin/index.cgi', 'nHelp', 'height=500,width=800,scrollbars=yes,resizable=yes');
}