function loadVideoDiv(videoIDNumber,title,date,segment,speaker,message,baptism,worship,special) {

	var objectString = "<object width='550' height='309'><param name='allowfullscreen' value='true' />" +
		"<param name='allowscriptaccess' value='always' /><param name='movie' value='http://vimeo.com/moogaloop.swf?" +
		"clip_id=" + videoIDNumber + "&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1' />" +
		"<embed src='http://vimeo.com/moogaloop.swf?clip_id=" + videoIDNumber + "&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1'" +
		"type='application/x-shockwave-flash' allowfullscreen='true' allowscriptaccess='always' width='550' height='309'></embed></object>"


	WriteContentIntoID('placeholder1',objectString);
	WriteContentIntoID('nowplayingTitle',title);
	WriteContentIntoID('nowplayingDate',date);
	WriteContentIntoID('nowplayingSpeaker',speaker);

	WriteContentIntoID("serviceInfo","<span class='blue12'>Now Playing: </span>" + segment);

	var buttonWorship="";
	var buttonMessage="";
	var buttonBaptism="";
	var buttonSpecial="";



	if(worship != "0") {
		segment = "Worship";
		buttonWorship = "<div id=\"servicebutton\"><a href=\ \"javascript:loadVideoDiv(";
		buttonWorship = buttonWorship + "'" + worship + "','" + title + "','" + date + "','" + segment + "','" + speaker + "','" + message + "','" + baptism + "','" + worship + "','" + special + "');\"\>";	
		buttonWorship = buttonWorship + "<img src=\"img/worship.gif\" width=\"18px\" height=\"18px\" hspace=\"0px\" vspace=\"0px\" border=\"0px\"></a></div>";
	}



	if(special != "0") {
		segment = "Special";
		buttonSpecial = "<div id=\"servicebutton\"><a href=\ \"javascript:loadVideoDiv(";
		buttonSpecial = buttonSpecial + "'" + special + "','" + title + "','" + date + "','" + segment + "','" + speaker + "','" + message + "','" + baptism + "','" + worship + "','" + special + "');\"\>";	
		buttonSpecial = buttonSpecial + "<img src=\"img/special.gif\" width=\"18px\" height=\"18px\" hspace=\"0px\" vspace=\"0px\" border=\"0px\"></a></div>";
	}


	if(message != "0") {
		segment = "Message";
		buttonMessage = "<div id=\"servicebutton\"><a href=\ \"javascript:loadVideoDiv(";
		buttonMessage = buttonMessage + "'" + message + "','" + title + "','" + date + "','" + segment + "','" + speaker + "','" + message + "','" + baptism + "','" + worship + "','" + special + "');\"\>";	
		buttonMessage = buttonMessage + "<img src=\"img/message.gif\" width=\"18px\" height=\"18px\" hspace=\"0px\" vspace=\"0px\" border=\"0px\"></a></div>";
	}


	if(baptism != "0") {
		segment = "Baptism";
		buttonBaptism = "<div id=\"servicebutton\"><a href=\ \"javascript:loadVideoDiv(";
		buttonBaptism = buttonBaptism + "'" + baptism + "','" + title + "','" + date + "','" + segment + "','" + speaker + "','" + message + "','" + baptism + "','" + worship + "','" + special + "');\"\>";	
		buttonBaptism = buttonBaptism + "<img src=\"img/baptism.gif\" width=\"18px\" height=\"18px\" hspace=\"0px\" vspace=\"0px\" border=\"0px\"></a></div>";
	}

	WriteContentIntoID("serviceOptions", buttonWorship + buttonSpecial + buttonMessage + buttonBaptism);


}


