﻿	

//Check for valid email address
function check_form() {
        for (var i = 0; i < document.forms['genInfo'].elements.length; i++) {
                var FormElement = document.forms['genInfo'].elements[i].name
                 
                if (FormElement =="address") {
var vlength
vlength=document.forms['genInfo'].elements[i].value.length-1

if (document.forms['genInfo'].elements[i].value.length == 0)
{
        alert("You must enter a valid email address.  Example:  Name@aol.com")
        return false
}

// Check for a valid email address (Does it contain a "@" and ".")
if(document.forms['genInfo'].elements[i].value.indexOf('@', 0) == -1 || document.forms['genInfo'].elements[i].value.indexOf('.',0)==-1)
{
        alert("You must enter a valid email address.  Example:  Name@aol.com")
        return false
}
// Check for a valid email address ("@" or "." cannot be first character)
if(document.forms['genInfo'].elements[i].value.charAt(0)=='@' || document.forms['genInfo'].elements[i].value.charAt(0)=='.')
{
        alert("You must enter a valid email address.  Example:  Name@aol.com")
        return false
}
// Check for a valid email address ("@" or "." cannot be last character)
if(document.forms['genInfo'].elements[i].value.charAt(vlength)=='@' || document.forms['genInfo'].elements[i].value.charAt(vlength)=='.')
{
        alert("You must enter a valid email address.  Example:  Name@aol.com")
        return false
}
// Check for a valid email address (Cannot have "@." or ".@")
if(document.forms['genInfo'].elements[i].value.indexOf('@.')!=-1 || document.forms['genInfo'].elements[i].value.indexOf('.@')!=-1)
{
        alert("You must enter a valid email address.  Example:  Name@aol.com")
        return false
}


                               // Check for a valid email address (Cannot have more than one "@")
var char1=document.forms['genInfo'].elements[i].value.indexOf('@') 
var char2=document.forms['genInfo'].elements[i].value.lastIndexOf('@')

if(char1!=char2)
{
        alert("You have an extra '@'. You must enter a valid email address.  Example:  Name@aol.com")
        return false
}                               
          }
                        
        }
        
 window.open('','info','scrollbars=no,resizable=no,width=525,height=650,top=10,left=150')       
        
        return true    
}

//Start Breadcrumb Script ============================================================
	/* The variable below determines what the home page, or the root directory,
of your site is named. The default is "Home". To use the address of your
site (www.yoursite.com), leave the value blank (nothing between the double quotes). */

var homePage = "Home";

/* The variable below controls the character(s) that the script places between
the link levels. The default is set to be the > (greater than) HTML entity
with a space on either side. Change this to whatever you want, but if the
character has an HTML entity, be sure to use that. */

var sepChars = " > ";

/* In most cases, the value below should just be a / sign. Or, you can use the
fully qualified http://www.yoursite.com address if you'd rather. Basically,
it just tells the script what all the link addresses will start with. */

var linkHome = "/";

/* Leave the value below set to 'true' if you want the script to not list your
index page name (index.html) at the end of the links path. The values 'true' or
'false' should be used without quotes. */

var hideIndex = true;

/* Leave the value below set to 'true' if you want the script to convert any
underscores in directory or names to spaces. For instance, it would convert
"golive_actions" to "golive actions". The values 'true' or 'false' should be
used without quotes. */

var UToSpace = true;

/* Leave the value below set to 'true' if you want the script to convert any dashes
in directory or page names to spaces. For instance, it would convert "golive-actions"
to "golive actions". The values 'true' or 'false' should be used without quotes. */

var DToSpace = false;

/* The variable below allows you to change the capitalization of the directory and
pages names in your menu. The value should be a number between 0 and 3, without
quotation marks. Options are as follows: 0 = no change; 1 = initial caps;
2 = all upper case; 3 = all lower case */

var changeCaps = 3;

/* If set to true, the variable below will not display the file's extension for
any file names displayed in the menu. Otherwise, set to false to show extensions.
The values 'true' or 'false' should be used without quotes. */

var hideExt = true;

//-------------------------------------------------------------------------
// SCRIPT FUNCTIONS  (shouldn't need to edit code below)...
//-------------------------------------------------------------------------

