function stb5()
{
  document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"966\" height=\"147\">");
  document.write("<param name=movie value=\"/sample5/stb_masthead.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/sample5/stb_masthead.swf\" quality=high wmode=transparent width=966 height=147 pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\">");
  document.write("</embed>");
  document.write("</object>");
}

function top_div()
{
browser_name = which_browser(); 

switch(browser_name)
{
case "Firefox":
  document.write("<div id='main_menu' align='center' style='margin-top: 0px; margin-left: -16px; padding-bottom: .25in;'>");
  break;    
case "Safari":
  document.write("<div id='main_menu' align='center' style='margin-top: 0px; margin-left: -16px; padding-bottom: .25in;'>");
  break;
case "Chrome":
  document.write("<div id='main_menu' align='center' style='margin-top: 0px; margin-left: -17px; padding-bottom: .25in;'>");
  break;
default:
  document.write("<div id='main_menu' align='center' style='margin-top: 0px; margin-left: 0px; padding-bottom: .25in;'>");
}
}

function top_row()
{
browser_name = which_browser(); 

switch(browser_name)
{
case "Firefox":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;    
case "Safari":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;
case "Chrome":
  document.write("<tr><td class='top' style='padding-bottom: 34px;'>");
  break;
default:
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
}
/* document.write("<script>sta1();</script>"); */
document.write("<img src='/images/StB_Banner_05.jpg' border='0' alt='[Saint Barbara Greek Orthodox Church]'>");
document.write("</td></tr>");
}

function top_row1()
{
browser_name = which_browser(); 

switch(browser_name)
{
case "Firefox":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;    
case "Safari":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;
case "Chrome":
  document.write("<tr><td class='top' style='padding-bottom: 34px;'>");
  break;
default:
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
}
/* document.write("<script>sta1();</script>"); */
document.write("<img src='/images/StB_Banner_01.jpg' border='0' alt='[Saint Barbara Greek Orthodox Church]'>");
document.write("</td></tr>");
}


function top_row2()
{
browser_name = which_browser(); 

switch(browser_name)
{
case "Firefox":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;    
case "Safari":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;
case "Chrome":
  document.write("<tr><td class='top' style='padding-bottom: 34px;'>");
  break;
default:
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
}
/* document.write("<script>sta2();</script>"); */
document.write("<img src='/images/StB_Banner_02.jpg' border='0' alt='[Saint Barbara Greek Orthodox Church]'>");

document.write("</td></tr>");
}


function top_row3()
{
browser_name = which_browser(); 

switch(browser_name)
{
case "Firefox":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;    
case "Safari":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;
case "Chrome":
  document.write("<tr><td class='top' style='padding-bottom: 34px;'>");
  break;
default:
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
}
/* document.write("<script>sta3();</script>"); */
document.write("<img src='/images/StB_Banner_03.jpg' border='0' alt='[Saint Barbara Greek Orthodox Church]'>");

document.write("</td></tr>");
}

function top_row4()
{
browser_name = which_browser(); 

switch(browser_name)
{
case "Firefox":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;    
case "Safari":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;
case "Chrome":
  document.write("<tr><td class='top' style='padding-bottom: 34px;'>");
  break;
default:
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
}
/* document.write("<script>sta4();</script>"); */
document.write("<img src='/images/StB_Banner_04.jpg' border='0' alt='[Saint Barbara Greek Orthodox Church]'>");

document.write("</td></tr>");
}

function top_row5()
{
browser_name = which_browser(); 

switch(browser_name)
{
case "Firefox":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;    
case "Safari":
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
  break;
case "Chrome":
  document.write("<tr><td class='top' style='padding-bottom: 34px;'>");
  break;
default:
  document.write("<tr><td class='top' style='padding-bottom: 33px;'>");
}
document.write("<script>stb5();</script>");

document.write("</td></tr>");
}
function firefox_br()
{
browser_name = which_browser(); 

switch(browser_name)
{
case "Firefox":
  document.write("<br>");
  break;    
}
}

