function getCounty(){



//alert(window.location.href);

var b = (window.location.href)

var Flast = (b.lastIndexOf('/'));
//alert (Flast);

var Fsub = (b.substring(0, Flast));
//alert (Fsub);

var Slast = (Fsub.lastIndexOf('/')+1);
//alert (Slast);

var CntyName = (b.substring(Slast, Flast));
//alert (CntyName);
CntyName = CntyName.replace(/%20/g, " ");
document.write(CntyName);
}

function confirm_cancel()
{
input_box=confirm("Are you sure you want to cancel this order? All of the information entered will be lost. Click OK to cancel your order or Cancel to continue your order.");
if (input_box==true)

{ 
// Output when OK is clicked
location.href="http://www.calobit.com"; 
}

else
{
// Output when Cancel is clicked
//alert ("You clicked cancel");
}
}




var key;
var keychar;

//check for email address: look for (@) and (.)
function isEmail(elm){
	if(elm.value.indexOf("@") != "-1" &&
	   elm.value.indexOf(".") != "-1" &&
	   elm.value != " ")
  return true;
  else return false;
}


//Check for null and for empty

function isFilled(elm) {
	if(elm.value == "" || elm.value == null)
	return false;
	else return true;
}


//Check for null and for empty

function isCCNum(elm) {
	if(elm.value == "" || elm.value == null)
	return false;
	
	if(elm.value.length < 13)
	return false;

	if(elm.value.length > 16)
	return false;

	else return true;
}



//Check for null and for empty

function isCSCNum(elm) {
	if(elm.value == "" || elm.value == null)
	return false;
	
	if(elm.value.length < 3)
	return false;
	else return true;
}



//Check for null and for empty

function isCounty(elm) {
	if(elm.value == "#")
	return false;
	else return true;
}


function isReadyObit(form)
{


	if(isCounty(form.County) == false){  //is element filled?
	alert("Please select the county of the deceased.");
	form.County.focus();
	return false;
	}


	if(isEmail(form.email) == false) {   //is address element a real email address?
	alert("Please enter your valid email address.");
	form.email.focus();
	return false;
	}

	if(isCCNum(form.CC_Number) == false){  //is element filled?
	alert("Please enter your valid 13-digit or 16-digit credit card account number (no spaces or dashes).");
	form.CC_Number.focus();
	return false;
	}



	if(isCSCNum(form.CSC_Code) == false){  //is element filled?
	alert("Please enter your valid CSC code. (last 3 digits on the number found on the back of your credit card in the signature stripe)");
	form.CSC_Code.focus();
	return false;
	}


alert("Thank you! You order is being processed.");

	}


function isReady(form)
{
	if(isFilled(form.First_Name) == false){  //is element filled?
	alert("Please enter the first name of the deceased.");
	form.First_Name.focus();
	return false;
	}

	if(isFilled(form.Last_Name) == false){  //is element filled?
	alert("Please enter the last name of the deceased.");
	form.Last_Name.focus();
	return false;
	}

	if(isFilled(form.City_name) == false){  //is element filled?
	alert("Please enter the city of the deceased.");
	form.City_name.focus();
	return false;
	}

	if(isFilled(form.Age) == false){  //is element filled?
	alert("Please enter the age of the deceased.");
	form.Age.focus();
	return false;
	}

	if(isFilled(form.Occupation) == false){  //is element filled?
	alert("Please enter the occupation of the deceased.");
	form.Occupation.focus();
	return false;
	}

	if(isFilled(form.Date_Died) == false){  //is element filled?
	alert("Please enter the date of passing.");
	form.Date_Died.focus();
	return false;
	}

	if(isFilled(form.Funeral_Home) == false){  //is element filled?
	alert("Please enter the name of the funeral home.");
	form.Funeral_Home.focus();
	return false;
	}

	if(isCounty(form.County) == false){  //is element filled?
	alert("Please select the county of the deceased.");
	form.County.focus();
	return false;
	}


	if(isFilled(form.Purcahse_First_Name) == false){  //is element filled?
	alert("Please enter your first name as it appears on your credit card.");
	form.Purcahse_First_Name.focus();
	return false;
	}


	if(isFilled(form.Purcahse_Last_Name) == false){  //is element filled?
	alert("Please enter your last name as it appears on your credit card.");
	form.Purcahse_Last_Name.focus();
	return false;
	}


	if(isFilled(form.Address1) == false){  //is element filled?
	alert("Please enter your street address.");
	form.Address1.focus();
	return false;
	}


	if(isFilled(form.Purchase_City) == false){  //is element filled?
	alert("Please enter your city as it appears on your credit card statement.");
	form.Purchase_City.focus();
	return false;
	}


	if(isFilled(form.zip_code) == false){  //is element filled?
	alert("Please enter your zip code as it appears on your credit card statement.");
	form.zip_code.focus();
	return false;
	}


	if(isEmail(form.email) == false) {   //is address element a real email address?
	alert("Please enter your valid email address.");
	form.email.focus();
	return false;
	}



	if(isCCNum(form.CC_Number) == false){  //is element filled?
	alert("Please enter your valid 13-digit or 16-digit credit card account number (no spaces or dashes).");
	form.CC_Number.focus();
	return false;
	}



	if(isCSCNum(form.CSC_Code) == false){  //is element filled?
	alert("Please enter your valid CSC code. (last 3 digits on the number found on the back of your credit card in the signature stripe)");
	form.CSC_Code.focus();
	return false;
	}
}

function isReadyDN(form)
{
	if(isFilled(form.First_Name) == false){  //is element filled?
	alert("Please enter the first name of the deceased.");
	form.First_Name.focus();
	return false;
	}

	if(isFilled(form.Last_Name) == false){  //is element filled?
	alert("Please enter the last name of the deceased.");
	form.Last_Name.focus();
	return false;
	}

	if(isFilled(form.City_name) == false){  //is element filled?
	alert("Please enter the city of the deceased.");
	form.City_name.focus();
	return false;
	}

	if(isFilled(form.Age) == false){  //is element filled?
	alert("Please enter the age of the deceased.");
	form.Age.focus();
	return false;
	}

	if(isFilled(form.Occupation) == false){  //is element filled?
	alert("Please enter the occupation of the deceased.");
	form.Occupation.focus();
	return false;
	}

	if(isFilled(form.Date_Died) == false){  //is element filled?
	alert("Please enter the date of passing.");
	form.Date_Died.focus();
	return false;
	}

	if(isFilled(form.Funeral_Home) == false){  //is element filled?
	alert("Please enter the name of the funeral home.");
	form.Funeral_Home.focus();
	return false;
	}

	if(isCounty(form.County) == false){  //is element filled?
	alert("Please select the county of the deceased.");
	form.County.focus();
	return false;
	}

}