// build breadcrumb links...
function MPJSBackLinks() {
var linkHTML = '';
var thisURL = window.location + '';
var urlPair = thisURL.split('//');
if (urlPair.length > 1) thisURL = urlPair[1];
var dirArray = thisURL.split('/');
var linkArray = dirArray.slice(1);
var linkDir = '/';
var currentPage = '';
if (linkHome != '' && linkHome != '/') {
  var thisTest = linkHome.split('//');
  if (thisTest.length > 1) linkHome = thisTest[1];
  startArray = linkHome.split('/');
  var backCount = 0;
  for (var n=0; n<startArray.length; n++) {
    if (startArray[n] == '..') backCount++;
      else break;
    }
  if (backCount > 0) {
    var part1 = dirArray.slice(0, (dirArray.length - backCount - 1));
    var part2 = startArray.slice(backCount);
    startArray = part1.concat(part2);
    } else {
    var newStart = new Array(dirArray[0]);
    for (var n=1; n<startArray.length; n++) {
      var thisTest = (typeof dirArray[n] != "undefined") ? dirArray[n] : false;
      if (thisTest && thisTest == startArray[n]) newStart[n] = startArray[n];
        else break;
      }
    startArray = newStart;
    }
  if (startArray.length > 1) {
    var lastOne = startArray[startArray.length - 1];
    if (lastOne != '') {
      var thisTest = lastOne.split('.');
      if (thisTest.length > 1) startArray[startArray.length - 1] = '';
        else startArray[startArray.length] = '';
      }
    if (homePage == '') homePage = startArray[startArray.length-2];
    linkArray = dirArray.slice(startArray.length - 1);
    if (startArray[0] != '') startArray[0] = "http://"+startArray[0];
    linkDir = startArray.join('/');
    } else linkArray = dirArray.slice(1);
  } else {
  linkArray = dirArray.slice(1);
  if (homePage == '') homePage = dirArray[0];
  }
var backTrack = 1;
if (linkArray[linkArray.length - 1] != '') {
  var lastOne = linkArray[linkArray.length - 1];
  var testName = lastOne.split('.');
  if (testName[0] == 'index' || testName[0] == 'default') {
    backTrack = 2;
    currentPage = linkArray[linkArray.length - 2];
    } else if (hideExt) currentPage = testName[0]
    else currentPage = lastOne;
  } else {
  backTrack = 2;
  currentPage = linkArray[linkArray.length - 2];
  }
var html = '';
if (linkArray.length >= backTrack) {
  linkArray = linkArray.slice(0, linkArray.length - backTrack);
  var links = new Array();
  if (homePage != '') {
    homePage = MPBCParseText(homePage, UToSpace, DToSpace, changeCaps);
    links[links.length] = '<a href="'+linkDir+'">'+homePage+'</a>';
    }
  var baseDir = linkDir;
  for (var n=0; n<linkArray.length; n++) {
    baseDir += linkArray[n] + '/';
    var thisText = MPBCParseText(linkArray[n], UToSpace, DToSpace, changeCaps);
    links[links.length] = '<a href="'+baseDir+'">'+thisText+'</a>';
    }
  if (currentPage != '') links[links.length] = MPBCParseText(currentPage, UToSpace, DToSpace, changeCaps);
  html = '<div class="mp_backlinks">'+links.join(sepChars)+'<\/div>';
  }
return html;
}
// parse string through text filters
function MPBCParseText(thisText, UToSpace, DToSpace, changeCaps) {
if (typeof thisText != "undefined" && thisText) {
  if (DToSpace) thisText = MPBCReplaceChar('-', ' ', thisText);
  if (UToSpace) thisText = MPBCReplaceChar('_', ' ', thisText);
  if (changeCaps) thisText = MPBCFixCaps(thisText, changeCaps);
  } else thisText = '';
return thisText;
}
// find and replace single character in string...
function MPBCReplaceChar(oldChar, newChar, thisString) {
var newString = '';
for (var n=0; n<thisString.length; n++) {
  newString += (thisString.charAt(n) == oldChar) ? newChar : thisString.charAt(n);
  }
return newString;
}
// determine changes in capitalization...
function MPBCFixCaps(thisString, changeCaps) {
if (changeCaps == 1) thisString = MPBCUCWords(thisString);
  else if (changeCaps == 2) thisString = thisString.toUpperCase();
  else if (changeCaps == 3) thisString = thisString.toLowerCase();
return thisString;
}
// capitalize the first letter of every word...
function MPBCUCWords(thisString) {
var thisArray = thisString.split(' ');
var newString = '';
for (var n=0; n<thisArray.length; n++) {
  var firstChar = thisArray[n].charAt(0).toUpperCase();
  var theRest = thisArray[n].substring(1, thisArray[n].length);
  newString += firstChar+theRest+' ';
  }
return newString.substring(0, newString.length - 1);
}
//document.write(MPJSBackLinks());


