function Update(date){
	if (date) { 
		this.date	= new Date(date);
	}
	this.heartrate	= "";
	this.text	= [];
	this.images	= [];
	this.expand	= 1;
	this.isTime	= date.match(/\:/);
	this.week	= function() {
				var diff = this.date - dateCon;
				var days = diff/86400000;
				var weeks = new String((days/7) + 2);
				var point = weeks.indexOf(".");
				return weeks.substring(0,point);
			  };
	this.time	= function() {
				var hour	= this.date.getHours();
				var minute	= "" + this.date.getMinutes();
				if (minute.length <2) { minute = "0" + minute; }
				if (minute.length <2) { minute = "0" + minute; }
				var ampm	= "am";
				if (hour >12) { 
					ampm = "pm";
					hour = hour - 12;
				}
				return hour + ":" + minute + ampm;
			  };
	this.addText	= function(text) {
				this.text.push(text);
			  };
	this.addImage	= function(url) {
				this.images.push(url);
			  };
	return this;
}

var Updates	= new Array();
var j=-1;
Updates[++j]			= new Update("January 25, 2005");
Updates[j].addText("This should be the final stretch!  Shelby is 1cm and the baby is head down!");

Updates[++j]			= new Update("January 18, 2005");
Updates[j].addText("Looks like this one is another Hailey.  She is sideways!!!");

Updates[++j]			= new Update("January 11, 2005");
Updates[j].addText("We are HEAD DOWN!!!");

Updates[++j]			= new Update("January 9, 2005");
Updates[j].addText("New bellyshot!  Right now, the baby seems to be stuck about 45 degrees down.  The chiropractor has tried 3 times to turn her, with no luck.");
Updates[j].addImage("Pics/s-Home-20050109-Shelby-Bellyshot01.jpg");

Updates[++j]			= new Update("January 4, 2005");
Updates[j].heartrate = "154";
Updates[j].addText("Well, the Chiropractor started things moving! The baby has been moving a LOT lately and is now sideways. What's more, Shelby is 0.5cm!! We are all gettingso excited.");

Updates[++j]			= new Update("December 29, 2004");
Updates[j].addText("The baby just needs to turn head-down as we head into the final stretch! The fake contractions are continuing and the baby seems to have a bad case of the hiccups.");
Updates[j].addText("Shelby is going to the Chiropractor to open things up so she can turn and get ready.");

Updates[++j]			= new Update("December 2, 2004");
Updates[j].heartrate = "145";

Updates[++j]			= new Update("November 24, 2004");
Updates[j].addText("Hailey has discovered how to wake up the baby! She puts her hands on Shelby's belly and shakes while yelling, 'Wake up, Baby!!'");

Updates[++j]			= new Update("November 6, 2004");
Updates[j].addText("Had kind of a scare today.  Shelby was in bed when she felt the baby move wildly, then jerk quickly, then stop!  We waited more than 1 hour before she started moving again.");

Updates[++j]			= new Update("November 1, 2004");
Updates[j].addText("New bellyshot!!");
Updates[j].addImage("Pics/s-Home-20041101-Shelby-Bellyshot03.jpg");

Updates[++j]			= new Update("October 12, 2004");
Updates[j].addText("Ok, so I haven't posted the other sonogram pics, but after seeing this one, I don't think anyone will want to bother with the older ones!");
Updates[j].addImage("Pics/s-ShelbysBelly-20041012-Sonogram01.jpg");

Updates[++j]			= new Update("October 8, 2004");
Updates[j].addText("I finally felt the baby kick!");

Updates[++j]			= new Update("October 7, 2004");
Updates[j].addText("Well, I really can't explain Abbica . . . .");
Updates[j].addImage("Pics/s-Home-20041007-Shelby-Bellyshot01.jpg");
Updates[j].addImage("Pics/s-Home-20041007-ShelbyAbbica-Bellyshot02.jpg");

Updates[++j]			= new Update("October 6, 2004");
Updates[j].addText("This should be fun.  Shelby has been complaining that her back was really sore lately.");
Updates[j].addText("Turns out that the baby cracked a rib!!!  Un-friggin-believeable.");
Updates[j].addText("She also is developing pregnancy-induced carpultunel in her thumb.");

Updates[++j]			= new Update("September 24, 2004");
Updates[j].addText("Had another sonogram today.  Baby didn't cooperate too much, though.");
Updates[j].addImage("Pics/s-ShelbysBelly-20040924-Sonogram02.jpg");

Updates[++j]			= new Update("September 8, 2004");
Updates[j].addText("First Bellyshot of the pregnancy!");
Updates[j].addImage("Pics/s-Home-20040908-Shelby-Bellyshot02.jpg");

Updates[++j]			= new Update("August 5, 2004");
Updates[j].heartrate = "160";
Updates[j].addText("Heard the heartbeat for the first time today.  Seemed awfully fast . . . .");
Updates[j].addText("Shelby is starting to pop out.  We should have a bellyshot any day now!");

Updates[++j]			= new Update("July 28, 2004");
Updates[j].addText("Shelby started feeling the baby move today!");