function isReadyCC(form)
{
	if(isFilled(form.Purcahse_First_Name) == false){  //is element filled?
	alert("Please enter your first name as it appears on your credit card.");
	form.Purcahse_First_Name.focus();
	return false;
	}


	if(isFilled(form.Purcahse_Last_Name) == false){  //is element filled?
	alert("Please enter your last name as it appears on your credit card.");
	form.Purcahse_Last_Name.focus();
	return false;
	}


	if(isFilled(form.Address1) == false){  //is element filled?
	alert("Please enter your street address.");
	form.Address1.focus();
	return false;
	}


	if(isFilled(form.Purchase_City) == false){  //is element filled?
	alert("Please enter your city as it appears on your credit card statement.");
	form.Purchase_City.focus();
	return false;
	}


	if(isFilled(form.zip_code) == false){  //is element filled?
	alert("Please enter your zip code as it appears on your credit card statement.");
	form.zip_code.focus();
	return false;
	}


	if(isEmail(form.email) == false) {   //is address element a real email address?
	alert("Please enter your valid email address.");
	form.email.focus();
	return false;
	}



	if(isCCNum(form.CC_Number) == false){  //is element filled?
	alert("Please enter your valid 13-digit or 16-digit credit card account number (no spaces or dashes).");
	form.CC_Number.focus();
	return false;
	}



	if(isCSCNum(form.CSC_Code) == false){  //is element filled?
	alert("Please enter your valid CSC code. (last 3 digits on the number found on the back of your credit card in the signature stripe)");
	form.CSC_Code.focus();
	return false;
	}


//document.write=('<INPUT TYPE="hidden" NAME="Notice" VALUE="<BR><BR><B>'+First_Name+' '+Last_Name+'</B><BR>of '+City_name+', age '+Age+', died '+Date_Died+'<BR>'+Funeral_Home+'<BR>">');


alert("Thank you! You order is being processed.");

}

function numbersonly(myfield, e, dec)
{
var key;
var keychar;
if (window.event)
key = window.event.keyCode;
else if (e)
key = e.which;
else
return true;
keychar = String.fromCharCode(key);
// control keys
if ((key==null) || (key==0) || (key==8) || 
(key==9) || (key==13) || (key==27) )
return true;
// numbers
else if ((("0123456789").indexOf(keychar) > -1))
return true;
// decimal point jump
else if (dec && (keychar == "."))
{
myfield.form.elements[dec].focus();
return false;
}
else
return false;
}


var isNS4 = (navigator.appName=="Netscape")?1:0;

function lettersonly(inputStr){
if(!isNS4){if (event.keyCode==34 || event.keyCode==39) event.returnValue = false;}else{if (event.which==34 || event.which==39) return false;}
}

function hideLayer(name) {

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(4) !=-1)
    document.layers[name].visibility = "hidden";

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(5) !=-1)
    document.getElementById(name).style.visibility = "hidden";

if(navigator.appName.indexOf("Internet Explorer") != -1)
    document.all[name].style.visibility = "hidden";
}

function showLayer(name) {

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(4) !=-1)
    document.layers[name].visibility = "visible";

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(5) !=-1)
    document.getElementById(name).style.visibility = "visible";

if(navigator.appName.indexOf("Internet Explorer") != -1)
    document.all[name].style.visibility = "visible";
}


function copyright() {

document.write('<BR><TABLE width=100% border=0><TR><TD align=center valign=top><span class="copyright">&copy;2005 California Obituaries - calobit.com &nbsp; | &nbsp; </span><A HREF="http://www.calobit.com/legalnotice.html"><span class="copyright">Legal Notice</span></A></TD></TR></TABLE>');
}


function copyrightmsg() {

document.write('<BR><TABLE width=100% border=0><TR><TD align=center valign=top><span class="copyright"> &copy; aries</span></TD></TR></TABLE>');
}


function copyrightdl() {

document.write('<BR><TABLE width=100% border=0><TR><TD align=center valign=top><span class="copyright"> &copy; aries</span></TD></TR></TABLE>');
}


function copyrightiw() {

document.write('<BR><TABLE width=100% border=0><TR><TD align=center valign=top><span class="copyright"> &copy; aries</span></TD></TR></TABLE>');
}