// End Breadcrumb Script ============================================================

var searchbarcontent = '';
searchbarcontent = searchbarcontent + '<form action="http://www.priestsforlife.org/google-search-results.htm" id="cse-search-box">';		
searchbarcontent = searchbarcontent + '<a  href="http://www.priestsforlife.org/welcome/index.htm" class="masternavigation">WELCOME</a>&nbsp;&nbsp;';
searchbarcontent = searchbarcontent + '<span class="navdash">-</span>&nbsp;&nbsp;';
searchbarcontent = searchbarcontent + '<a  href="http://www.priestsforlife.org/intro/introbrochure.html" class="masternavigation">WHO WE ARE</a>&nbsp;&nbsp; <span class="navdash">-</span>&nbsp;&nbsp;';
searchbarcontent = searchbarcontent + '<a  href="http://www.priestsforlife.org/blog" class="masternavigation">OUR BLOGS</a>&nbsp;&nbsp; <span class="navdash">-</span>&nbsp;&nbsp;';
searchbarcontent = searchbarcontent + '<a  href="http://www.priestsforlife.org/media/index.htm" class="masternavigation">MULTIMEDIA</a>&nbsp;&nbsp; <span class="navdash">-</span>&nbsp;&nbsp;&nbsp;';
searchbarcontent = searchbarcontent + '<a  href="https://www.priestsforlife.org/store/" class="masternavigation">STORE</a>&nbsp;&nbsp;';
searchbarcontent = searchbarcontent + '<span class="navdash">-</span>&nbsp;&nbsp;';
searchbarcontent = searchbarcontent + '<a  href="http://www.priestsforlife.org/donate/index.aspx" class="masternavigation">DONATE</a>&nbsp;&nbsp; <span class="navdash">-</span>&nbsp;&nbsp;';
searchbarcontent = searchbarcontent + '<script type="text/javascript" src="http://www.google.com/jsapi"></script>';
searchbarcontent = searchbarcontent + '<script type="text/javascript">';
searchbarcontent = searchbarcontent + 'google.load(\'search\', \'1\');';
searchbarcontent = searchbarcontent + 'google.setOnLoadCallback(function() {';
searchbarcontent = searchbarcontent + 'google.search.CustomSearchControl.attachAutoCompletion(\'017401388298281861776:dwqhiafvw-g\',document.getElementById(\'q\'),\'cse-search-box\');';
searchbarcontent = searchbarcontent + '});';
searchbarcontent = searchbarcontent + '</script>';
searchbarcontent = searchbarcontent + '<input type="hidden" name="cx" value="017401388298281861776:dwqhiafvw-g" />';
searchbarcontent = searchbarcontent + '<input type="hidden" name="cof" value="FORID:10" />';
searchbarcontent = searchbarcontent + '<input type="hidden" name="ie" value="UTF-8" />';
searchbarcontent = searchbarcontent + '<input type="text" name="q" id="q" autocomplete="off" size="15" />';
searchbarcontent = searchbarcontent + '<input type="submit" name="sa" value="Search" style="height: 23px" />';
searchbarcontent = searchbarcontent + '</form>';
searchbarcontent = searchbarcontent + '<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></script>';

