');
}
//=============================================================================
function ddmmmyy() {
var d = ddmmmyy.arguments[0];
uDate = new Date(d.lastModified);
return uDate.getDate()+' '+mmm[uDate.getMonth()]+' '+uDate.getFullYear();
}
function lastLine() {
uDate = new Date(document.lastModified);
put('
');
putTab('aboutus', "What we are");
putTab('neighborhood', "Where we live");
putTab('people', "Who we are");
putTab('programs', "What we do");
putTab('community', "What we look like");
putTab('getinvolved', "What you can do");
putTab('contact', "Who to call");
putTab('news', "What we're doing");
put('
');
}
function swapImage(id, redFlag) {
var elm = document.getElementById(id);
var img = 'gifs/'+(redFlag?(id+'_red'):id)+'.gif';
document.getElementById(id).src = img;
}
function picQuote() { // position:0|1|5|9 left|right who text [ overwriteName ]
var a=picQuote.arguments;
if (a[0] == 0 || a[0] == 5) put('
');
}
function space() { // inTable?[0:1] width height
if (space.arguments[0] == 1) put('
');
put('');
if (space.arguments[0] == 1) put('
');
}
function dot() { // position:0|1|5|9 dotImage(9x9) text
var a=dot.arguments;
if (a[0] == 0 || a[0] == 5) put('
');
put(''
+'
'
+'
'
+'
');
for (var i=2; i
');
if (a[0] == 9 || a[0] == 5) put('
');
}
function calWindow(url,name) {
if (screen.width > 0) wide = screen.width - 12; else wide = 800;
if (screen.height > 0) high = screen.height - 30; else high = 600;
var newwindow = window.open(url,name,'height='+high+',width='+wide+',resizable=yes,scrollbars=yes,menubar=yes,left=0,top=0');
if (window.focus) newwindow.focus();
}
function calendars() { // Calendars
var a=calendars.arguments;
var x = 0;
for (var i=0; i'+a[i+1]+'');
dot(x,"gifs/dotRed.gif",''+a[i+1]+'');
}
space(0,1,6);
}
function needsList() { // Text item [item...]
var a=needsList.arguments;
if (a[0] != "") {
space(0,1,6);
put('
'+a[0]);
}
var x=0;
for (var i=1; i'
+'
'
+'
'+a[0]+'
');
for (var i=1; i
'
+'
'
+'
'
+'
'+a[i]+'
'
+'
');
put('');
}
function documents() { // title doc [doc...]
var a=documents.arguments;
put('
'
+'
'+a[0]+'
');
for (var i=1; i'+a[i]+'');
put('
');
}
function picWindow(url) {
var pic = window.document.createElement("img");
pic.src = url;
if (pic.width > 0) wide = pic.width + 20; else wide = 500;
if (pic.height > 0) high = pic.height + 30; else high = 500;
var dot = url.lastIndexOf('.');
var slsh = url.lastIndexOf('/') + 1;
var name = 'pic'+url.substring(slsh,dot);
var newwindow = window.open(url,name,'height='+high+',width='+wide+',resizable=yes');
if (window.focus) newwindow.focus();
}
function thumbNail() { // picNumbers
put('
');
for (var i=0; i')
put('
')
}
function slideshowThumbnails() { // picNumbers...
for (var i=0; i');
}
function googleMap() { // type
var map1 = 'http://maps.google.com/maps?q=925+Payne+Ave+Ste+B1,+Saint+Paul,+MN+55130&hl=en&ll=44.969216,-93.073683&spn=0.011264,0.027788&sll=44.977519,-93.055165&sspn=0.011263,0.027788&z=16';
var map2 = 'http://maps.google.com/maps?q=925+Payne+Ave,+Saint+Paul,+MN+55106&hl=en&ll=44.963583,-93.018494&spn=0.180247,0.444603&sll=44.898201,-92.872925&sspn=0.360904,0.889206&z=12';
put(''+googleMap.arguments[1]+'');
}
//-- iPhone
function updateOrientation() {
var orientation=window.orientation;
switch(orientation) {
case 0: document.body.setAttribute("class","portrait");
document.getElementById("currentOrientation").innerHTML="";
document.getElementById("leftContainer").innerHTML='';
document.getElementById("rightContainer").innerHTML='';
break;
case 90: document.body.setAttribute("class","landscapeLeft");
document.getElementById("currentOrientation").innerHTML='
The LORD lifts up those who are bowed down.
';
document.getElementById("leftContainer").innerHTML='';
document.getElementById("rightContainer").innerHTML='';
break;
case -90: document.body.setAttribute("class","landscapeRight");
document.getElementById("currentOrientation").innerHTML='