function footer()
{
  document.write("<tr><td class='bottom' height='100'>");
  document.write("<a href='/'><img src='/images/bullet_diamond_white.gif' border='0' alt='[Bullet]'></a> ");
  document.write("<a href='/' class='text_9pt_white'>Home</a> :: ");      
  document.write("<a href='/about/' class='text_9pt_white'>About Us</a> :: ");
  document.write("<a href='/calendar/' class='text_9pt_white'>Calendar</a> :: ");
  document.write("<a href='/faith/' class='text_9pt_white'>Faith</a> :: ");
  document.write("<a href='/ministries/' class='text_9pt_white'>Ministries</a> :: ");
  document.write("<a href='/ministries/youth.php' class='text_9pt_white'>Youth</a> :: "); 
  document.write("<a href='/outreach/' class='text_9pt_white'>Outreach</a> :: ");
  document.write("<a href='/events/' class='text_9pt_white'>Events</a> :: ");
  document.write("<a href='/epistle/' class='text_9pt_white'>Epistle</a> :: ");
  document.write("<a href='/hall/' class='text_9pt_white'>Rentals</a> :: ");
  document.write("<a href='/museum/' class='text_9pt_white'>Museum</a> :: ");
  document.write("<a href='/about/contact_us.php' class='text_9pt_white'>Contact Us</a><br>");

  document.write("<div style='padding-top: 35px;'>");
  document.write("<a href='#top' class='text_9pt_white'>Top of Page</a>");
  document.write("</div>");
  document.write("</td></tr>");
}

function footer_white()
{
  document.write("<img src='/images/bullet_diamond_white.gif' border='0' alt='[Bullet]'> ");
  document.write("<a href='/about/' class='text_9pt_white'>About Us</a> :: ");      
  document.write("<a href='/ministries/' class='text_9pt_white'>Ministries</a> :: ");     
  document.write("<a href='/calendar/' class='text_9pt_white'>Calendar</a> :: ");     
  document.write("<a href='/events/' class='text_9pt_white'>Events</a> :: ");     
  document.write("<a href='/bulletin/' class='text_9pt_white'>Monthly Newsletter</a> :: ");     
  document.write("<a href='/stewardship/' class='text_9pt_white'>Stewardship</a><br>"); 
  document.write("<a href='/faith/' class='text_9pt_white'>Faith</a> :: ");
  document.write("<a href='/photo/' class='text_9pt_white'>Photos</a> :: ");
  document.write("<a href='/archive/' class='text_9pt_white'>Archive</a> :: ");    
  document.write("<a href='/about/contact_us.htm' class='text_9pt_white'>Contact Us</a><br>");
}

function footer_gold()
{
  document.write("<img src='/images/bullet_diamond_gold.gif' border='0' alt='[Bullet]'> ");
  document.write("<a href='/' class='text_9pt_gold'>All Samples</a> :: ");  
  document.write("<a href='/sample/' class='text_9pt_gold'>Fr. Simon's Sample</a> :: ");    
  document.write("<a href='/sample1/' class='text_9pt_gold'>Sample 1</a> :: ");
  document.write("<a href='/sample2/' class='text_9pt_gold'>Sample 2</a> :: ");
  document.write("<a href='/sample3/' class='text_9pt_gold'>Sample 3</a> :: ");
  document.write("<a href='/sample4/' class='text_9pt_gold'>Sample 4</a> :: ");
  document.write("<a href='/sample5/' class='text_9pt_gold'>Sample 5</a><br>");
}


function footer_HOLD()
{
  document.write("<tr><td class='bottom' height='147'>");
  document.write("<img src='/images/bullet_diamond_black.gif' border='0' alt='[Bullet]'> ");   
  document.write("<a href='/' class='text_9pt_white'>Home</a> :: ");
  document.write("<a href='/about/' class='text_9pt_white'>About Us</a> :: ");
  document.write("<a href='/locations/' class='text_9pt_white'>Temp</a> :: ");
  document.write("<a href='/services/' class='text_9pt_white'>Temp</a> :: ");
  document.write("<a href='/preplanning/' class='text_9pt_white'>Temp</a> :: ");
  document.write("<a href='/shop/' class='text_9pt_white'>Temp</a> :: ");
  document.write("<a href='/testimonials/' class='text_9pt_white'>Temp</a> :: ");
  document.write("<a href='/about/class='text_9pt_white'>Temp</a> :: ");
  document.write("<a href='/about/contact_us.htm' class='text_9pt_white'>Contact Us</a><br>");

  document.write("<div style='padding-top: .8in;'>");
  document.write("<a href='#top' class='text_9pt_white'>Top of Page</a>");
  document.write("</div>");
  document.write("</td></tr>");
}