var searchbarcontentsp = '';
searchbarcontentsp = searchbarcontentsp + '<form action="http://www.priestsforlife.org/spanish/google-search-results.htm" id="cse-search-box">';
searchbarcontentsp = searchbarcontentsp + '<a class="masternavigation" href="http://www.priestsforlife.org/defendinglife/defendiendo-la-vida.htm">BIENVENIDA</a>&nbsp;&nbsp; ';
searchbarcontentsp = searchbarcontentsp + '<span class="navdash">-</span>&nbsp;&nbsp;';
searchbarcontentsp = searchbarcontentsp + '<a class="masternavigation" href="/spanish/blog/index.php">BLOG</a>&nbsp;&nbsp; <span class="navdash">-</span>&nbsp;&nbsp;';
searchbarcontentsp = searchbarcontentsp + '<a  href="http://www.youtube.com/contraelaborto" class="masternavigation" target="_blank">VIDEO</a>&nbsp;&nbsp; <span class="navdash">-</span>&nbsp;&nbsp;&nbsp;';
searchbarcontentsp = searchbarcontentsp + '<a  href="https://www.priestsforlife.org/store/c-52-spanish-espaol.aspx" class="masternavigation">TIENDA</a>&nbsp;&nbsp;'; 
searchbarcontentsp = searchbarcontentsp + '<span class="navdash">-</span>&nbsp;&nbsp;';
searchbarcontentsp = searchbarcontentsp + '<a  href="/donate/sp-donate-creditcard.aspx" class="masternavigation">DONA PARA NUESTRA CAUSA</a>&nbsp;&nbsp; <span class="navdash">-</span>&nbsp;&nbsp;';
searchbarcontentsp = searchbarcontentsp + '<script type="text/javascript" src="http://www.google.com/jsapi"></script>';
searchbarcontentsp = searchbarcontentsp + '<script type="text/javascript">';
searchbarcontentsp = searchbarcontentsp + '  google.load(\'search\', \'1\');';
searchbarcontentsp = searchbarcontentsp + '  google.setOnLoadCallback(function() {';
searchbarcontentsp = searchbarcontentsp + '    google.search.CustomSearchControl.attachAutoCompletion(';
searchbarcontentsp = searchbarcontentsp + '      \'017401388298281861776:-rvrgcvyir4\',';
searchbarcontentsp = searchbarcontentsp + '      document.getElementById(\'q\'),';
searchbarcontentsp = searchbarcontentsp + '      \'cse-search-box\');';
searchbarcontentsp = searchbarcontentsp + '  });';
searchbarcontentsp = searchbarcontentsp + '</script>';
searchbarcontentsp = searchbarcontentsp + '    <input type="hidden" name="cx" value="017401388298281861776:-rvrgcvyir4" />';
searchbarcontentsp = searchbarcontentsp + '    <input type="hidden" name="cof" value="FORID:10" />';
searchbarcontentsp = searchbarcontentsp + '    <input type="hidden" name="ie" value="UTF-8" />';
searchbarcontentsp = searchbarcontentsp + '    <input type="text" name="q" id="q" autocomplete="off" size="15" />';
searchbarcontentsp = searchbarcontentsp + '    <input type="submit" name="sa" value="Buscar" />';
searchbarcontentsp = searchbarcontentsp + '</form>';
searchbarcontentsp = searchbarcontentsp + '<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=es"></script>';

var sharebarcontent = '<table align="left" width="100%" )" ><tr width="100%"><td align="left">';
sharebarcontent = sharebarcontent + '<img height="24" src="/images/email_icon.gif" width="24" />&nbsp;<a href="javascript:void(0)" onclick="infoWindow=window.open(\'\',\'info\',\'scrollbars=no,resizable=yes,width=500,height=525,left=125,top=10\');document[\'tellafriend\'].submit()" style="color:#173553;"><span style=\"font-size:10pt;color:white\">Send to a friend</span></a>&nbsp;&nbsp; ';
sharebarcontent = sharebarcontent + '</td><td align="right"><span style=\"font-size:10pt;color:white\">Follow us on:</span> <a href="http://www.twitter.com/frfrankpavone" target="_blank"><img src="/images/homepage-images/twitter_logo.png" height="24" width="24"  border="0"/></a>&nbsp;&nbsp;&nbsp;<a href="http://www.youtube.com/frfrankpavone" target="_blank"><img src="/images/youtube_24x24.jpg" border="0"/></a>&nbsp;&nbsp;&nbsp;<a href="http://www.facebook.com/prolifepage" target="_blank"><img src="/images/facebook-24x24-1.jpg" border="0"/></a>&nbsp;&nbsp;&nbsp;<a href="http://www.linkedin.com/in/fatherfrankpavone" target="_blank"><img src="/images/linkedin-logo-24.jpg" border="0"/></a></td></tr>';
//breadcrumb row
sharebarcontent = sharebarcontent + '<tr><td align="left"><span id="breadcrumb"></span></td></tr></table>';