Updates[++j]			= new Update("July 2, 2004");
Updates[j].addText("First sonogram.");
Updates[j].addText("New Duedate:  02/10/2005");
Updates[j].addImage("Pics/s-ShelbysBelly-20040702-Sonogram01.jpg");

Updates[++j]			= new Update("June 16, 2004");
Updates[j].addText("Shelby is starting to get sick.  Not morning sickness, really.  More like evening sickness.");
Updates[j].addText("What I am trying to figure out is how we conceived only 4 weeks ago, yet Shelby is 6 weeks pregnant!");

Updates[++j]			= new Update("May 30, 2004");
Updates[j].addText("Well . . . It's happening again!");
Updates[j].addText("On Sunday, May 30, 2004, Shelby took the test.");
Updates[j].addText("Tentative Due Date:  02/08/2005");
Updates[j].addText("So keep checking back!!");

Updates[++j]			= new Update("January 27, 2005 15:30:00");
Updates[j].addText("Shelby got a hard contraction!");
Updates[j].addText("Then another . . . .  Then another!");
Updates[j].addText("Shelby called me at work to meet at Amy's house, where we had a labor party!");

Updates[++j]			= new Update("January 27, 2005 20:30:00");
Updates[j].addText("For the last 2 hours, Shelby has been contracting every 4-5 minutes, each lasting up to 4 minutes.");
Updates[j].addText("She called the doctor and we are being sent into the hospital!");
Updates[j].addText("Thanks to Mary Anne and Robert for housing our children while we go.");

Updates[++j]			= new Update("January 27, 2005 23:00:00");
Updates[j].addText("By the time we got the the hospital, the contractions had slowed and by now, they were ~9 minutes apart, but even stronger.");
Updates[j].addText("However, since nothing has changed, we came home.  We'll have to see how tomorrow goes.");

Updates[++j]	= new Update("February 1, 2005");
Updates[j].addText("Shelby continues to contract.  They are getting more intense, but not consistant.");
Updates[j].addText("She is unable to drive anymore as the contractions, when they come, are quite distracting....");

Updates[++j]	= new Update("February 3, 2005 22:00:00");
Updates[j].addText("Some major cramping, followed by contractions.  These are powerful enough to make Shelby scream out and they are coming every 3 minutes!");

Updates[++j]	= new Update("February 3, 2005 22:45:00");
Updates[j].addText("Doctor <B>finally</B> called back!  We're on our way to the hospital!");

Updates[++j]	= new Update("February 3, 2005 23:00:00");
Updates[j].addText("Mike gets pulled over for speeding");
Updates[j].addText("In our rush to get out of the house, I forgot my 'wallet.'  The officer asked where we were going and then said that he would let us go and come to the hospital behind us . . .");
Updates[j].addText(". . . to give me the citation!");
Updates[j].addText("Oh yeah, and the car's mostly out of gas!  Should have just enough gas to get there.");

Updates[++j]	= new Update("February 4, 2005 2:30:00");
Updates[j].addText("I guess the officer didn't realize that we were 30 min and 2 counties away from the hospital; he never showed.");
Updates[j].addText("We are home, now.  The contractions stopped soon after arriving at the Birthing Inn.  Well, they didn't so much stop as just lessen in intensity.");
Updates[j].addText("As we were leaving the hospital, I remembered that I had to fill up.");
Updates[j].addText("As we were pulling into the gas station, I remembered that I had no money!");
Updates[j].addText("We eventually made it home, though.  I'll have to siphon gas out of the lawn mower to get the car to make it to the gas station, but at least we're home.");

Updates[++j]	= new Update("February 9, 2005");
Updates[j].addText("No change!");
Updates[j].addText("Here's the plan:  Shelby just got one dose of gel today and will follow up on Friday and, if need be, Sunday.  Beyond that, we have no choice but a full on induction.");

Updates[++j]	= new Update("Fri Feb 11 13:29:28 2005");
Updates[j].addText("The baby is breach!  Shelby is not in labor, but we are running out of time before things start to happen and she has to get a c-section.");
Updates[++j]	= new Update("Fri Feb 11 17:45:13 2005");
Updates[j].addText("Baby is still breach, C section scheduled for 6:30PM");
Updates[j].addText("More updates to come later");
Updates[++j]	= new Update("Fri Feb 11 20:42:04 2005");
Updates[j].addText("Length: 19 inches");
Updates[j].addText("Weight: 7 lbs. 7 oz.");
Updates[j].addText("Name: Isabella Maria");
Updates[j].addText("Looks like her may be dark, Not red!");
Updates[++j]	= new Update("Fri Feb 11 20:45:33 2005");
Updates[j].addText("Mommy is in recovery and is doing great.");
Updates[++j]	= new Update("Sat Feb 12, 2005");
Updates[j].addText("Shelby and Isabella are doing GREAT!!  Recovery is moving along swiftly and we should all be home late on Monday.");
Updates[j].addText("We have lots of pictures and as soon as I get a chance, I will assemble the page and send out pictures");
Updates[++j]	= new Update("Sat Feb 12, 2005");
Updates[j].addText("We are very bored and would love visitors.  I believe visiting hours are 8am - 10pm.");