function list_sign_up()
{
  document.write("<div style='text-align: center; line-height: 1.5;'>");
  document.write("<div style='padding-bottom: 7px;'><img src='/images/bullet.gif' border='0' alt='[Bullet]'> ");
  document.write("<a href='http://lists.saintbarbara.net/mailman/listinfo/stbarbara_members/' class='text_10pt' target='_blank'>Sign-up for the Saint Barbara Church e-mail list!</a></div>");
  document.write("<img src='/images/bullet.gif' border='0' alt='[Bullet]'> ");
  document.write("<a href='http://lists.saintbarbara.net/mailman/listinfo/santa_barbara_greek_festival_list/' class='text_10pt' target='_blank'>Sign-up for the Santa Barbara Greek Festival e-mail list!</a><br>");
  document.write("<div style='font-size: 9pt; color: gray; padding-top: 5px; padding-bottom: 0px;'>");
  document.write("This will launch a new window. ");
  document.write("You will need to confirm your signup by e-mail.");
  document.write("</div>");
  document.write("</div>");
}

function which_browser() {
// Browser Detection Javascript
// copyright 1 February 2003, by Stephen Chapman, Felgall Pty Ltd

// You have permission to copy and use this javascript provided that
// the content of the script is not changed in any way.

var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf("chrome") != -1) return 'Chrome';
if (agt.indexOf("opera") != -1) return 'Opera';
if (agt.indexOf("staroffice") != -1) return 'Star Office';
if (agt.indexOf("webtv") != -1) return 'WebTV';
if (agt.indexOf("beonex") != -1) return 'Beonex';
if (agt.indexOf("chimera") != -1) return 'Chimera';
if (agt.indexOf("netpositive") != -1) return 'NetPositive';
if (agt.indexOf("phoenix") != -1) return 'Phoenix';
if (agt.indexOf("firefox") != -1) return 'Firefox';
if (agt.indexOf("safari") != -1) return 'Safari';
if (agt.indexOf("skipstone") != -1) return 'SkipStone';
if (agt.indexOf("msie") != -1) return 'Internet Explorer';
if (agt.indexOf("netscape") != -1) return 'Netscape';
if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
if (agt.indexOf('\/') != -1) {
if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
return navigator.userAgent.substr(0,agt.indexOf('\/'));}
else return 'Netscape';} else if (agt.indexOf(' ') != -1)
return navigator.userAgent.substr(0,agt.indexOf(' '));
else return navigator.userAgent;
}

function show_date()
{
// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************

// Get today's current date.
var now = new Date();

// Array list of days.
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');

// Array list of months.
var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

// Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
								}

// Join it all together
// today =  days[now.getDay()] + ", " +
//               months[now.getMonth()] + " " +
//                date + ", " +
//                 (fourdigits(now.getYear())) ;
// 
day_of_week = days[now.getDay()]
today =  months[now.getMonth()] + " " +
               date + ", " +
                (fourdigits(now.getYear())) ;

// Print out the data.
document.write("<span style='font: 9pt arial, helvetica, sans serif; font-weight: bold;'>"+day_of_week+", "+today+"</span>");
}

function show_year()
{
// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************

// Get today's current date.
var now = new Date();

// Array list of days.
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');

// Array list of months.
var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

// Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
								}

// Join it all together
// today =  days[now.getDay()] + ", " +
//               months[now.getMonth()] + " " +
//                date + ", " +
//                 (fourdigits(now.getYear())) ;
// 
day_of_week = days[now.getDay()]
today =  months[now.getMonth()] + " " +
               date + ", " +
                (fourdigits(now.getYear())) ;

year =  (fourdigits(now.getYear())) ;

// Print out the data.
document.write(year);
}