var sharebarcontentsp = '<table align="left" width="100%" )" ><tr width="100%"><td align="left">';
sharebarcontentsp = sharebarcontentsp + '<img height="24" src="/images/email_icon.gif" width="24" />&nbsp;<a href="javascript:void(0)" onclick="infoWindow=window.open(\'\',\'info\',\'scrollbars=no,resizable=yes,width=500,height=525,left=125,top=10\');document[\'tellafriend\'].submit()" style="color:#173553;"><span style=\"font-size:10pt;color:white\">Send to a friend</span></a>&nbsp;&nbsp; ';
sharebarcontentsp = sharebarcontentsp + '</td><td align="right"><span style=\"font-size:10pt;color:white\">Follow us on:</span> <a href="http://www.twitter.com/frfrankpavone" target="_blank"><img src="http://www.priestsforlife.org/images/homepage-images/twitter_logo.png" height="24" width="24"  border="0"/></a>&nbsp;&nbsp;&nbsp;<a href="http://www.youtube.com/contraelaborto" target="_blank"><img src="http://www.priestsforlife.org/images/youtube_24x24.jpg" border="0"/></a>&nbsp;&nbsp;&nbsp;<a href="http://www.facebook.com/sacerdotesporlavida" target="_blank"><img src="http://www.priestsforlife.org/images/facebook-24x24-1.jpg" border="0"/></a></td></tr>';
sharebarcontentsp = sharebarcontentsp + '<tr><td align="left"><span id="breadcrumb"></span></td></tr></table>';

var sharebarcontentaao = '<table align="left" width="100%" )" ><tr width="100%"><td align="left">';
sharebarcontentaao = sharebarcontentaao + '<img height="24" src="/images/email_icon.gif" width="24" />&nbsp;<a href="javascript:void(0)" onclick="infoWindow=window.open(\'\',\'info\',\'scrollbars=no,resizable=yes,width=500,height=525,left=125,top=10\');document[\'tellafriend\'].submit()" style="color:#173553;"><span style=\"font-size:10pt;color:white\">Send to a friend</span></a>&nbsp;&nbsp; ';
sharebarcontentaao = sharebarcontentaao + '</td><td align="right"><span style=\"font-size:10pt;color:white\">Follow us on:</span> <a href="http://twitter.com/alvedaking" target="_blank"><img src="http://www.priestsforlife.org/images/homepage-images/twitter_logo.png" height="24" width="24"  border="0"/></a>&nbsp;&nbsp;&nbsp;<a href="http://www.youtube.com/frfrankpavone" target="_blank"><img src="http://www.priestsforlife.org/images/youtube_24x24.jpg" border="0"/></a>&nbsp;&nbsp;&nbsp;<a href="http://www.facebook.com/dralvedaking" target="_blank"><img src="http://www.priestsforlife.org/images/facebook-24x24-1.jpg" border="0"/></a></td></tr>';
sharebarcontentaao = sharebarcontentaao + '<tr><td align="left"><span id="breadcrumb"></span></td></tr></table>';