function docBody() {

document.write('<BODY bgcolor="#e0e0e0">');
}

			
function loadcss() {

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(4) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/home.css">');


if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(5) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/home.css">');

if(navigator.appName.indexOf("Internet Explorer") != -1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/home.css">');
}


function loadcssObit() {

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(4) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/obit.css">');


if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(5) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/obit.css">');

if(navigator.appName.indexOf("Internet Explorer") != -1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/obit.css">');
}

function loadcssC() {

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(4) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/iframe.css">');


if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(5) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/iframe.css">');

if(navigator.appName.indexOf("Internet Explorer") != -1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/iframe.css">');
}



function loadcssD() {

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(4) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/article2.css">');


if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(5) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/article2.css">');

if(navigator.appName.indexOf("Internet Explorer") != -1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/article2.css">');
}



function loadcssE() {

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(4) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/small.css">');


if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(5) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/small.css">');

if(navigator.appName.indexOf("Internet Explorer") != -1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/small.css">');
}


function loadcssmsg() {

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(4) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/ns4msg.css">');


if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(5) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/msg.css">');

if(navigator.appName.indexOf("Internet Explorer") != -1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/msg.css">');
}



function buildercss() {

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(4) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/ns4builder.css">');


if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(5) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/builder.css">');

if(navigator.appName.indexOf("Internet Explorer") != -1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/builder.css">');
}




function quotecss() {


document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/webquote.css">');
}

function quoteBody() {

document.write('<BODY bgcolor="#C0C0C0">');
}



function updatecolors() {

heading="d0d0d0"
headingfont="A2092A"
oddrow="f0f0f0"
evenrow="e0e0e0"
  
document.write("<INPUT TYPE=HIDDEN NAME=oddrowcolor VALUE='&oddrowcolor="+oddrow+"'><INPUT TYPE=HIDDEN NAME=evenrowcolor  VALUE='&evenrowcolor="+evenrow+"'><INPUT TYPE=HIDDEN NAME=headingcolor VALUE='&headingcolor="+heading+"'><INPUT TYPE=HIDDEN NAME=headingfontcolor  VALUE='&headingfontcolor="+headingfont+"'>");
}




function dlBody() {

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(4) !=-1)
document.write('<BODY bgcolor="#FFFFFF" background=n"common/ns4bgimage.gif">');

else
document.write('<BODY bgcolor="#FFFFFF">');
}

			
function dlcss() {

if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(4) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/home.css">');


if(navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.indexOf(5) !=-1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/dl.css">');

if(navigator.appName.indexOf("Internet Explorer") != -1)
document.write('<LINK REL=STYLESHEET TYPE="text/css" HREF="http://www.calobit.com/common/dl.css">');
}


function doClock(){ // By Paul Davis - www.kaosweaver.com
  var t=new Date(),a=doClock.arguments,str="",i,a1,lang="1";
  var month=new Array('January','Jan', 'February','Feb', 'March','Mar', 'April','Apr', 'May','May', 'June','Jun', 'July','Jul', 'August','Aug', 'September','Sep', 'October','Oct', 'November','Nov', 'December','Dec');
  var tday= new Array('Sunday','Sun','Monday','Mon', 'Tuesday','Tue', 'Wednesday','Wed','Thursday','Thr','Friday','Fri','Saturday','Sat');
  for(i=0;i<a.length;i++) {a1=a[i].charAt(1);switch (a[i].charAt(0)) {
  case "M":if  ((Number(a1)==3) && ((t.getMonth()+1)<10)) str+="0";
  str+=(Number(a1)>1)?t.getMonth()+1:month[t.getMonth()*2+Number(a1)];break;
  case "D": if ((Number(a1)==1) && (t.getDate()<10)) str+="0";str+=t.getDate();break;
  case "Y": str+=(a1=='0')?t.getFullYear():t.getFullYear().toString().substring(2);break;
  case "W":str+=tday[t.getDay()*2+Number(a1)];break; default: str+=unescape(a[i]);}}return str;}


function MM_setTextOfTextfield(objName,x,newText) { //v3.0
  var obj = MM_findObj(objName); if (obj) obj.value = newText;


}




function searchClock() {
document.write('<DIV ID="clock" STYLE="position:absolute; top:327; left:50%; margin-left:-375; width:750; visibility:visible; z-index:50;">');
document.write('<TABLE border=0 cellpaddin=0 cellspacing=0 width=750><TR><TD width=172>&nbsp;</TD><TD>');
document.write('<span class="bodytext"><FONT COLOR="#000000" size="-2">');
document.write('<A HREF="javascript:location.reload();">Switch Photo</A>');
document.write('</FONT></span>');
document.write('</TD></TR></TABLE>');
document.write('</DIV>');


document.write('<DIV ID="clock" STYLE="position:absolute; top:334; left:50%; margin-left:-375; width:750; visibility:visible; z-index:40;">');
document.write('<TABLE border=0 width=750><TR><TD align=right>');
document.write('<span class="bodytext"><FONT COLOR="#000000">');
document.write('<script language="JavaScript">');
document.write('document.write(doClock("W0",",","%20","M0","%20","D1",",","%20","Y0","%20"));');
document.write('</script>');
document.write('</FONT></span>');
document.write('</TD></TR></TABLE>');
document.write('</DIV>');
}

month=(doClock("M0"));

if (month.indexOf("January") !=-1 || month.indexOf("February") !=-1 || month.indexOf("March") !=-1){ 
	currentMonth="jan_mar";
	}

if (month.indexOf("April") !=-1 || month.indexOf("May") !=-1 || month.indexOf("June") !=-1){ 
	currentMonth="apr_jun";
	}

if (month.indexOf("July") !=-1 || month.indexOf("August") !=-1 || month.indexOf("September") !=-1){ 
	currentMonth="jul_sep";
	}

if (month.indexOf("October") !=-1 || month.indexOf("November") !=-1 || month.indexOf("December") !=-1){ 
	currentMonth="oct_dec";
	}

function PullMenuZ(targ,selObj,restore){
  eval(targ+".location='http://calobit.com/ez/results.php?searchtype=county&searchterm="+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}












function productTemplate() {
document.write('<DIV ID="page_TOP" STYLE="position:absolute; top:105; left:115; width:643; visibility:visible; z-index:10;">');
document.write('<table width="100%" width="643" border="0" cellpadding="0" cellspacing="0">');
document.write('<TR><TD valign=bottom>');
document.write('<IMG SRC="images/pagetop.jpg">');
document.write('</TD></TR></table>');
document.write('</DIV>');
document.write('<DIV ID="product_BK" STYLE="position:absolute; top:153; left:23; width:210; visibility:visible; z-index:12;">');
document.write('<table width="100%" width="210" border="0" cellpadding="0" cellspacing="0">');
document.write('<TR><TD valign=bottom>');
document.write('<IMG SRC="images/productbk.gif">');
document.write('</TD></TR></table>');
document.write('</DIV>');
document.write('<DIV ID="tag_line" STYLE="position:absolute; top:116; left:125; width:300; visibility:visible; z-index:20;">');
document.write('<TABLE border=0 width=200><TR><TD align=left><span class="bodytext50">Product Category</span></TD></TR></TABLE>');
document.write('</DIV>');

}



function homeTemplate() {
document.write('<DIV ID="page_TOP" STYLE="position:absolute; top:105; left:0; visibility:visible; z-index:10;">');
document.write('<table width="100%" border="0" cellpadding="0" cellspacing="0">');
document.write('<TR><TD valign=bottom>');
document.write('<IMG SRC="images/homeheader.jpg">');
document.write('</TD></TR></table>');
document.write('</DIV>');
}




function categoryTemplate() {
document.write('<DIV ID="page_TOP" STYLE="position:absolute; top:105; left:0; visibility:visible; z-index:10;">');
document.write('<table width="100%" border="0" cellpadding="0" cellspacing="0">');
document.write('<TR><TD valign=bottom>');
document.write('<IMG SRC="images/categoryheader.jpg">');
document.write('</TD></TR></table>');
document.write('</DIV>');
}


function pullMenuNavBegin() {
document.write('<DIV ID="counties" STYLE="position:absolute; top:28; right:425; visibility:visible;" width=200>');
document.write('<form name="form1" method="post" action=""><select name="select" onChange="PullMenuZ(\'parent\',this,0)\;">');
}

function pullMenuNavEnd() {
document.write('</form></DIV>');
}


function createSelect() {
document.write('<select name="County">');
}

function pullMenu() {

document.write('<option value="#" selected>Select a County</option>');
document.write('<option value="#">-------------------------------------</option>');
document.write('<option value="Alameda">Alameda County</option>');
document.write('<option value="Alpine">Alpine County</option>');
document.write('<option value="Amador">Amador County</option>');
document.write('<option value="Butte">Butte County</option>');
document.write('<option value="Calaveras">Calaveras County</option>');
document.write('<option value="Colusa">Colusa County</option>');
document.write('<option value="Contra Costa">Contra Costa County</option>');
document.write('<option value="Del Norte">Del Norte County</option>');
document.write('<option value="El Dorado">El Dorado County</option>');
document.write('<option value="Fresno">Fresno County</option>');
document.write('<option value="Glenn">Glenn County</option>');
document.write('<option value="Humboldt">Humboldt County</option>');
document.write('<option value="Imperial">Imperial County</option>');
document.write('<option value="Inyo">Inyo County</option>');
document.write('<option value="Kern">Kern County</option>');
document.write('<option value="Kings">Kings County</option>');
document.write('<option value="Lake">Lake County</option>');
document.write('<option value="Lassen">Lassen County</option>');
document.write('<option value="Los Angeles">Los Angeles County</option>');
document.write('<option value="Madera">Madera County</option>');
document.write('<option value="Marin">Marin County</option>');
document.write('<option value="Mariposa">Mariposa County</option>');
document.write('<option value="Mendocino">Mendocino County</option>');
document.write('<option value="Merced">Merced County</option>');
document.write('<option value="Modoc">Modoc County</option>');
document.write('<option value="Mono">Mono County</option>');
document.write('<option value="Monterey">Monterey County</option>');
document.write('<option value="Napa">Napa County</option>');
document.write('<option value="Nevada">Nevada County</option>');
document.write('<option value="Orange">Orange County</option>');
document.write('<option value="Placer">Placer County</option>');
document.write('<option value="Plumas">Plumas County</option>');
document.write('<option value="Riverside">Riverside County</option>');
document.write('<option value="Sacramento">Sacramento County</option>');
document.write('<option value="San Benito">San Benito County</option>');
document.write('<option value="San Bernardino">San Bernardino County</option>');
document.write('<option value="San Diego">San Diego County</option>');
document.write('<option value="San Francisco">San Francisco County</option>');
document.write('<option value="San Joaquin">San Joaquin County</option>');
document.write('<option value="San Luis Obispo">San Luis Obispo County</option>');
document.write('<option value="San Mateo">San Mateo County</option>');
document.write('<option value="Santa Barbara">Santa Barbara County</option>');
document.write('<option value="Santa Clara">Santa Clara County</option>');
document.write('<option value="Santa Cruz">Santa Cruz County</option>');
document.write('<option value="Shasta">Shasta County</option>');
document.write('<option value="Sierra">Sierra County</option>');
document.write('<option value="Siskiyou">Siskiyou County</option>');
document.write('<option value="Solano">Solano County</option>');
document.write('<option value="Sonoma">Sonoma County</option>');
document.write('<option value="Stanislaus">Stanislaus County</option>');
document.write('<option value="Sutter">Sutter County</option>');
document.write('<option value="Tehama">Tehama County</option>');
document.write('<option value="Trinity">Trinity County</option>');
document.write('<option value="Tulare">Tulare County</option>');
document.write('<option value="Tuolumne">Tuolumne County</option>');
document.write('<option value="Ventura">Ventura County</option>');
document.write('<option value="Yolo">Yolo County</option>');
document.write('<option value="Yuba">Yuba County</option></select>');
}



function pullMenuState() {
document.write('<select name="State">');
document.write('<option value="AL">AL</option>');
document.write('<option value="AZ">AZ</option>');
document.write('<option value="AR">AR</option>');
document.write('<option value="CA" selected>CA</option>');
document.write('<option value="CO">CO</option>');
document.write('<option value="CT">CT</option>');
document.write('<option value="DE">DE</option>');
document.write('<option value="FL">FL</option>');
document.write('<option value="GA">GA</option>');
document.write('<option value="HI">HI</option>');
document.write('<option value="ID">ID</option>');
document.write('<option value="IL">IL</option>');
document.write('<option value="IN">IN</option>');
document.write('<option value="IA">IA</option>');
document.write('<option value="KS">KS</option>');
document.write('<option value="KY">KY</option>');
document.write('<option value="LA">LA</option>');
document.write('<option value="ME">ME</option>');
document.write('<option value="ND">ND</option>');
document.write('<option value="MA">MA</option>');
document.write('<option value="MI">MI</option>');
document.write('<option value="MN">MN</option>');
document.write('<option value="MS">MS</option>');
document.write('<option value="MO">MO</option>');
document.write('<option value="MT">MT</option>');
document.write('<option value="NE">NE</option>');
document.write('<option value="NV">NV</option>');
document.write('<option value="NH">NH</option>');
document.write('<option value="NJ">NJ</option>');
document.write('<option value="NM">NH</option>');
document.write('<option value="NY">NY</option>');
document.write('<option value="NC">NC</option>');
document.write('<option value="ND">ND</option>');
document.write('<option value="OH">OH</option>');
document.write('<option value="OK">OK</option>');
document.write('<option value="OR">OR</option>');
document.write('<option value="PA">PA</option>');
document.write('<option value="RI">RI</option>');
document.write('<option value="SC">SC</option>');
document.write('<option value="SD">SD</option>');
document.write('<option value="TN">TN</option>');
document.write('<option value="TX">TX</option>');
document.write('<option value="UT">UT</option>');
document.write('<option value="VT">VT</option>');
document.write('<option value="VA">VA</option>');
document.write('<option value="WA">WA</option>');
document.write('<option value="WV">WV</option>');
document.write('<option value="WI">WI</option>');
document.write('<option value="WY">WY</option>');
document.write('</select>');
}




function pullMenuCCType() {
document.write('<select name="CC_Type">');
//document.write('<option value="Amex">American Express</option>');
//document.write('<option value="Discover">Discover</option>');
document.write('<option value="MasterCard">MasterCard</option>');
document.write('<option value="Visa" selected>Visa</option>');
document.write('</select>');
}




function pullMenuCCExp() {
document.write('<select name="Expire_Month">');
document.write('<option value="01">1 - January</option>');
document.write('<option value="02">2 - February</option>');
document.write('<option value="03">3 - March</option>');
document.write('<option value="04">4 - April</option>');
document.write('<option value="05">5 - May</option>');
document.write('<option value="06">6 - June</option>');
document.write('<option value="07">7 - July</option>');
document.write('<option value="08">8 - August</option>');
document.write('<option value="09">9 - September</option>');
document.write('<option value="10">10 - October</option>');
document.write('<option value="11">11 - November</option>');
document.write('<option value="12">12 - December</option>');
document.write('</select>');
document.write('&nbsp\;&nbsp\;');
document.write('<select name="Expire_Year">');
document.write('<option value="2005">2005</option>');
document.write('<option value="2006">2006</option>');
document.write('<option value="2007">2007</option>');
document.write('<option value="2008">2008</option>');
document.write('<option value="2009">2009</option>');
document.write('<option value="2010">2010</option>');
document.write('<option value="2011">2011</option>');
document.write('<option value="2012">2012</option>');
document.write('<option value="2013">2013</option>');
document.write('<option value="2014">2014</option>');
document.write('<option value="2015">2015</option>');
document.write('<option value="2016">2016</option>');
document.write('</select>');
document.write('&nbsp\;&nbsp\;');
}




function footerMap(){

document.write('<MAP NAME="top_Map">');
document.write('<AREA SHAPE="rect" ALT="" COORDS="0,0,172,46" HREF="subscribe.html">');
document.write('</MAP>');

}


  


/*
Gradual-Highlight Image Script II- 
By J. Mark Birenbaum (birenbau@ugrad.cs.ualberta.ca)
Permission granted to Dynamicdrive.com to feature script in archive
For full source to script, visit http://dynamicdrive.com
*/

nereidFadeObjects = new Object();
nereidFadeTimers = new Object();

/* object - image to be faded (actual object, not name);
 * destop - destination transparency level (ie 80, for mostly solid)
 * rate   - time in milliseconds between trasparency changes (best under 100)
 * delta  - amount of change each time (ie 5, for 5% change in transparency)
 */

function nereidFade(object, destOp, rate, delta){
if (!document.all)
return
    if (object != "[object]"){  //do this so I can take a string too
        setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
        return;
    }
        
    clearTimeout(nereidFadeTimers[object.sourceIndex]);
    
    diff = destOp-object.filters.alpha.opacity;
    direction = 1;
    if (object.filters.alpha.opacity > destOp){
        direction = -1;
    }
    delta=Math.min(direction*diff,delta);
    object.filters.alpha.opacity+=direction*delta;

    if (object.filters.alpha.opacity != destOp){
        nereidFadeObjects[object.sourceIndex]=object;
        nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
    }
}








function productMenu() {
document.write('<TABLE border=0 width=0 cellpadding=0 cellspacing=0><TR><TD rowspan=2>&nbsp;</TD><TD>');
document.write('<TABLE border=0 width=145 cellpadding=1 cellspacing=0 class="'+sidebarMonth+'">');
document.write('<TR><TD><span class="sidebar"><BR><A HREF="index.html"><span class="sidebar">Home</A></span></TD></TR>');
document.write('<TR><TD onMouseOver="ddlayer=\'1\'; ddlayer=ddlayer-1; showLayer(dds[ddlayer]);" onmouseout="hideLayer(dds[ddlayer]);" ><span class="sidebar"><A HREF="subscribe.html"><span class="sidebar">Subscriptions</A></span></TD></TR>');
document.write('<TR><TD><span class="sidebar"><A HREF="recent.html"><span class="sidebar">Recent Issues</A></span></TD></TR>');
document.write('<TR><TD onMouseOver="ddlayer=\'2\'; ddlayer=ddlayer-1; hideLayer(dds[ddlayer]);" onmouseout="hideLayer(dds[ddlayer]);"><span class="sidebar"><A HREF="javascript:alert(\'Coming Soon...\')\;"><span class="sidebar">News Room</A></span></TD></TR>');
document.write('<TR><TD><span class="sidebar"><A HREF="editorspage.html"><span class="sidebar">Editor\'s Saddle</A></span></TD></TR>');
document.write('<TR><TD><span class="sidebar"><A HREF="javascript:alert(\'Coming Soon...\')\;"><span class="sidebar">Gift Shop</A></span></TD></TR>');
document.write('<TR><TD><span class="sidebar"><A HREF="viplinks.html"><span class="sidebar">VIP Links</A></span></TD></TR>');
document.write('<TR><TD><span class="sidebar"><A HREF="classifieds.html"><span class="sidebar">Classifieds</A></span></TD></TR>');
document.write('<TR><TD><span class="sidebar"><A HREF="ridebuddies.html"><span class="sidebar">Riding Buddies</A></span></TD></TR>');
document.write('</TABLE>');
document.write('</TD></TR><TR><TD><CENTER><BR><BR><A HREF="http://www.digitalinkstudios.net" target="DI"><IMG SRC="common/dilogo.gif" border=0></A></CENTER></TD></TR>');
document.write('</TD></TR></TABLE>');
}

function FlyOut(){
document.write('<DIV class="sidebar" ID="subscribe" STYLE="position:absolute; top:600; left:50%; margin-left:-375; width:750; visibility:hidden; z-index:99;">');
document.write('<TABLE cellpadding=0 cellspacing=0><TR><TD width=145>&nbsp;</TD><TD>');
document.write('<TABLE onmouseover="showLayer(dds[ddlayer]);" onmouseout="hideLayer(dds[ddlayer]);" bgcolor="F6F6F6" border=1 width=145 cellpadding=1 cellspacing=0 class="'+sidebarMonth+'">');
document.write('<TR><TD><span class="sidebar"><A HREF="subscribe.html"><span class="sidebar">Subscribe Now!</A></span></TD></TR>');
document.write('<TR><TD><span class="sidebar"><A HREF="pastissues.html"><span class="sidebar">Back Issues</A></span></TD></TR>');
document.write('<TR><TD><span class="sidebar"><A HREF="addresschange.htm"><span class="sidebar">Address Changes</A></span></TD></TR>');
document.write('<TR><TD><span class="sidebar"><A HREF="customerservice.htm"><span class="sidebar">Customer Service</A></span></TD></TR>');
document.write('</TABLE>');
document.write('</TD></TR></TABLE>');
document.write('</DIV>');


document.write('<DIV onmouseover="showLayer(dds[ddlayer]);" onmouseout="hideLayer(dds[ddlayer]);" class="sidebar" ID="news" STYLE="position:absolute; top:645; left:50%; margin-left:-375; width:750; visibility:hidden; z-index:99;">');
document.write('<TABLE cellpadding=0 cellspacing=0><TR><TD width=145>&nbsp;</TD><TD>');
document.write('<TABLE bgcolor="F6F6F6" border=1 width=145 cellpadding=1 cellspacing=0 class="'+sidebarMonth+'">');
document.write('<TR><TD><span class="sidebar"><A HREF="javascript:alert(\'Coming Soon...\')\;"><span class="sidebar">Right Now!</A></span></TD></TR>');
document.write('<TR><TD><span class="sidebar"><A HREF="javascript:alert(\'Coming Soon...\')\;"><span class="sidebar">Past 6 Months</A></span></TD></TR>');
document.write('<TR><TD><span class="sidebar"><A HREF="javascript:alert(\'Coming Soon...\')\;"><span class="sidebar">Past 12 Months</A></span></TD></TR>');
document.write('</TABLE>');
document.write('</TD></TR></TABLE>');
document.write('</DIV>');


}


function StartShellCounty(){
document.write('<DIV ID="header" STYLE="position:absolute\; top:0\; left:50%\; margin-left:-375\; width:750\; visibility:visible\; z-index:42\;">');
pullMenuNavBegin();
pullMenu();
pullMenuNavEnd();
document.write('<FORM NAME="Search" action="http://www.calobit.com/ez/name_search.php" method="post"><CENTER><TABLE width=750 cellpadding="0" cellspacing="0"><TR><TD><CENTER><TABLE width=750 cellpadding="0" cellspacing="0"><TR><TD colspan=2 bgcolor="E8EBD5"><IMG SRC="http://www.calobit.com/common/header.gif" border=0></TD></TR>');
document.write('<TR><TD background="http://www.calobit.com/common/menubk.gif" valign=middle><IMG SRC="http://www.calobit.com/common/menubk.gif"><A HREF="http://www.calobit.com/index.html" TARGET="_parent" onMouseOver="window.status=\'Return to the Home Page\'\; return true\;" onMouseOut="window.status=\' \'\; return true\;"><IMG SRC="http://www.calobit.com/common/home_off.gif" height=37 border=0 onMouseOver="src=\'http://www.calobit.com/common/home_on.gif\'\;" onMouseOut="src=\'http://www.calobit.com/common/home_off.gif\'\;"></A><IMG SRC="http://www.calobit.com/common/menubk.gif"><A HREF="http://www.calobit.com/submit.html" TARGET="_parent" onMouseOver="window.status=\'Submit a death notice or obituary\'\; return true\;" onMouseOut="window.status=\' \'\; return true\;"><IMG SRC="http://www.calobit.com/common/submit_off.gif" height=37 border=0 onMouseOver="src=\'http://www.calobit.com/common/submit_on.gif\'\;" onMouseOut="src=\'http://www.calobit.com/common/submit_off.gif\'\;"></A><IMG SRC="http://www.calobit.com/common/menubk.gif"><A HREF="http://www.calobit.com/contact.html"  onMouseOver="window.status=\'Contact us with your questions or comments\'\; return true\;" onMouseOut="window.status=\' \'\; return true\;"><IMG SRC="http://www.calobit.com/common/contact_off.gif" height=37 border=0 onMouseOver="src=\'http://www.calobit.com/common/contact_on.gif\'\;" onMouseOut="src=\'http://www.calobit.com/common/contact_off.gif\'\;"></A><IMG SRC="http://www.calobit.com/common/menubk.gif"><IMG SRC="http://www.calobit.com/common/menubk.gif"><IMG SRC="http://www.calobit.com/common/search.gif" height=37 border=0><IMG SRC="http://www.calobit.com/common/menubk.gif" width=5 height=37></TD><TD background="http://www.calobit.com/common/menubk.gif" width=260 align=left><INPUT Name="searchterm" TYPE=text size=30 Value="Enter a last name" onclick="value=\'\'"\;> <INPUT TYPE="hidden" name="searchtype" value="last_name"><INPUT name="search" type=submit id="search" Value=GO></TD></TR></FORM>');
document.write('<TR><TD bgcolor="e8ebe2" valign=middle colspan=2><TABLE><TR><TD><span class="bodytext"> \&nbsp\; \&nbsp\; \&nbsp\;'+dynamicCounty+' County \&nbsp\; \&nbsp\;<A HREF="http://calobit.com/ez/results.php?searchtype=county&searchterm='+dynamicCounty+'">Death Notices</A> \&nbsp\; \&nbsp\; <A HREF="http://calobit.com/ez/flowershops.php?searchtype=county&searchterm='+dynamicCounty+'">Flower Shops \&amp\; Services</A> \&nbsp\; \&nbsp\; <A HREF="http://calobit.com/ez/funeralhomes.php?searchtype=county&searchterm='+dynamicCounty+'">Funeral Homes</A> \&nbsp\; \&nbsp\; <A HREF="http://calobit.com/ez/memorial_charities.php?searchtype=listing&searchterm=all" target=charity>Memorial Charities</A></TD></TR></TABLE></TD></TR>');
document.write('<TR><TD bgcolor="94997D" valign=middle colspan=2></TD></TR>');
document.write('<TR><TD colspan=2><TABLE cellpadding=0 cellspacing=0 border=0><TR><TD width=73 >&nbsp\;</TD><TD><TABLE cellpadding=20 width=660 border=0><TR><TD bgcolor="FFFFFF">');

}


function StartShellObit(){
document.write('<DIV ID="header" STYLE="position:absolute\; top:0\; left:50%\; margin-left:-375\; width:750\; visibility:visible\; z-index:42\;">');
pullMenuNavBegin();
pullMenu();
pullMenuNavEnd();
document.write('<FORM NAME="Search" action="http://www.calobit.com/ez/name_search.php" method="post"><CENTER><TABLE width=750 cellpadding="0" cellspacing="0"><TR><TD><CENTER><TABLE width=750 cellpadding="0" cellspacing="0"><TR><TD colspan=2 bgcolor="E8EBD5"><IMG SRC="http://www.calobit.com/common/header.gif" border=0></TD></TR>');
document.write('<TR><TD background="http://www.calobit.com/common/menubk.gif" valign=middle><IMG SRC="http://www.calobit.com/common/menubk.gif"><A HREF="http://www.calobit.com/index.html" TARGET="_parent" onMouseOver="window.status=\'Return to the Home Page\'\; return true\;" onMouseOut="window.status=\' \'\; return true\;"><IMG SRC="http://www.calobit.com/common/home_off.gif" height=37 border=0 onMouseOver="src=\'http://www.calobit.com/common/home_on.gif\'\;" onMouseOut="src=\'http://www.calobit.com/common/home_off.gif\'\;"></A><IMG SRC="http://www.calobit.com/common/menubk.gif"><A HREF="http://www.calobit.com/submit.html" TARGET="_parent" onMouseOver="window.status=\'Submit a death notice or obituary\'\; return true\;" onMouseOut="window.status=\' \'\; return true\;"><IMG SRC="http://www.calobit.com/common/submit_off.gif" height=37 border=0 onMouseOver="src=\'http://www.calobit.com/common/submit_on.gif\'\;" onMouseOut="src=\'http://www.calobit.com/common/submit_off.gif\'\;"></A><IMG SRC="http://www.calobit.com/common/menubk.gif"><A HREF="http://www.calobit.com/contact.html"  onMouseOver="window.status=\'Contact us with your questions or comments\'\; return true\;" onMouseOut="window.status=\' \'\; return true\;"><IMG SRC="http://www.calobit.com/common/contact_off.gif" height=37 border=0 onMouseOver="src=\'http://www.calobit.com/common/contact_on.gif\'\;" onMouseOut="src=\'http://www.calobit.com/common/contact_off.gif\'\;"></A><IMG SRC="http://www.calobit.com/common/menubk.gif"><IMG SRC="http://www.calobit.com/common/menubk.gif"><IMG SRC="http://www.calobit.com/common/search.gif" height=37 border=0><IMG SRC="http://www.calobit.com/common/menubk.gif" width=5 height=37></TD><TD background="http://www.calobit.com/common/menubk.gif" width=260 align=left><INPUT Name="searchterm" TYPE=text size=30 Value="Enter a last name" onclick="value=\'\'"\;> <INPUT TYPE="hidden" name="searchtype" value="last_name"><INPUT name="search" type=submit id="search" Value=GO></TD></TR></FORM>');
document.write('<TR><TD bgcolor="e8ebe2" valign=middle colspan=2><TABLE><TR><TD><span class="bodytext"> \&nbsp\; \&nbsp\; \&nbsp\;'+dynamicCounty+' County \&nbsp\; \&nbsp\;<A HREF="http://calobit.com/ez/results.php?searchtype=county&searchterm='+dynamicCounty+'">Death Notices</A> \&nbsp\; \&nbsp\; <A HREF="http://calobit.com/ez/flowershops.php?searchtype=county&searchterm='+dynamicCounty+'">Flower Shops \&amp\; Services</A> \&nbsp\; \&nbsp\; <A HREF="http://calobit.com/ez/funeralhomes.php?searchtype=county&searchterm='+dynamicCounty+'">Funeral Homes</A> \&nbsp\; \&nbsp\; <A HREF="http://calobit.com/ez/memorial_charities.php?searchtype=listing&searchterm=all" target=charity>Memorial Charities</A></TD></TR></TABLE></TD></TR>');
document.write('<TR><TD bgcolor="94997D" valign=middle colspan=2></TD></TR>');
document.write('<TR><TD colspan=2><TABLE cellpadding=0 cellspacing=0 border=0><TR><TD width=245 >&nbsp\;</TD><TD><TABLE cellpadding=20 width=488 border=0><TR><TD bgcolor="FFFFFF">');

}

function StartShell(){
document.write('<DIV ID="header" STYLE="position:absolute\; top:0\; left:50%\; margin-left:-375\; width:750\; visibility:visible\; z-index:42\;">');
pullMenuNavBegin();
pullMenu();
pullMenuNavEnd();
document.write('<FORM NAME="Search" action="http://www.calobit.com/ez/name_search.php" method="post"><CENTER><TABLE width=750 cellpadding="0" cellspacing="0"><TR><TD><CENTER><TABLE width=750 cellpadding="0" cellspacing="0"><TR><TD colspan=2 bgcolor="E8EBD5"><IMG SRC="http://www.calobit.com/common/header.gif" border=0></TD></TR>');
document.write('<TR><TD background="http://www.calobit.com/common/menubk.gif" valign=middle><IMG SRC="http://www.calobit.com/common/menubk.gif"><A HREF="http://www.calobit.com/index.html" TARGET="_parent" onMouseOver="window.status=\'Return to the Home Page\'\; return true\;" onMouseOut="window.status=\' \'\; return true\;"><IMG SRC="http://www.calobit.com/common/home_off.gif" height=37 border=0 onMouseOver="src=\'http://www.calobit.com/common/home_on.gif\'\;" onMouseOut="src=\'http://www.calobit.com/common/home_off.gif\'\;"></A><IMG SRC="http://www.calobit.com/common/menubk.gif"><A HREF="http://www.calobit.com/submit.html" TARGET="_parent" onMouseOver="window.status=\'Submit a death notice or obituary\'\; return true\;" onMouseOut="window.status=\' \'\; return true\;"><IMG SRC="http://www.calobit.com/common/submit_off.gif" height=37 border=0 onMouseOver="src=\'http://www.calobit.com/common/submit_on.gif\'\;" onMouseOut="src=\'http://www.calobit.com/common/submit_off.gif\'\;"></A><IMG SRC="http://www.calobit.com/common/menubk.gif"><A HREF="http://www.calobit.com/contact.html"  onMouseOver="window.status=\'Contact us with your questions or comments\'\; return true\;" onMouseOut="window.status=\' \'\; return true\;"><IMG SRC="http://www.calobit.com/common/contact_off.gif" height=37 border=0 onMouseOver="src=\'http://www.calobit.com/common/contact_on.gif\'\;" onMouseOut="src=\'http://www.calobit.com/common/contact_off.gif\'\;"></A><IMG SRC="http://www.calobit.com/common/menubk.gif"><IMG SRC="http://www.calobit.com/common/menubk.gif"><IMG SRC="http://www.calobit.com/common/search.gif" height=37 border=0><IMG SRC="http://www.calobit.com/common/menubk.gif" width=5 height=37></TD><TD background="http://www.calobit.com/common/menubk.gif" width=260 align=left><INPUT Name="searchterm" TYPE=text size=30 Value="Enter a last name" onclick="value=\'\'"\;> <INPUT TYPE="hidden" name="searchtype" value="last_name"><INPUT name="search" type=submit id="search" Value=GO></TD></TR></FORM>');
document.write('<TR><TD colspan=2><TABLE cellpadding=0 cellspacing=0 border=0><TR><TD width=73 >&nbsp\;</TD><TD><TABLE cellpadding=20 width=600><TR><TD bgcolor="FFFFFF">');

}

function EndShell(){
document.write('<BR><BR><BR>');
copyright();
document.write('</TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE></DIV></BODY></HTML></FORM>');
}


function EndObit(){
document.write('<DIV ID="Side" STYLE="position:absolute; top:150; left:50%; margin-left:-375; width:750; visibility:visible; z-index:42;">');
document.write('<TABLE width=750><TR><TD width=225 align=right>');

if (photo==1){
document.write('<IMG SRC="'+photo_Name+'" width=150 border=1 bordercolor="c0c0c0" alt="'+full_name+'"><BR>');
}

document.write('<SPAN CLASS="bodytext"><B>'+full_name+'</B><BR>'+birth_Date+' - '+death_Date+'<BR><BR>');

document.write('<B>Funeral Home</B><BR>'+Funeral_Home+'<BR>');
if (FH_Address==1){
document.write(Funeral_Home_Address+'<BR>');
}
if (FH_City==1){
document.write(Funeral_Home_City+'<BR>');
}
if (FH_Phone==1){
document.write(Funeral_Home_Phone+'<BR>');
}
document.write('<BR>');

if (Wake==1){
document.write('<B>Visitation</B><BR>'+Wake_Date+'<BR>'+Wake_Location+'<BR>'+Wake_Address+'<BR>'+Wake_City+'<BR><BR>');
}

if (Rosary==1){
document.write('<B>Rosary</B><BR>'+Rosary_Date+'<BR>'+Rosary_Location+'<BR>'+Rosary_Address+'<BR>'+Rosary_City+'<BR><BR>');
}

if (Mass==1){
document.write('<B>Mass</B><BR>'+Mass_Date+'<BR>'+Mass_Location+'<BR>'+Mass_Address+'<BR>'+Mass_City+'<BR><BR>');
}

if (Memorial==1){
document.write('<B>Memorial Service</B><BR>'+Memorial_Date+'<BR>'+Memorial_Location+'<BR><BR>');
}

if (Funeral==1){
document.write('<B>Funeral</B><BR>'+Funeral_Date+'<BR>'+Funeral_Location+'<BR>'+Funeral_Address+'<BR>'+Funeral_City+'<BR><BR>');
}

if (Charity==1){
document.write('<A HREF="http://'+Charity_Site+'" target="charity"><IMG SRC="http://www.calobit.com/common/donate.gif" border=0 alt="Donate to a memorial charity"></A><BR><BR>');
}

if (Guestbook==1){
document.write('<A HREF="http://www.calobit.com/cgi-script/psGuest/psGuest.php?command=view&gid='+Guestbook_Address+'"><IMG SRC="http://www.calobit.com/common/viewguestbook.gif" border=0 alt="View or sign the guestbook"></A><BR><BR>');
}

if (SendFlowers==1){
document.write('<A HREF="http://'+Send_Flowers+'" target="sendflowers"><IMG SRC="http://www.calobit.com/common/sendflowers.gif" border=0 alt="Send Flowers"></A>');
}

document.write('</TD><TD>&nbsp;</TD></TR></TABLE>');
document.write('</DIV>');

}


function MM_findObj(n, d) { //v4.01
  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<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}

function getRnum(){
var rnumb = "";

rnumb += Math.floor(Math.random()*24);

randFt = rnumb;
}

function vipFt(item){


if (item == randFt){
document.write('<IMG SRC="http://www.calobit.com/common/featuredtoday.gif" align=left>');
}else{
document.write('');

//alert(rnumb);
}
}



homeButton = new Image();
homeButton.src = "http://www.calobit.com/common/home_off.gif";




myRe=/\'/g;
myReA=/\"/g;

function escapeVal(MyItem,replaceWith){

MyItem.value=MyItem.value.replace(myRe,"\\'")
MyItem.value=MyItem.value.replace(myReA,"\\'\\'")

MyItem.value = escape(MyItem.value) //encode MyItem string's carriage returns

for(i=0; i<MyItem.value.length; i++){

if(MyItem.value.indexOf("%0D%0A") > -1){

MyItem.value=MyItem.value.replace("%0D%0A",replaceWith)
}
else if(MyItem.value.indexOf("%0A") > -1){

MyItem.value=MyItem.value.replace("%0A",replaceWith)
}
else if(MyItem.value.indexOf("%0D") > -1){

MyItem.value=MyItem.value.replace("%0D",replaceWith)
}
}

MyItem.value=unescape(MyItem.value) // unescape all other encoded characters


}