function createtoolbar()
{
	if(document.getElementById("sharebar"))
	{
		document.getElementById("sharebar").innerHTML = '';
		document.getElementById("sharebar").innerHTML = sharebarcontent;
		document.getElementById("breadcrumb").innerHTML = MPJSBackLinks();
	}
	
	if(document.getElementById("sharebarsp"))
	{
		document.getElementById("sharebarsp").innerHTML = '';
		document.getElementById("sharebarsp").innerHTML = sharebarcontentsp;
		document.getElementById("breadcrumb").innerHTML = MPJSBackLinks();

	}


	if(document.getElementById("sharebaraao"))
	{
		document.getElementById("sharebaraao").innerHTML = '';
		document.getElementById("sharebaraao").innerHTML = sharebarcontentaao;
		document.getElementById("breadcrumb").innerHTML = MPJSBackLinks();

	}

	
	if(document.getElementById("searchbar"))
	{
		document.getElementById("searchbar").innerHTML = '';
		document.getElementById("searchbar").innerHTML = searchbarcontent;	
	}
	
	if(document.getElementById("searchbarsp"))
	{
		document.getElementById("searchbarsp").innerHTML = '';
		document.getElementById("searchbarsp").innerHTML = searchbarcontentsp;
	}
	
	
	
var africanamericanbannercontent = '';
africanamericanbannercontent = africanamericanbannercontent + '<map id="ImgMap0" name="ImgMap0">';
africanamericanbannercontent = africanamericanbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
africanamericanbannercontent = africanamericanbannercontent + '</map>';
africanamericanbannercontent = africanamericanbannercontent + '<img alt="Priests for Life - African American Outreach" src="/images/section-banners/african-american.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("africanamericanbanner"))
	{
		document.getElementById("africanamericanbanner").innerHTML = '';
		document.getElementById("africanamericanbanner").innerHTML = africanamericanbannercontent;
	}
	
	
var educationalbannercontent = '';
educationalbannercontent = educationalbannercontent + '<map id="ImgMap0" name="ImgMap0">';
educationalbannercontent = educationalbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
educationalbannercontent = educationalbannercontent + '</map>';
educationalbannercontent = educationalbannercontent + '<img alt="Priests for Life - Educational Resources" src="/images/section-banners/educational-resources.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("educationalbanner"))
	{
		document.getElementById("educationalbanner").innerHTML = '';
		document.getElementById("educationalbanner").innerHTML = educationalbannercontent;
	}

var euthanasiabannercontent = '';
euthanasiabannercontent = euthanasiabannercontent + '<map id="ImgMap0" name="ImgMap0">';
euthanasiabannercontent = euthanasiabannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
euthanasiabannercontent = euthanasiabannercontent + '</map>';
euthanasiabannercontent = euthanasiabannercontent + '<img alt="Priests for Life - Euthanasia" src="/images/section-banners/euthanasia.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("euthanasiabanner"))
	{
		document.getElementById("euthanasiabanner").innerHTML = '';
		document.getElementById("euthanasiabanner").innerHTML = euthanasiabannercontent;
	}

var freedomridesbannercontent = '';
freedomridesbannercontent = freedomridesbannercontent + '<map id="ImgMap0" name="ImgMap0">';
freedomridesbannercontent = freedomridesbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
freedomridesbannercontent = freedomridesbannercontent + '</map>';
freedomridesbannercontent = freedomridesbannercontent + '<img alt="Priests for Life " src="/freedom-rides.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("freedomridesbanner"))
	{
		document.getElementById("freedomridesbanner").innerHTML = '';
		document.getElementById("freedomridesbanner").innerHTML = freedomridesbannercontent;
	}

var genericbannercontent = '';
genericbannercontent = genericbannercontent + '<map id="ImgMap0" name="ImgMap0">';
genericbannercontent = genericbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
genericbannercontent = genericbannercontent + '</map>';
genericbannercontent = genericbannercontent + '<img alt="Priests for Life " src="/images/section-banners/Generic.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("genericbanner"))
	{
		document.getElementById("genericbanner").innerHTML = '';
		document.getElementById("genericbanner").innerHTML = genericbannercontent;
	}

var graphicimagesbannercontent = '';
graphicimagesbannercontent = graphicimagesbannercontent + '<map id="ImgMap0" name="ImgMap0">';
graphicimagesbannercontent = graphicimagesbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
graphicimagesbannercontent = graphicimagesbannercontent + '</map>';
graphicimagesbannercontent = graphicimagesbannercontent + '<img alt="Priests for Life - Graphic Images" src="/images/section-banners/graphic-images.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("graphicimagesbanner"))
	{
		document.getElementById("graphicimagesbanner").innerHTML = '';
		document.getElementById("graphicimagesbanner").innerHTML = graphicimagesbannercontent;
	}

var healingafterabortionbannercontent = '';
healingafterabortionbannercontent = healingafterabortionbannercontent + '<map id="ImgMap0" name="ImgMap0">';
healingafterabortionbannercontent = healingafterabortionbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
healingafterabortionbannercontent = healingafterabortionbannercontent + '</map>';
healingafterabortionbannercontent = healingafterabortionbannercontent + '<img alt="Priests for Life - Healing After Abortion" src="/images/section-banners/healing-after-abortion.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("healingafterabortionbanner"))
	{
		document.getElementById("healingafterabortionbanner").innerHTML = '';
		document.getElementById("healingafterabortionbanner").innerHTML = healingafterabortionbannercontent;
	}


var internationalbannercontent = '';
internationalbannercontent = internationalbannercontent + '<map id="ImgMap0" name="ImgMap0">';
internationalbannercontent = internationalbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
internationalbannercontent = internationalbannercontent + '</map>';
internationalbannercontent = internationalbannercontent + ' <img alt="Priests for Life - Travel" src="/images/section-banners/international.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("internationalbanner"))
	{
		document.getElementById("internationalbanner").innerHTML = '';
		document.getElementById("internationalbanner").innerHTML = internationalbannercontent;
	}

var liturgicalresourcesbannercontent = '';
liturgicalresourcesbannercontent = liturgicalresourcesbannercontent + '<map id="ImgMap0" name="ImgMap0">';
liturgicalresourcesbannercontent = liturgicalresourcesbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
liturgicalresourcesbannercontent = liturgicalresourcesbannercontent + '</map>';
liturgicalresourcesbannercontent = liturgicalresourcesbannercontent + ' <img alt="Priests for Life - Liturgical Resources" src="/images/section-banners/liturgy.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("liturgybanner"))
	{
		document.getElementById("liturgybanner").innerHTML = '';
		document.getElementById("liturgybanner").innerHTML = liturgicalresourcesbannercontent;
	}


var mediabannercontent = '';
mediabannercontent = mediabannercontent + '<map id="ImgMap0" name="ImgMap0">';
mediabannercontent = mediabannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
mediabannercontent = mediabannercontent + '</map>';
mediabannercontent = mediabannercontent + ' <img alt="Priests for Life - Media" src="/images/section-banners/media.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("mediabanner"))
	{
		document.getElementById("mediabanner").innerHTML = '';
		document.getElementById("mediabanner").innerHTML = mediabannercontent;
	}

var newsbannercontent = '';
newsbannercontent = newsbannercontent + '<map id="ImgMap0" name="ImgMap0">';
newsbannercontent = newsbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
newsbannercontent = newsbannercontent + '</map>';
newsbannercontent = newsbannercontent + ' <img alt="Priests for Life - News" src="/images/section-banners/news.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("newsbanner"))
	{
		document.getElementById("newsbanner").innerHTML = '';
		document.getElementById("newsbanner").innerHTML = newsbannercontent;
	}

var politicalresponsibilitybannercontent = '';
politicalresponsibilitybannercontent = politicalresponsibilitybannercontent + '<map id="ImgMap0" name="ImgMap0">';
politicalresponsibilitybannercontent = politicalresponsibilitybannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
politicalresponsibilitybannercontent = politicalresponsibilitybannercontent + '</map>';
politicalresponsibilitybannercontent = politicalresponsibilitybannercontent + ' <img alt="Priests for Life - Political Responsibility" src="/images/section-banners/political-responsibility.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("politicalresponsibilitybanner"))
	{
		document.getElementById("politicalresponsibilitybanner").innerHTML = '';
		document.getElementById("politicalresponsibilitybanner").innerHTML = politicalresponsibilitybannercontent;
	}

var healingbannercontent = '';
healingbannercontent = healingbannercontent + '<map id="ImgMap0" name="ImgMap0">';
healingbannercontent = healingbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
healingbannercontent = healingbannercontent + '</map>';
healingbannercontent = healingbannercontent + ' <img alt="Priests for Life - Healing After Abortion" src="/images/section-banners/prayer.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("healingbanner"))
	{
		document.getElementById("healingbanner").innerHTML = '';
		document.getElementById("healingbanner").innerHTML = healingbannercontent;
	}


var prayerbannercontent = '';
prayerbannercontent = prayerbannercontent + '<map id="ImgMap0" name="ImgMap0">';
prayerbannercontent = prayerbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
prayerbannercontent = prayerbannercontent + '</map>';
prayerbannercontent = prayerbannercontent + ' <img alt="Priests for Life - Prayer After Abortion" src="/images/section-banners/prayer.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("prayerbanner"))
	{
		document.getElementById("prayerbanner").innerHTML = '';
		document.getElementById("prayerbanner").innerHTML = prayerbannercontent;
	}

var clergybannercontent = '';
clergybannercontent = clergybannercontent + '<map id="ImgMap0" name="ImgMap0">';
clergybannercontent = clergybannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
clergybannercontent = clergybannercontent + '</map>';
clergybannercontent = clergybannercontent + '<img alt="Priests for Life " src="/images/section-banners/resources-for-clergy.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("clergybanner"))
	{
		document.getElementById("clergybanner").innerHTML = '';
		document.getElementById("clergybanner").innerHTML = clergybannercontent;
	}

var teachingbannercontent = '';
teachingbannercontent = teachingbannercontent + '<map id="ImgMap0" name="ImgMap0">';
teachingbannercontent = teachingbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
teachingbannercontent = teachingbannercontent + '</map>';
teachingbannercontent = teachingbannercontent + '<img alt="Priests for Life - Church Teaching" src="/images/section-banners/teaching.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("teachingbanner"))
	{
		document.getElementById("teachingbanner").innerHTML = '';
		document.getElementById("teachingbanner").innerHTML = teachingbannercontent;
	}


var testimoniesbannercontent = '';
testimoniesbannercontent = testimoniesbannercontent + '<map id="ImgMap0" name="ImgMap0">';
testimoniesbannercontent = testimoniesbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
testimoniesbannercontent = testimoniesbannercontent + '</map>';
testimoniesbannercontent = testimoniesbannercontent + '<img alt="Priests for Life - Testimonies" src="/images/section-banners/testimonies.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("testimoniesbanner"))
	{
		document.getElementById("testimoniesbanner").innerHTML = '';
		document.getElementById("testimoniesbanner").innerHTML = testimoniesbannercontent;
	}

var travelbannercontent = '';
travelbannercontent = travelbannercontent + '<map id="ImgMap0" name="ImgMap0">';
travelbannercontent = travelbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
travelbannercontent = travelbannercontent + '</map>';
travelbannercontent = travelbannercontent + '<img alt="Priests for Life - Travel" src="../images/section-banners/travel.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("travelbanner"))
	{
		document.getElementById("travelbanner").innerHTML = '';
		document.getElementById("travelbanner").innerHTML = travelbannercontent;
	}




var spanishbannercontent = '';
spanishbannercontent = spanishbannercontent + '<map id="ImgMap0" name="ImgMap0">';
spanishbannercontent = spanishbannercontent + '<area alt="" coords="19, 32, 186, 106" href="/index.htm" shape="rect" />';
spanishbannercontent = spanishbannercontent + '</map>';
spanishbannercontent = spanishbannercontent + '<img alt="Priests for Life - Sacerdotes por la Vida" src="/images/section-banners/spanish.jpg" width="1000" height="116" border="0" usemap="#ImgMap0" />';

if(document.getElementById("spanishbanner"))
	{
		document.getElementById("spanishbanner").innerHTML = '';
		document.getElementById("spanishbanner").innerHTML = spanishbannercontent;
	}


}
window.onload=createtoolbar;

//Load Wibiya Tool Bar
if (document.location.protocol == "http:"){

document.write('<script src="http://cdn.wibiya.com/Toolbars/dir_0516/Toolbar_516332/Loader_516332.js" type="text/javascript"></script>');

}

