// 	developed by Provage
// ---------- Rollover ----------
	function si(elem,turnTo) {
	  elem.src = "imgs/" + turnTo;
	}

// ---------- Preloads ----------
	n1i_cp0 = new Image(114,30);
	n1i_cp0.src = "imgs/nav1/nav1_cp0.gif";
	n1i_cph = new Image(114,30);
	n1i_cph.src = "imgs/nav1/nav1_cph.gif";
	n1i_cp1 = new Image(114,30);
	n1i_cp1.src = "imgs/nav1/nav1_cp1.gif";
	n1i_fl0 = new Image(74,30);
	n1i_fl0.src = "imgs/nav1/nav1_fl0.gif";
	n1i_flh = new Image(74,30);
	n1i_flh.src = "imgs/nav1/nav1_flh.gif";
	n1i_fl1 = new Image(74,30);
	n1i_fl1.src = "imgs/nav1/nav1_fl1.gif";
	n1i_wc0 = new Image(139,30);
	n1i_wc0.src = "imgs/nav1/nav1_wc0.gif";
	n1i_wch = new Image(139,30);
	n1i_wch.src = "imgs/nav1/nav1_wch.gif";
	n1i_wc1 = new Image(139,30);
	n1i_wc1.src = "imgs/nav1/nav1_wc1.gif";
	n1i_oc0 = new Image(145,30);
	n1i_oc0.src = "imgs/nav1/nav1_oc0.gif";
	n1i_och = new Image(145,30);
	n1i_och.src = "imgs/nav1/nav1_och.gif";
	n1i_oc1 = new Image(145,30);
	n1i_oc1.src = "imgs/nav1/nav1_oc1.gif";
	n1i_fa0 = new Image(57,30);
	n1i_fa0.src = "imgs/nav1/nav1_fa0.gif";
	n1i_fah = new Image(57,30);
	n1i_fah.src = "imgs/nav1/nav1_fah.gif";
	n1i_fa1 = new Image(57,30);
	n1i_fa1.src = "imgs/nav1/nav1_fa1.gif";
	n1i_ci0 = new Image(127,30);
	n1i_ci0.src = "imgs/nav1/nav1_ci0.gif";
	n1i_cih = new Image(127,30);
	n1i_cih.src = "imgs/nav1/nav1_cih.gif";
	n1i_ci1 = new Image(127,30);
	n1i_ci1.src = "imgs/nav1/nav1_ci1.gif";
	n1i_ho0 = new Image(65,30);
	n1i_ho0.src = "imgs/nav1/nav1_ho0.gif";
	n1i_hoh = new Image(65,30);
	n1i_hoh.src = "imgs/nav1/nav1_hoh.gif";
	n1i_ho1 = new Image(65,30);
	n1i_ho1.src = "imgs/nav1/nav1_ho1.gif";
	n1i_ds0 = new Image(175,30);
	n1i_ds0.src = "imgs/nav1/nav1_ds0.gif";
	n1i_dsh = new Image(175,30);
	n1i_dsh.src = "imgs/nav1/nav1_dsh.gif";
	n1i_ds1 = new Image(175,30);
	n1i_ds1.src = "imgs/nav1/nav1_ds1.gif";
	n1i_tl0 = new Image(178,30);
	n1i_tl0.src = "imgs/nav1/nav1_tl0.gif";
	n1i_tlh = new Image(178,30);
	n1i_tlh.src = "imgs/nav1/nav1_tlh.gif";
	n1i_tl1 = new Image(178,30);
	n1i_tl1.src = "imgs/nav1/nav1_tl1.gif";
	n1i_et0 = new Image(156,30);
	n1i_et0.src = "imgs/nav1/nav1_et0.gif";
	n1i_eth = new Image(156,30);
	n1i_eth.src = "imgs/nav1/nav1_eth.gif";
	n1i_et1 = new Image(156,30);
	n1i_et1.src = "imgs/nav1/nav1_et1.gif";
	
	homerpl1 = new Image(390,350);
	homerpl1.src = "imgs/home_cake1.gif";
	homerpl2 = new Image(390,350);
	homerpl2.src = "imgs/home_cake2.gif";
	homerpl3 = new Image(390,350);
	homerpl3.src = "imgs/home_cake3.gif";
	homerpl4 = new Image(390,350);
	homerpl4.src = "imgs/home_cake4.gif";
	homerpl5 = new Image(390,350);
	homerpl5.src = "imgs/home_cake5.gif";
	homerpl6 = new Image(390,350);
	homerpl6.src = "imgs/home_cake6.gif";
	
	btth = new Image(88,24);
	btth.src = "imgs/b/btt_h.gif";
	bttph = new Image(88,24);
	bttph.src = "imgs/b/bttp_h.gif";
	
// MASTER DATA ////////////////////////////////////////////////////////////////////////////////////////////////////
copyright =  new Date().getFullYear();
monthlist = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
monthlist2 = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
theMonth = monthlist2[new Date().getMonth()];

// MASTER LISTS ////////////////////////////////////////////////////////////////////////////////////////////////////
// ---------- Ads ----------
ad01 = '<a href="http://www.sanjoaquinmagazine.com/sanjoaquin/survey1.html" target="_blank"><img src="abet/sanjoaquin_vote3.gif" width="120" height="60" border="0" alt="Vote" /></a>';
ad02 = '<a href="http://www.sanjoaquinmagazine.com" target="_blank"><img src="abet/sanjoaquin.jpg" width="468" height="60" border="0" alt="SJ Mag" /></a>';
ad03 = '<div style="float: right; margin-left: 12px;"><a href="http://kcra.cityvoter.com/Details.aspx?business=76872&utm_source=kat-s-cakes&utm_medium=reciprocallink&utm_campaign=reciprocallinks" title="2009 KCRA 3 A-List Contest Nominated: Best Cake in the Sacramento area" target="_blank"><img src="abet/kcra_ty.gif" width="120" height="90" border="0" alt="KCRA A-List" /></a></div>';
ad03r = '<div style="float: right; margin-left: 12px;"><a href="http://kcra.cityvoter.com/Details.aspx?business=76872&utm_source=kat-s-cakes&utm_medium=reciprocallink&utm_campaign=reciprocallinks" title="2009 KCRA 3 A-List Contest Nominated: Best Cake in the Sacramento area" target="_blank"><img src="abet/kcra_tyr.gif" width="120" height="90" border="0" alt="KCRA A-List" /></a></div>';


// ---------- Cake Photos ----------
	function cake_photo(cp_code, cp_file, cp_photographer) {
		this.cp_code = cp_code;
		this.cp_file = cp_file;
		this.cp_photographer = cp_photographer;
	}

	cpn=0;
	var cp_list = new Array();
	//cp_list[ev] = new event("xxxcodexxx", "xxxfilexxx", "xxxphotographerxxx"); cpn++;
	// cp_code: [w] wedding, [o] occasion, [m] misc - [h] horizontal, [v] vertical
	cp_list[cpn] = new cake_photo("ov", "100_0606", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_052", ""); cpn++;
	cp_list[cpn] = new cake_photo("wh", "csp_10", "Camera Science Photography"); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_043", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "002", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "briggs_1161", "Briggs Photography"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "006_6", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "009_9", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "briggs_1002", "Briggs Photography"); cpn++;
	cp_list[cpn] = new cake_photo("oh", "100_0099", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "baby_butt", ""); cpn++;
	cp_list[cpn] = new cake_photo("mh", "100_0600", ""); cpn++;
	cp_list[cpn] = new cake_photo("ov", "015_15", ""); cpn++;
	cp_list[cpn] = new cake_photo("mh", "chevy2", ""); cpn++;
	cp_list[cpn] = new cake_photo("ov", "100_0618", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "1219205566", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "123_123", ""); cpn++;
	cp_list[cpn] = new cake_photo("mv", "013_13", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "124_124", ""); cpn++;
	cp_list[cpn] = new cake_photo("ov", "baby_bear", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "bokan", "Melanie Mages Photography"); cpn++;
	cp_list[cpn] = new cake_photo("mh", "cheese", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "040_40", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "christinabradt", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "dscn0248", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "jungle_cake", ""); cpn++;
	cp_list[cpn] = new cake_photo("mh", "pirates", ""); cpn++;
	cp_list[cpn] = new cake_photo("ov", "under_construc", ""); cpn++;

	cp_list[cpn] = new cake_photo("oh", "100_0643", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_233", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "022_22", ""); cpn++;
	cp_list[cpn] = new cake_photo("mh", "100_0586", ""); cpn++;
	cp_list[cpn] = new cake_photo("mh", "121_121", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "100_0083", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "yana", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "gisellev_1", "Giselle Vincent Photography"); cpn++;
	cp_list[cpn] = new cake_photo("mh", "noahs_arc", ""); cpn++;
	cp_list[cpn] = new cake_photo("ov", "cakes_such_130", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "briggs_4519", "Briggs Photography"); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_236", ""); cpn++;
	cp_list[cpn] = new cake_photo("wh", "aeiler_031", "Arnold Eiler"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "004", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_065", ""); cpn++;
	cp_list[cpn] = new cake_photo("ov", "dscn0379", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "csp_2", "Camera Science Photography"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "blue_packages", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "briggs_2", "Briggs Photography"); cpn++;
	cp_list[cpn] = new cake_photo("ov", "mermaid", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "monster_truck", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "csp_1", "Camera Science Photography"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "100_0632", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "csp_3", "Camera Science Photography"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "draper", "Draper Photography"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "003", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_058", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "100_0088", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "aeiler_018", "Arnold Eiler"); cpn++;
	cp_list[cpn] = new cake_photo("oh", "speedometer", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_232", ""); cpn++;
	cp_list[cpn] = new cake_photo("ov", "cakes_such_106", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_201", ""); cpn++;
	cp_list[cpn] = new cake_photo("mv", "sponge_bob", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "dscn0107", ""); cpn++;
	cp_list[cpn] = new cake_photo("mh", "dscn0184", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "csp_4", "Camera Science Photography"); cpn++;
	cp_list[cpn] = new cake_photo("oh", "drum", ""); cpn++;
	cp_list[cpn] = new cake_photo("wh", "briggs", "Briggs Photography"); cpn++;
	cp_list[cpn] = new cake_photo("mh", "farm_cupcakes", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "img_3433", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "100_0580", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "briggs_1302", "Briggs Photography"); cpn++;
	cp_list[cpn] = new cake_photo("mh", "tiger_sul", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "001", ""); cpn++;
	cp_list[cpn] = new cake_photo("mh", "cakes_such_222", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "100_0108", ""); cpn++;
	cp_list[cpn] = new cake_photo("mh", "mini_cooper", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "dscn0251", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "dscn0256", ""); cpn++;
//	cp_list[cpn] = new cake_photo("mh", "tasters", ""); cpn++; // removed 12/2/08
	cp_list[cpn] = new cake_photo("wv", "cakes_such_247", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "100_0091", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "dscn0203", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "dscn0252", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "025_25", ""); cpn++;
	cp_list[cpn] = new cake_photo("ov", "001_1", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "dscn0254", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "100_0107", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "briggs_3", "Briggs Photography"); cpn++;
	cp_list[cpn] = new cake_photo("wh", "prevost", "Prevost Photography"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "csp_9", "Camera Science Photography"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "csp_7", "Camera Science Photography"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "dscn0105", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_203", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_074", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "thecake", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "100_2858", ""); cpn++;
	cp_list[cpn] = new cake_photo("ov", "nina_flores", ""); cpn++;
	cp_list[cpn] = new cake_photo("mh", "barn_close_up", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_246", ""); cpn++;
	cp_list[cpn] = new cake_photo("wh", "aeiler_009", "Arnold Eiler"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "csp_5", "Camera Science Photography"); cpn++;
	cp_list[cpn] = new cake_photo("oh", "shower081115", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "img_3435", "Camera Science Photography"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "cakes_such_143", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "touch_of_beaut", "Touch of Beauty Photography"); cpn++;
	cp_list[cpn] = new cake_photo("oh", "100_0524", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "005", ""); cpn++;
	cp_list[cpn] = new cake_photo("mh", "dscn0302", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "parking_lot", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "gary_buth2", "Gary Buth"); cpn++;
//	cp_list[cpn] = new cake_photo("mh", "christine_hayr", ""); cpn++; // removed 12/2/08
	cp_list[cpn] = new cake_photo("oh", "100_0626", ""); cpn++;
	cp_list[cpn] = new cake_photo("mh", "133_133", ""); cpn++;
	cp_list[cpn] = new cake_photo("ov", "dscn0239", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "lorrainerivas", ""); cpn++;
	cp_list[cpn] = new cake_photo("wv", "gisellev_2", "Giselle Vincent Photography"); cpn++;
	cp_list[cpn] = new cake_photo("wv", "csp", "Camera Science Photography"); cpn++;
	cp_list[cpn] = new cake_photo("mh", "dscn0261", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "cakes_such_144", ""); cpn++;
	cp_list[cpn] = new cake_photo("oh", "dscn0197", ""); cpn++;

	var wedd_cakes = new Array();
	var occa_cakes = new Array();
	var misc_cakes = new Array();
	var all_cakes = new Array();
	wcn = 0;
	ocn = 0;
	mcn = 0;
	for (var tcn=0; tcn<cp_list.length; tcn++){
		if (cp_list[tcn].cp_code.charAt(0) == "w") {wedd_cakes[wcn] = tcn; wcn++;}
		else if (cp_list[tcn].cp_code.charAt(0) == "o") {occa_cakes[ocn] = tcn; ocn++;}
		else {misc_cakes[mcn] = tcn; mcn++;}
		all_cakes[tcn] = tcn;
	}

	cake_type = 'wom';
	cake_group = 0;
	cake_view_list  = all_cakes;

	function cake_maker(cake_pass) {
		cake_type = cake_pass;
		function cakea0() {si(document.cake_a,'b/cake_a_0.gif');}
		function cakea1() {si(document.cake_a,'b/cake_a_1.gif');}
		function cakew0() {si(document.cake_w,'b/cake_w_0.gif');}
		function cakew1() {si(document.cake_w,'b/cake_w_1.gif');}
		function cakew_setover() {si(document.cake_a,'b/cake_a_0.gif'); si(document.cake_o,'b/cake_o_0.gif'); si(document.cake_m,'b/cake_m_0.gif');}
		function cakeo0() {si(document.cake_o,'b/cake_o_0.gif');}
		function cakeo1() {si(document.cake_o,'b/cake_o_1.gif');}
		function cakeo_setover() {si(document.cake_a,'b/cake_a_0.gif'); si(document.cake_w,'b/cake_w_0.gif'); si(document.cake_m,'b/cake_m_0.gif');}
		function cakem0() {si(document.cake_m,'b/cake_m_0.gif');}
		function cakem1() {si(document.cake_m,'b/cake_m_1.gif');}
		function cakem_setover() {si(document.cake_a,'b/cake_a_0.gif'); si(document.cake_w,'b/cake_w_0.gif'); si(document.cake_o,'b/cake_o_0.gif');}
		function cake_setout() {si(document.cake_a,'b/cake_a_1.gif'); si(document.cake_w,'b/cake_w_1.gif'); si(document.cake_o,'b/cake_o_1.gif'); si(document.cake_m,'b/cake_m_1.gif');}

		if (cake_type == "w") {
			document.cake_a.src = "imgs/b/cake_a_0.gif"; document.cake_a.onmouseover = cakea1; document.cake_a.onmouseout = cakea0;
			document.cake_w.src = "imgs/b/cake_w_1.gif"; document.cake_w.onmouseover = cakew1; document.cake_w.onmouseout = cakew1;
			document.cake_o.src = "imgs/b/cake_o_0.gif"; document.cake_o.onmouseover = cakeo1; document.cake_o.onmouseout = cakeo0;
			document.cake_m.src = "imgs/b/cake_m_0.gif"; document.cake_m.onmouseover = cakem1; document.cake_m.onmouseout = cakem0;
			cake_view_list  = wedd_cakes;
		} else if (cake_type == "o") {
			document.cake_a.src = "imgs/b/cake_a_0.gif"; document.cake_a.onmouseover = cakea1; document.cake_a.onmouseout = cakea0;
			document.cake_w.src = "imgs/b/cake_w_0.gif"; document.cake_w.onmouseover = cakew1; document.cake_w.onmouseout = cakew0;
			document.cake_o.src = "imgs/b/cake_o_1.gif"; document.cake_o.onmouseover = cakeo1; document.cake_o.onmouseout = cakeo1;
			document.cake_m.src = "imgs/b/cake_m_0.gif"; document.cake_m.onmouseover = cakem1; document.cake_m.onmouseout = cakem0;
			cake_view_list  = occa_cakes;
		} else if (cake_type == "m") {
			document.cake_a.src = "imgs/b/cake_a_0.gif"; document.cake_a.onmouseover = cakea1; document.cake_a.onmouseout = cakea0;
			document.cake_w.src = "imgs/b/cake_w_0.gif"; document.cake_w.onmouseover = cakew1; document.cake_w.onmouseout = cakew0;
			document.cake_o.src = "imgs/b/cake_o_0.gif"; document.cake_o.onmouseover = cakeo1; document.cake_o.onmouseout = cakeo0;
			document.cake_m.src = "imgs/b/cake_m_1.gif"; document.cake_m.onmouseover = cakem1; document.cake_m.onmouseout = cakem1;
			cake_view_list  = misc_cakes;
		} else {
			document.cake_a.src = "imgs/b/cake_a_1.gif"; document.cake_a.onmouseover = cakea1; document.cake_a.onmouseout = cakea1;
			document.cake_w.src = "imgs/b/cake_w_1.gif"; document.cake_w.onmouseover = cakew_setover; document.cake_w.onmouseout = cake_setout;
			document.cake_o.src = "imgs/b/cake_o_1.gif"; document.cake_o.onmouseover = cakeo_setover; document.cake_o.onmouseout = cake_setout;
			document.cake_m.src = "imgs/b/cake_m_1.gif"; document.cake_m.onmouseover = cakem_setover; document.cake_m.onmouseout = cake_setout;
			cake_view_list  = all_cakes;
		}
		cake_group = 0;
		cake_thumbs();
	}
		
	function cake_thumbs() {
		var cake_thumb = new Array();
		cake_thumb[0] = cake_view_list[0 + (cake_group * 10)];
		cake_thumb[1] = cake_view_list[1 + (cake_group * 10)];
		cake_thumb[2] = cake_view_list[2 + (cake_group * 10)];
		cake_thumb[3] = cake_view_list[3 + (cake_group * 10)];
		cake_thumb[4] = cake_view_list[4 + (cake_group * 10)];
		cake_thumb[5] = cake_view_list[5 + (cake_group * 10)];
		cake_thumb[6] = cake_view_list[6 + (cake_group * 10)];
		cake_thumb[7] = cake_view_list[7 + (cake_group * 10)];
		cake_thumb[8] = cake_view_list[8 + (cake_group * 10)];
		cake_thumb[9] = cake_view_list[9 + (cake_group * 10)];
		cake_thumb[10] = cake_view_list[10 + (cake_group * 10)];
						
		function cpnt0d() {showCake(cake_thumb[0]);}
		function cpnt1d() {showCake(cake_thumb[1]);}
		function cpnt2d() {showCake(cake_thumb[2]);}
		function cpnt3d() {showCake(cake_thumb[3]);}
		function cpnt4d() {showCake(cake_thumb[4]);}
		function cpnt5d() {showCake(cake_thumb[5]);}
		function cpnt6d() {showCake(cake_thumb[6]);}
		function cpnt7d() {showCake(cake_thumb[7]);}
		function cpnt8d() {showCake(cake_thumb[8]);}
		function cpnt9d() {showCake(cake_thumb[9]);}
		function cpnt_nolink() { }

		function prevover() {si(document.gpprev,'b/gpprev_h.gif');}
		function prevout() {si(document.gpprev,'b/gpprev_0.gif');}
		function prevclick() {prev_group();}
		
		function nextover() {si(document.gpnext,'b/gpnext_h.gif');}
		function nextout() {si(document.gpnext,'b/gpnext_0.gif');}
		function nextclick() {next_group();}
		
		if (cake_thumb[0] != null) {document.cpnt0.src = 'photos/katscakes_' + cp_list[cake_thumb[0]].cp_file + '_t.jpg'; document.cpnt0.onclick = cpnt0d;} else {document.cpnt0.src = 'imgs/clear.gif'; document.cpnt0.onclick = cpnt_nolink;}
		if (cake_thumb[1] != null) {document.cpnt1.src = 'photos/katscakes_' + cp_list[cake_thumb[1]].cp_file + '_t.jpg'; document.cpnt1.onclick = cpnt1d;} else {document.cpnt1.src = 'imgs/clear.gif'; document.cpnt1.onclick = cpnt_nolink;}
		if (cake_thumb[2] != null) {document.cpnt2.src = 'photos/katscakes_' + cp_list[cake_thumb[2]].cp_file + '_t.jpg'; document.cpnt2.onclick = cpnt2d;} else {document.cpnt2.src = 'imgs/clear.gif'; document.cpnt2.onclick = cpnt_nolink;}
		if (cake_thumb[3] != null) {document.cpnt3.src = 'photos/katscakes_' + cp_list[cake_thumb[3]].cp_file + '_t.jpg'; document.cpnt3.onclick = cpnt3d;} else {document.cpnt3.src = 'imgs/clear.gif'; document.cpnt3.onclick = cpnt_nolink;}
		if (cake_thumb[4] != null) {document.cpnt4.src = 'photos/katscakes_' + cp_list[cake_thumb[4]].cp_file + '_t.jpg'; document.cpnt4.onclick = cpnt4d;} else {document.cpnt4.src = 'imgs/clear.gif'; document.cpnt4.onclick = cpnt_nolink;}
		if (cake_thumb[5] != null) {document.cpnt5.src = 'photos/katscakes_' + cp_list[cake_thumb[5]].cp_file + '_t.jpg'; document.cpnt5.onclick = cpnt5d;} else {document.cpnt5.src = 'imgs/clear.gif'; document.cpnt5.onclick = cpnt_nolink;}
		if (cake_thumb[6] != null) {document.cpnt6.src = 'photos/katscakes_' + cp_list[cake_thumb[6]].cp_file + '_t.jpg'; document.cpnt6.onclick = cpnt6d;} else {document.cpnt6.src = 'imgs/clear.gif'; document.cpnt6.onclick = cpnt_nolink;}
		if (cake_thumb[7] != null) {document.cpnt7.src = 'photos/katscakes_' + cp_list[cake_thumb[7]].cp_file + '_t.jpg'; document.cpnt7.onclick = cpnt7d;} else {document.cpnt7.src = 'imgs/clear.gif'; document.cpnt7.onclick = cpnt_nolink;}
		if (cake_thumb[8] != null) {document.cpnt8.src = 'photos/katscakes_' + cp_list[cake_thumb[8]].cp_file + '_t.jpg'; document.cpnt8.onclick = cpnt8d;} else {document.cpnt8.src = 'imgs/clear.gif'; document.cpnt8.onclick = cpnt_nolink;}
		if (cake_thumb[9] != null) {document.cpnt9.src = 'photos/katscakes_' + cp_list[cake_thumb[9]].cp_file + '_t.jpg'; document.cpnt9.onclick = cpnt9d;} else {document.cpnt9.src = 'imgs/clear.gif'; document.cpnt9.onclick = cpnt_nolink;}
		if (cake_group != 0) {document.gpprev.src = 'imgs/b/gpprev_0.gif'; document.gpprev.style.cursor = "pointer"; document.gpprev.onmouseover = prevover; document.gpprev.onmouseout = prevout; document.gpprev.onclick = prevclick;} else {document.gpprev.src = 'imgs/clear.gif'; document.gpprev.style.cursor = "default"; document.gpprev.onmouseover = ''; document.gpprev.onmouseout = ''; document.gpprev.onclick = cpnt_nolink;}
		if (cake_group == 0 && cake_thumb[10] == null) {document.gpline.src = 'imgs/clear.gif';} else {document.gpline.src = 'imgs/b/gpline.gif';}
		if (cake_thumb[10] != null) {document.gpnext.src = 'imgs/b/gpnext_0.gif'; document.gpnext.style.cursor = "pointer"; document.gpnext.onmouseover = nextover; document.gpnext.onmouseout = nextout; document.gpnext.onclick = nextclick;} else {document.gpnext.src = 'imgs/clear.gif'; document.gpnext.style.cursor = "default"; document.gpnext.onmouseover = ''; document.gpnext.onmouseout = ''; document.gpnext.onclick = cpnt_nolink;}

		showCake(cake_thumb[0]);
	}

	function prev_group() {
		stopSlides();
		cake_group = cake_group -1;
		cake_thumbs();
	}

	function next_group() {
		stopSlides();
		cake_group = cake_group +1;
		cake_thumbs();
	}

	function prev_cake() {
		stopSlides();
		clistp = '';
		for (var tvln=0; tvln<cake_view_list.length; tvln++){
			if (cp_list [cake_view_list[tvln]].cp_file == document.viewed_cake.src.slice(document.viewed_cake.src.lastIndexOf("katscakes_")+10, document.viewed_cake.src.length-6)) {clistp = tvln; break; }
		}
		clistp = clistp -1;
		if (clistp <= -1) {clistp = cake_view_list.length-1;}
		showCake (cake_view_list[clistp]);
	}

	function next_cake(slider) {
		if(slider != 'auto') {stopSlides();}
		clistn = '';
		for (var tvln=0; tvln<cake_view_list.length; tvln++){
			if (cp_list [cake_view_list[tvln]].cp_file == document.viewed_cake.src.slice(document.viewed_cake.src.lastIndexOf("katscakes_")+10, document.viewed_cake.src.length-6)) {clistn = tvln; break; }
		}
		clistn = clistn +1;
		if (clistn >= cake_view_list.length) {clistn = 0;}
		showCake (cake_view_list[clistn], slider);
	}

	slideshow_toggle = 0;
	function autorun() {
		if (slideshow_toggle == 1) {
			next_cake('auto');
			setTimeout("autorun()", 2500);
		}
	}

	function slideover_play() {si(document.cake_slide,'b/cake_sp_h.gif');}
	function slideout_play() {si(document.cake_slide,'b/cake_sp_0.gif');}
	function slideover_stop() {si(document.cake_slide,'b/cake_ss_h.gif');}
	function slideout_stop() {si(document.cake_slide,'b/cake_ss_0.gif');}
	
	function toggle_slideshow() {
		if (slideshow_toggle == 0) {
			document.cake_slide.src = 'imgs/b/cake_ss_0.gif';
			document.cake_slide.onmouseover = slideover_stop;
			document.cake_slide.onmouseout = slideout_stop;
			slideshow_toggle = 1;
			autorun();
		} else {
			document.cake_slide.src = 'imgs/b/cake_sp_0.gif';
			document.cake_slide.onmouseover = slideover_play;
			document.cake_slide.onmouseout = slideout_play;
			slideshow_toggle = 0;
		}
	}

	function stopSlides() {
		document.cake_slide.src = 'imgs/b/cake_sp_0.gif';
		document.cake_slide.onmouseover = slideover_play;
		document.cake_slide.onmouseout = slideout_play;
		slideshow_toggle = 0;
	}
	

	function big_cake_photo() {
		stopSlides();
		lg_image = document.viewed_cake.src.replace("_g.jpg", ".jpg");
		window.open(lg_image);
	}

	function showCake(clicked_cake, slider2) {
		if(slider2 != 'auto') {stopSlides();}
		document.viewed_cake.src = 'imgs/clear.gif';
		if (cp_list[clicked_cake].cp_code.match("v")) {document.viewed_cake.width = "302"; document.viewed_cake.height = "400";}
		else {document.viewed_cake.width = "400"; document.viewed_cake.height = "302";}
		document.viewed_cake.src = 'photos/katscakes_' +  cp_list[clicked_cake].cp_file + '_g.jpg';
		if (cp_list[clicked_cake].cp_photographer != "") {
			document.getElementById("pcreditdiv").style.visibility="visible";
			document.getElementById("pcreditspan").innerHTML=cp_list[clicked_cake].cp_photographer;
			if (cp_list[clicked_cake].cp_code.match("v")) {
				document.getElementById("pcreditdiv").style.bottom="11px";
				document.getElementById("pcreditdiv").style.right="65px";
			} else {
				document.getElementById("pcreditdiv").style.bottom="60px";
				document.getElementById("pcreditdiv").style.right="15px";
			}
		}
		else {document.getElementById("pcreditdiv").style.visibility="hidden";}
	}
	
	function cake_openset(loadthisset) {
			if (loadthisset == "?wedding") {cake_maker("w");}
			if (loadthisset == "?occasion") {cake_maker("o");}
	}
	
	function cake_viewer() {
		if (cp_list[0].cp_code.match("v")) {width = "302"; height = "400";}
		else {width = "400"; height = "302";}
		document.write('<div class="viewer_controls">');
		document.write('	<div class="vc_cake">');
		document.write('		<img src="imgs/b/cake_a_1.gif" width="105" height="39" border="0" name="cake_a" alt="" onclick="cake_maker(\'wom\');" /><br />');
		document.write('		<img src="imgs/b/cake_w_1.gif" width="105" height="45" border="0" name="cake_w" alt="" onmouseover="si(document.cake_a,\'b/cake_a_0.gif\'); si(document.cake_o,\'b/cake_o_0.gif\'); si(document.cake_m,\'b/cake_m_0.gif\');" onmouseout="si(document.cake_a,\'b/cake_a_1.gif\'); si(document.cake_o,\'b/cake_o_1.gif\'); si(document.cake_m,\'b/cake_m_1.gif\');" onclick="cake_maker(\'w\');" /><br />');
		document.write('		<img src="imgs/b/cake_o_1.gif" width="105" height="41" border="0" name="cake_o" alt="" onmouseover="si(document.cake_a,\'b/cake_a_0.gif\'); si(document.cake_w,\'b/cake_w_0.gif\'); si(document.cake_m,\'b/cake_m_0.gif\');" onmouseout="si(document.cake_a,\'b/cake_a_1.gif\'); si(document.cake_w,\'b/cake_w_1.gif\'); si(document.cake_m,\'b/cake_m_1.gif\');" onclick="cake_maker(\'o\');" /><br />');
		document.write('		<img src="imgs/b/cake_m_1.gif" width="105" height="63" border="0" name="cake_m" alt="" onmouseover="si(document.cake_a,\'b/cake_a_0.gif\'); si(document.cake_w,\'b/cake_w_0.gif\'); si(document.cake_o,\'b/cake_o_0.gif\');" onmouseout="si(document.cake_a,\'b/cake_a_1.gif\'); si(document.cake_w,\'b/cake_w_1.gif\'); si(document.cake_o,\'b/cake_o_1.gif\');" onclick="cake_maker(\'m\');" /><br />');
		document.write('		<img src="imgs/b/cake_sp_0.gif" width="105" height="32" border="0" name="cake_slide" alt="" onmouseover="si(document.cake_slide,\'b/cake_sp_h.gif\')" onmouseout="si(document.cake_slide,\'b/cake_sp_0.gif\')" onclick="javascript:toggle_slideshow();" /><br />');
		document.write('	</div>');
		document.write('	<div class="vc_pn"><img src="imgs/b/prev_0.gif" width="85" height="42" border="0" name="prev" alt="" onmouseover="si(document.prev,\'b/prev_h.gif\')" onmouseout="si(document.prev,\'b/prev_0.gif\')" onclick="javascript:prev_cake();" /></div>');
		document.write('	<div class="vc_pn" style="top: 290px"><img src="imgs/b/next_0.gif" width="85" height="42" border="0" name="next" alt="" onmouseover="si(document.next,\'b/next_h.gif\')" onmouseout="si(document.next,\'b/next_0.gif\')" onclick="javascript:next_cake();" /></div>');
		document.write('</div>');
		document.write('<div class="viewer">');
		document.write('<div class="box" style="float: left; margin: 0px; width: 420px; height: 420px; cursor: pointer;">');
		document.write('	<table width="420" height="420"><tr><td align="center" valign="middle"><img src="photos/katscakes_' + cp_list[0].cp_file + '_g.jpg" width="' + width + '" height="' + height + '" name="viewed_cake" alt="" /></td></tr></table>');
		document.write('	<div class="bxi_tl"><img src="imgs/bxi_tl.gif" onclick="big_cake_photo()" alt="" /></div>');
		document.write('	<div class="bxi_tr"><img src="imgs/bxi_tr.gif" alt="" /></div>');
		document.write('	<div class="bxi_bl"><img src="imgs/bxi_bl.gif" alt="" /></div>');
		document.write('	<div class="bxi_br"><img src="imgs/bxi_br.gif" width="10" height="10" alt="" /></div>');
		if (cp_list[0].cp_photographer != "") {
			if (cp_list[0].cp_code.match("v")) {document.write('<div class="photo_credit" id="pcreditdiv" style="bottom: 11px; right: 65px;"><span class="txt_pcredit" id="pcreditspan">' + cp_list[0].cp_photographer + '</span></div>');}
			else {document.write('<div class="photo_credit" id="pcreditdiv" style="bottom: 60px; right: 15px;"><span class="txt_pcredit" id="pcreditspan">' + cp_list[0].cp_photographer + '</span></div>');}
		}
		else {document.write('	<div class="photo_credit" id="pcreditdiv" style="bottom: 11px; right: 65px;"><span class="txt_pcredit" id="pcreditspan">&nbsp;</span></div>');}
		document.write('</div>');
		document.write('</div>');
	}

	// ---------- Cake Photo Nav Special ----------
		cake_photo_nav = '';
		cake_photo_nav += '<div class="cpnav">';
		cake_photo_nav += '<img src="photos/katscakes_' + cp_list[0].cp_file + '_t.jpg" width="58" height="58" class="cpnt" style="left: 10px; top: 0px;" name="cpnt0" border="0" alt="" onclick="showCake(0);" />';
		cake_photo_nav += '<img src="photos/katscakes_' + cp_list[1].cp_file + '_t.jpg" width="58" height="58" class="cpnt" style="left: 83px; top: 0px;" name="cpnt1" border="0" alt="" onclick="showCake(1);" />';
		cake_photo_nav += '<img src="photos/katscakes_' + cp_list[2].cp_file + '_t.jpg" width="58" height="58" class="cpnt" style="left: 10px; top: 75px;" name="cpnt2" border="0" alt="" onclick="showCake(2);" />';
		cake_photo_nav += '<img src="photos/katscakes_' + cp_list[3].cp_file + '_t.jpg" width="58" height="58" class="cpnt" style="left: 83px; top: 75px;" name="cpnt3" border="0" alt="" onclick="showCake(3);" />';
		cake_photo_nav += '<img src="photos/katscakes_' + cp_list[4].cp_file + '_t.jpg" width="58" height="58" class="cpnt" style="left: 10px; top: 150px;" name="cpnt4" border="0" alt="" onclick="showCake(4);" />';
		cake_photo_nav += '<img src="photos/katscakes_' + cp_list[5].cp_file + '_t.jpg" width="58" height="58" class="cpnt" style="left: 83px; top: 150px;" name="cpnt5" border="0" alt="" onclick="showCake(5);" />';
		cake_photo_nav += '<img src="photos/katscakes_' + cp_list[6].cp_file + '_t.jpg" width="58" height="58" class="cpnt" style="left: 10px; top: 225px;" name="cpnt6" border="0" alt="" onclick="showCake(6);" />';
		cake_photo_nav += '<img src="photos/katscakes_' + cp_list[7].cp_file + '_t.jpg" width="58" height="58" class="cpnt" style="left: 83px; top: 225px;" name="cpnt7" border="0" alt="" onclick="showCake(7);" />';
		cake_photo_nav += '<img src="photos/katscakes_' + cp_list[8].cp_file + '_t.jpg" width="58" height="58" class="cpnt" style="left: 10px; top: 300px;" name="cpnt8" border="0" alt="" onclick="showCake(8);" />';
		cake_photo_nav += '<img src="photos/katscakes_' + cp_list[9].cp_file + '_t.jpg" width="58" height="58" class="cpnt" style="left: 83px; top: 300px;" name="cpnt9" border="0" alt="" onclick="showCake(9);" />';
		cake_photo_nav += '<div class="cpgp">';
		cake_photo_nav += '<img src="imgs/clear.gif" width="65" height="42" border="0" name="gpprev" alt="" />';
		cake_photo_nav += '<img src="imgs/b/gpline.gif" width="1" height="42" border="0" name="gpline"/>';
		cake_photo_nav += '<img src="imgs/b/gpnext_0.gif" style="cursor: pointer;" width="65" height="42" border="0" name="gpnext" alt="" onmouseover="si(document.gpnext,\'b/gpnext_h.gif\')" onmouseout="si(document.gpnext,\'b/gpnext_0.gif\')" onclick="next_group();" />';
		cake_photo_nav += '</div>';
		cake_photo_nav += '</div>';

// ---------- Quotes ----------
	function quote(full, abv, who, where, notes) {
		this.full = full;
		this.abv = abv;
		this.who = who;
		this.where = where;
		this.notes = notes;
	}

	qt=0;
	var qt_list = new Array();
	// Quotes
	//qt_list[qt] = new quote("xxxquotexxx", "xxxabvxxx", "xxxwhoxxx", "xxxwherexxx", ""); qt++;
	qt_list[qt] = new quote("Kat, you made the most gorgeous wedding cake I have ever seen for Angelo and I... it was amazing and exactly what I was looking for. Not to mention it tasted like a dream! You are so talented and I am so happy I found you to make our cake. Words can't describe how happy I was with your beautiful creation. Thank you so much!!!", "Kat, you made the most gorgeous wedding cake I have ever seen... it was amazing and... tasted like a dream! ...Words can't describe how happy I was with your beautiful creation.", "Christyn&nbsp;G.", "Stockton", ""); qt++;
	qt_list[qt] = new quote("The cake was delicious and all of our guests loved it... We are excited to enjoy another Kat creation on our first anniversary next June.", "The cake was delicious and all of our guests loved it.", "Jennifer &amp; Jake", "Stockton", ""); qt++;
	qt_list[qt] = new quote("Thank you for helping make our day so amazing and for making my wedding planning experience so fun. I will definitely recommend you to any bride I meet.", "Thank you for helping make our day so amazing and for making my wedding planning experience so fun.", "Emily&nbsp;G.", "Walnut Creek", ""); qt++;
	qt_list[qt] = new quote("Thank you so much for the beautiful cake!! It was gorgeous!!! We could not have been happier with it. The detail and color was incredible, and it tasted unbelievable!! It also made for a very nice face cream.", "We could not have been happier with [our cake]. The detail and color was incredible, and it tasted unbelievable!! It also made for a very nice face cream.", "Brandon &amp; Lori&nbsp;R.", "Pleasanton", ""); qt++;
	qt_list[qt] = new quote("I just wanted to thank you so much for the beautiful Princess and Pirate cake. It was a big hit at the party and was delicious. Thanks so much we loved it.", "[Our Princess and Pirate cake] was a big hit at the party and was delicious... we loved it.", "Nicole&nbsp;E.", "Stockton", ""); qt++;
	qt_list[qt] = new quote("Your cake received rave reviews at the baby shower- most importantly my sister, who can be quite picky about cake- she even took some home and ate more the next day! We both agreed that of any cake we've had in the past several years, yours was one of the best. It was so moist and delicious yet not too rich that you couldn't enjoy an entire piece (or two!). It was decorated just as we'd discussed and looked very cute.", "...of any cake we've had in the past several years, yours was one of the best.", "Manette&nbsp;B.", "Pleasanton", ""); qt++;
	qt_list[qt] = new quote("Thank you so much for making the custom Cherry blossom wedding cake. It was not only very beautiful and unique but I have had raving compliments on the taste. The fondant was a hit!!!!! Also thank you for the special cake for my nephew. He was so happy and all smiles. You really outdid yourself and we look forward to ordering more cakes for events in the future. Like our anniversary!!!!", "[Our custom cake] was not only very beautiful and unique but I have had raving compliments on the taste.", "Dorothy&nbsp;B. and John&nbsp;P.", "Pleasanton", ""); qt++;
	qt_list[qt] = new quote("We wanted to say thank you so much for the delicious chocolate mocha cake you made for our wedding. Not only did it look beautiful, but the taste was to die for. Our guests loved it and we are still getting compliments till this day. We are looking forward to having it again for our one year anniversary. Thank you again for the wonderful work.", "Not only did it look beautiful, but the taste was to die for. Our guests loved it and we are still getting compliments till this day.", "Brian and Jessica&nbsp;K.", "Livermore", ""); qt++;
	qt_list[qt] = new quote("We were treated with such great respect, and experienced some of the best customer service ever. Our cake was there on time, it was gorgeous, and even better was that it tasted like a dream. We got the lemon cake with mango middle, and I would encourage anyone to branch out and try new flavors because everything [Kat's Cakes does] is absolutely incredible.<br /><br />Thank you so much for a beautiful cake. It really made our wedding.", "We were treated with such great respect, and experienced some of the best customer service ever. Our cake was there on time, it was gorgeous, and even better was that it tasted like a dream.", "Stephanie and Justin&nbsp;S.", "Escalon", ""); qt++;
	qt_list[qt] = new quote("Thank you so much for the AWESOME monkey cake you made for my daughter's 1st birthday. It was absolutely adorable. Everyone at the party commented on it and wanted to know who made it. I can't believe you also made an identical smash cake. She had so much fun eating her own personal cake..and no one would have wanted to share with her anyway after she smeared her hands all over it.<br /><br /> Both cakes were absolutely delicious and incredible and well beyond my wildest expectations. You are truly amazing and I will be a customer for life. Thank you so much for making my daughter's 1st birthday cake a cake to remember.", "Both cakes were absolutely delicious and incredible and well beyond my wildest expectations. You are truly amazing and I will be a customer for life.", "Kathleen&nbsp;C.", "Sacramento", ""); qt++;
	qt_list[qt] = new quote("Wow! Is all I can say for the final creation that was our cake. It was beyond what I could of ever pictured. I absolutely loved it, I just wish I had a real piece other than the one bite for the photo op... The people that did eat it say it was amazing. Just by the picture... my friend Libby (a wedding planner) has referred Kat's Cakes to two brides already. Thank you again, Mike and I loved our special unique cake.", "Wow! Is all I can say for the final creation that was our cake. It was beyond what I could of ever pictured.", "Leticia&nbsp;B.", "Sacramento", ""); qt++;
	qt_list[qt] = new quote("Thank you so much for an amazing cake. We received many compliments!", "Thank you so much for an amazing cake. We received many compliments!", "Alexandra&nbsp;H.", "Stockton", ""); qt++;
	qt_list[qt] = new quote("Thanks for designing the cake exactly how my daughter pictured it. It's beautiful. Everyone loved the cake.", "Thanks for designing the cake exactly how my daughter pictured it. It's beautiful.", "Nina&nbsp;F.", "Manteca", ""); qt++;
	qt_list[qt] = new quote("Hello! I wanted to thank you for my amazing wedding cake! The teal color of the cake was perfect! It was such a fun cake, which is exactly what I wanted. And, oh boy was it delicious!!! My husband absolutely loved his grooms cake. The helmet was dead-on to his own. he was very surprised and impressed.<br /><br />Thanks again for your amazing cakes!", "...thank you for my amazing wedding cake... oh boy was it delicious!!!", "Nikki & Max&nbsp;E", "Lodi", ""); qt++;
	qt_list[qt] = new quote("Thank you for creating our beautiful and tasty wedding cake! All of our guests enjoyed every bite!", "Thank you for creating our beautiful and tasty wedding cake! All of our guests enjoyed every bite!", "Gerald &amp; Michelle&nbsp;E.", "Livermore", ""); qt++;
	qt_list[qt] = new quote("Just wanted to send a thank you card for making a wonderful birthday cake for me. It was beautiful and tasted amazing. We almost didn't want to cut it!", "It was beautiful and tasted amazing. We almost didn't want to cut it!", "Nicole&nbsp;G.", "Stockton", ""); qt++;
	qt_list[qt] = new quote("Thank you so, so much for the beautiful cake you made for my mom's 50th birthday! She absolutely loved it and her friends raved about it -- I'll definitely be sure to recommend your company to anyone looking for specialty cakes!", "Thank you so, so much for the beautiful cake you made for my mom's 50th birthday! She absolutely loved it and her friends raved about it.", "Natalia&nbsp;Z.", "Las Vegas", ""); qt++;
	qt_list[qt] = new quote("Thank you so much for the delicious cakes we enjoyed at Justin and Susan's wedding. The wedding cake was so beautiful, everything Susan hoped for. The wine bottle groom's cake was clever and such a wonderful surprise for Justin and very delicious.", "The wedding cake was so beautiful, everything Susan hoped for. The wine bottle groom's cake was clever and such a wonderful surprise...very delicious.", "Cindy&nbsp;S.", "Pleasanton", ""); qt++;
	qt_list[qt] = new quote("I loved the cake that was made for my friend's surprise birthday party! It was beautiful! Thanks so much!", "I loved the cake that was made for my friend's surprise birthday party! It was beautiful!", "Saira&nbsp;M.", "Stockton", ""); qt++;
	

// ---------- Events ----------
	function event(evdt, evtm, title, info, notes) {
		this.evdt = evdt;
		this.evtm = evtm;
		this.title = title;
		this.info = info;
		this.notes = notes;
	}

	ev=0;
	var ev_list = new Array();
	// events
	//ev_list[ev] = new event("xxxdatexxx", "xxxtimexxx", "xxxtitlexxx", "xxxinfoxxx", ""); ev++;
	/*
	ev_list[ev] = new event("11/18/2008", "6pm (-8pm)", "Vendor Faire", "Vendor Faire at the new University Center at the University of the Pacific. Stop by our booth to see samples of our work and try some cake!<br /><a href=\"http://web.pacific.edu\" target=\"_blank\">http://web.pacific.edu</a>", ""); ev++;
	ev_list[ev] = new event("11/21/2008", "7pm", "Kat's Cakes at Cinderella!", "Get your tickets and join us at the Stockton Civic Theater's performance of Rogers & Hammerstein's Cinderella.  Kat's Cakes will be providing desserts before the show.<br /><a href=\"http://www.sctlivetheatre.org\" target=\"_blank\">http://www.sctlivetheatre.org</a>", ""); ev++;
	ev_list[ev] = new event("1/13/2009", "", "2nd Annual Bridal Ball", "The Stockton Association of Wedding Professionals presents the second annual Bridal Ball at the new University Center at the University of the Pacific.<br /><a href=\"http://stocktonweddingassociation.com\" target=\"_blank\">http://stocktonweddingassociation.com</a>", ""); ev++;
	ev_list[ev] = new event("2/9/2009", "5pm (-9pm)", "Accelerated Beginning Cake Decorating (Part&nbsp;1&nbsp;of&nbsp;2)", "(Part 2 on Feb 16th) No time to learn the four-week basic Course 1? Here's a two-night class that covers it all. This accelerated class will take you through all of the basics... torting, filling, leveling, frosting, and smoothing; then onward to borders, writing, and flower making. Suitable for beginners, this class is also ideal for anyone needing a quick brush-up on their decorating skills.<br /><br />Pre-registration at least 10 days in advance required for all classes. Class size is limited to eight students <b><i>only</i></b>. Two four-hour sessions: $80 per student; Two students registered together, family/friends $150. Plus the cost of supplies.", ""); ev++;
	ev_list[ev] = new event("2/16/2009", "5pm (-9pm)", "Accelerated Beginning Cake Decorating (Part&nbsp;2&nbsp;of&nbsp;2)", "(Part 1 on Feb 9th)", "", ""); ev++;
	ev_list[ev] = new event("2/23/2009", "5pm (-9pm)", "Intermediate Cake Decorating (Part&nbsp;1&nbsp;of&nbsp;2)", "(Part 2 on Mar 2nd) After you've taken Cake Decorating I and know the basics of cake decorating, COME, build on those skills! I will teach you new exciting techniques to add to your decorating skills! You will learn new borders, Royal and Colorflow Icings, Advanced Flowers, Basketweave and more!.<br /><br />Pre-registration at least 10 days in advance required for all classes. Class size is limited to eight students <b><i>only</i></b>. Two four-hour sessions: $80 per student; Two students registered together, family/friends $150. Plus the cost of supplies.", ""); ev++;
	ev_list[ev] = new event("2/28/2009", "2pm", "In-Store Airbrush Demonstration/Class brought to you by Bakemark USA", "Instructional demonstration of basic airbrush technique to get you started on a whole new way to decorate cakes.  $10.00 discount on any supplies purchased on the day of the demo (with reservation) plus FREE airbrush color kit with purchase (or pre-order) of airbrush kit (a&nbsp;$30.00&nbsp;value!) <br /><br />$10.00 Reservation Fee", ""); ev++;
	ev_list[ev] = new event("3/1/2009", "2pm (-6pm)", "Basic Fondant Class", "$90 (includes materials: 5lb fondant, fondant rolling pin with guides, fondant smoother and gumpaste/fondant tool kit) You provide an 8\" round crumb-coated cake (please do not use whipped cream icing!)<br />Please call, or drop by to pre-register.  Limited space available!", "", ""); ev++;
	ev_list[ev] = new event("3/2/2009", "5pm (-9pm)", "Intermediate Cake Decorating (Part&nbsp;2&nbsp;of&nbsp;2)", "(Part 1 on Feb 23rd)", "", ""); ev++;
	ev_list[ev] = new event("3/8/2009", "10am (-5pm)", "Accelerated Beginning Cake Decorating", "No time to learn the four-week basic Course 1? Here's a one-day class that covers it all. This accelerated class will take you through all of the basics... torting, filling, leveling, frosting, and smoothing; then onward to borders, writing, and flower making. Suitable for beginners, this class is also ideal for anyone needing a quick brush-up on their decorating skills.<br /><br />Class size is limited to eight students <i>only</i>. One seven-hour session: $80 per student; Two students registered together, family/friends $150. Plus the cost of supplies.", ""); ev++;
	ev_list[ev] = new event("3/15/2009", "", "Lodi's premier bridal show", "Bridal Event Productions presents Lodi's premier bridal show at the Lodi Grape Festival Grounds.<br /><a href=\"http://www.bridalevents.info\" target=\"_blank\">http://www.bridalevents.info</a>", ""); ev++;
	ev_list[ev] = new event("3/29/2009", "2pm (-4pm)", "Introduction to Gumpaste Flower Making", "$90 (includes materials: 1lb gumpaste, gumpaste flower kit and book, floral wire, floral tape and stamens)<br />Please call, or drop by to pre-register. Limited space available!", "", ""); ev++;
	ev_list[ev] = new event("4/5/2009", "2pm (-4pm)", "Basic Fondant Class", "$90 (includes materials: 5lb fondant, fondant rolling pin with guides, fondant smoother and gumpaste/fondant tool kit) You provide an 8\" round crumb-coated cake (please do not use whipped cream icing!)<br />Please call, or drop by to pre-register. Limited space available!", "", ""); ev++;
	ev_list[ev] = new event("4/26/2009", "", "Kat's Cakes Closed for Moving", "We'll reopen at our new location on May 4th.", "", ""); ev++;
	ev_list[ev] = new event("5/4/2009", "", "Kat's Cakes Reopens!", "Come visit us at our new location: 2230 Pacific Avenue!", "", ""); ev++;
	ev_list[ev] = new event("6/5/2009", "5pm (-8pm)", "Open House", "Join us for drinks and treats to celebrate our great new location on the Miracle Mile. Cupcakes, cookies, brownies, cream puffs...yum!", "", ""); ev++;
	ev_list[ev] = new event("6/14/2009", "2pm (-4pm)", "Basic Fondant Class", "$90 (includes materials: 5lb fondant, fondant rolling pin with guides, fondant smoother and gumpaste/fondant tool kit) You provide an 8\" round crumb-coated cake (please do not use whipped cream icing!)<br />Please call, or drop by to pre-register. Limited space available!", "", ""); ev++;
	ev_list[ev] = new event("8/16/2009", "2pm (-4pm)", "Basic Cake Decorating", "$65 - Bring one 8\" round cake with you to decorate. Price includes tips, couplers, flower nail, disposable bags, offset spatula, 4lb buttercream, and a decorating triangle.", "", ""); ev++;
	ev_list[ev] = new event("8/23/2009", "2pm (-4pm)", "Intermediate Cake Decorating", "$50 - Bring one 8\" round cake with you as well as your supplies from the Basic Cake Decorating class. Any additional supplies including buttercream will be supplied.", "", ""); ev++;
	ev_list[ev] = new event("8/30/2009", "2pm (-4pm)", "Basic Fondant Decorating", "$90 - Bring one 8\" round cake with you to decorate. Includes 5lbs white fondant, 15\" fondant rolling pin with guides, fondant smoother, 5pc fondant tool kit and fondant cutter.", "", ""); ev++;
	ev_list[ev] = new event("9/13/2009", "2pm (-4pm)", "Basic Cake Decorating", "$65 - Bring one 8\" round cake with you to decorate. Price includes tips, couplers, flower nail, disposable bags, offset spatula, 4lb buttercream, and a decorating triangle.", "", ""); ev++;
	ev_list[ev] = new event("9/20/2009", "2pm (-4pm)", "Intermediate Cake Decorating", "$50 - Bring one 8\" round cake with you as well as your supplies from the Basic Cake Decorating class. Any additional supplies including buttercream will be supplied.", "", ""); ev++;
	ev_list[ev] = new event("9/27/2009", "2pm (-4pm)", "Basic Fondant Decorating", "$90 - Bring one 8\" round cake with you to decorate. Includes 5lbs white fondant, 15\" fondant rolling pin with guides, fondant smoother, 5pc fondant tool kit and fondant cutter.", "", ""); ev++;
	ev_list[ev] = new event("10/4/2009", "2pm (-4pm)", "Haunted Gingerbread Houses (kids welcome!)", "$45 - Ages 5 and up, one adult per registered child under 10 please. Price includes the pieces of one gingerbread house, royal icing for assembling and decorating, and creepy candy to make your creation as cute or spooky as you like!", "", ""); ev++;
	ev_list[ev] = new event("10/11/2009", "2pm (-4pm)", "Halloween Cookie Decorating (kids welcome!)", "$45 - Ages 5 and up, one adult per registered child under 10 please. Price includes 6 cut-out Halloween cookies, 6 pc. cookie-cutter set, royal icing, fondant and assorted icing eyes and sugar decorations.", "", ""); ev++;
	*/
	ev_list[ev] = new event("2/4/2010", "6pm (-8pm)", "Open House", "Kat's Cakes invites all engaged couples to an evening of appetizers, drinks, music and CAKE! Sample  wedding designs, floral displays, and attire will inspire you while you delight in the desserts! Door prizes and special offers will be awarded!<br />$10.00 per-couple.<br />2230 Pacific Avenue, Stockton, CA 95204<br /><a href=\"contact.html\">Advance Reservations Required</a>", "", ""); ev++;
	ev_list[ev] = new event("5/6/2010", "6pm (-8pm)", "Open House", "Kat's Cakes invites all engaged couples to an evening of appetizers, drinks, music and CAKE! Sample  wedding designs, floral displays, and attire will inspire you while you delight in the desserts! Door prizes and special offers will be awarded!<br />$10.00 per-couple.<br />2230 Pacific Avenue, Stockton, CA 95204<br /><a href=\"contact.html\">Advance Reservations Required</a>", "", ""); ev++;
	ev_list[ev] = new event("8/5/2010", "6pm (-8pm)", "Open House", "Kat's Cakes invites all engaged couples to an evening of appetizers, drinks, music and CAKE! Sample  wedding designs, floral displays, and attire will inspire you while you delight in the desserts! Door prizes and special offers will be awarded!<br />$10.00 per-couple.<br />2230 Pacific Avenue, Stockton, CA 95204<br /><a href=\"contact.html\">Advance Reservations Required</a>", "", ""); ev++;
	ev_list[ev] = new event("11/4/2010", "6pm (-8pm)", "Open House", "Kat's Cakes invites all engaged couples to an evening of appetizers, drinks, music and CAKE! Sample  wedding designs, floral displays, and attire will inspire you while you delight in the desserts! Door prizes and special offers will be awarded!<br />$10.00 per-couple.<br />2230 Pacific Avenue, Stockton, CA 95204<br /><a href=\"contact.html\">Advance Reservations Required</a>", "", ""); ev++;


// MASTER HTML ////////////////////////////////////////////////////////////////////////////////////////////////////
// ---------- Pink Box ----------
	function bx_open(position, width, pass) {
		if (pass.match('pointer')) {
			if (position == "right") {document.write ('<div class="box" style="clear: left; float: right; right: 50px;">');}
			else {document.write ('<div class="box" style="clear: left; float: left; left: 50px;">');}
		}
		else {document.write ('<div class="box" style="float: ' + position + '; width: ' + width + 'px;">');}
		document.write ('<div class="tl"></div><div class="tm"></div><div class="tr"></div><div class="bl"></div><div class="bm"></div><div class="br"></div>');
		document.write ('<table height="100%" border="0"><tr>');
		document.write ('<td class="cl" width="4"><img src="imgs/clear.gif" width="4" height="5" /></td>');
		if (pass.match('frill')) {document.write ('<td background="imgs/bxp_frill.gif" width="15"><img src="imgs/clear.gif" width="15" height="5" alt="" /></td><td width="' + (width - 23) + '">');}
		else {document.write ('<td width="' + (width - 8) + '">');}
		document.write ('<div class="inbx"><span class="txt_topic">');
	}
	
	function bx_close() {
		document.write ('</span></div></td>');
		document.write ('<td class="cr" width="4"><img src="imgs/clear.gif" width="4" height="5" alt="" /></td>');
		document.write ('</tr></table>');
		document.write ('</div>');
	}


// ---------- Pointer Box ----------
	function pointer(txtcontent, pointto) {
		bx_open('right', '', 'pointer');
		document.write ('<a href="' + pointto + '">' + txtcontent + '&nbsp;></a>');
		bx_close();
	}

// ---------- Back to Top ----------
	function btt() {
		bttnumber = parseInt(Math.random()*100000);
		document.write ('<div style="position: static; padding: 4px; margin-left: 20px; margin-bottom: 15px;">');
		document.write ('<a href="#top"><img src="imgs/b/btt_0.gif" width="88" height="24" border="0" onMouseOver="si(document.btt' + bttnumber + ',\'b/btt_h.gif\')" onmouseout="si(document.btt' + bttnumber + ',\'b/btt_0.gif\')" name="btt' + bttnumber + '" alt="top"/></a>');
		document.write ('</div>');
	}

	function bttp() {
		bttnumber = parseInt(Math.random()*100000);
		document.write ('<div style="position: static; padding: 4px; margin-left: 20px; margin-bottom: 15px;">');
		document.write ('<a href="#top"><img src="imgs/b/bttp_0.gif" width="88" height="24" border="0" onMouseOver="si(document.btt' + bttnumber + ',\'b/bttp_h.gif\')" onmouseout="si(document.btt' + bttnumber + ',\'b/bttp_0.gif\')" name="btt' + bttnumber + '" alt="top"/></a>');
		document.write ('</div>');
	}

// ---------- Quote Boxes ----------
	qthn = parseInt(Math.random()*qt_list.length);
	page_quote_number = 0;

	function quote_me(quote_side, quote_width) {
		if (page_quote_number != 0) {qthn = qthn + 1;}
		page_quote_number = page_quote_number + 1;
		if (qthn > (qt_list.length -1)) {qthn = 0}
		bx_open(quote_side, quote_width, 'frill');
		document.write ('<div class="item" style="text-align: center; margin-bottom: 0px;"><span class="txt"><i>\"' + qt_list[qthn].abv + '\"</i></span><div class="byline"><span class="txt_byline">' + qt_list[qthn].who + ' of ' + qt_list[qthn].where + '</span></div></div>');
		bx_close();
	}


// ---------- Photos ----------
	function photo(position, orientation, file, photographer) {
		if (orientation == "v") {width = "170"; height = "225";} else {width = "225"; height = "170";}
		push = "left";
		if(position == "left") {push = "right";}		
		document.write('<div class="box" style="float: ' + position + '; width: ' + width + 'px; height: ' + height + 'px; margin-' + position + ': 0px; margin-' + push + ': 15px; ">');
		document.write('	<div class="photo"><img src="photos/katscakes_' + file + '_m.jpg" width="' + width + '" height="' + height + '" alt="" /></div>');
		document.write('	<div class="bxi_tl" style="cursor: pointer;"><img src="imgs/bxi_tl.gif" onclick="window.open(\'photos/katscakes_'+file+'.jpg\')" alt="" /></div>');
		document.write('	<div class="bxi_tr" style="cursor: pointer;"><img src="imgs/bxi_tr.gif" onclick="window.open(\'photos/katscakes_'+file+'.jpg\')" alt="" /></div>');
		document.write('	<div class="bxi_bl"><img src="imgs/bxi_bl.gif" alt="" /></div>');
		document.write('	<div class="bxi_br"><img src="imgs/bxi_br.gif" width="10" height="10" alt="" /></div>');
		if (photographer != "") {document.write('<div class="photo_credit"><span class="txt_pcredit">' + photographer + '&nbsp;&nbsp;&nbsp;</span></div>');}
		document.write('</div>');
	}
	
// ---------- Page Open ----------
pg_open = '';
pg_open += '	<a name="top"></a>';
pg_open += '	<div class="content_group">';
pg_open += '		<div class="logo"><a href="index.html"><img src="imgs/katscakes.gif" border="0" alt="Kat\'s Cakes" /></a></div>';
//pg_open += '		<div style="position: absolute; margin-left: 598px; top: 102px; width: 120px; z-index: 50;">' + ad03 + '</div>';
pg_open += '<div class="fgcake"><img src="imgs/fgcake_' + pg_section + '.gif" alt="" /></div>';
if (pg_section == "cp") {pg_open += '<div class="photonav">' + cake_photo_nav + '</div>';}
pg_open += '		<div class="nav1bx">';
pg_open += '<div class="phone"><a href="contact.html"><img src="imgs/phone_number.gif" width="168" height="16" border="0" alt="209-466-2253" /></a></div>';
if (pg_section == "cp") {pg_open += '<div class="n1cp"><img src="imgs/nav1/nav1_cp1.gif" width="114" height="30" border="0" name="nav1_cp" alt="Cake Photos" /></div>';}
	else {pg_open += '<div class="n1cp"><a href="photos.html" onMouseOver="si(document.nav1_cp,\'nav1/nav1_cph.gif\')" onMouseOut="si(document.nav1_cp,\'nav1/nav1_cp0.gif\')"><img src="imgs/nav1/nav1_cp0.gif" width="114" height="30" border="0" name="nav1_cp" alt="Cake Photos" /></a></div>';}
if (pg_section == "fl") {pg_open += '<div class="n1fl"><img src="imgs/nav1/nav1_fl1.gif" width="74" height="30" border="0" name="nav1_fl" alt="Flavors" /></div>';}
	else {pg_open += '<div class="n1fl"><a href="flavors.html" onMouseOver="si(document.nav1_fl,\'nav1/nav1_flh.gif\')" onMouseOut="si(document.nav1_fl,\'nav1/nav1_fl0.gif\')"><img src="imgs/nav1/nav1_fl0.gif" width="74" height="30" border="0" name="nav1_fl" alt="Flavors" /></a></div>';}
if (pg_section == "wc") {pg_open += '<div class="n1wc"><img src="imgs/nav1/nav1_wc1.gif" width="139" height="30" border="0" name="nav1_wc" alt="Wedding Cakes" /></div>';}
	else {pg_open += '<div class="n1wc"><a href="wedding.html" onMouseOver="si(document.nav1_wc,\'nav1/nav1_wch.gif\')" onMouseOut="si(document.nav1_wc,\'nav1/nav1_wc0.gif\')"><img src="imgs/nav1/nav1_wc0.gif" width="139" height="30" border="0" name="nav1_wc" alt="Wedding Cakes" /></a></div>';}
if (pg_section == "oc") {pg_open += '<div class="n1oc"><img src="imgs/nav1/nav1_oc1.gif" width="145" height="30" border="0" name="nav1_oc" alt="Occasion Cakes" /></div>';}
	else {pg_open += '<div class="n1oc"><a href="occasion.html" onMouseOver="si(document.nav1_oc,\'nav1/nav1_och.gif\')" onMouseOut="si(document.nav1_oc,\'nav1/nav1_oc0.gif\')"><img src="imgs/nav1/nav1_oc0.gif" width="145" height="30" border="0" name="nav1_oc" alt="Occasion Cakes" /></a></div>';}
if (pg_section == "fa") {pg_open += '<div class="n1fa"><img src="imgs/nav1/nav1_fa1.gif" width="57" height="30" border="0" name="nav1_fa" alt="FAQ" /></div>';}
	else {pg_open += '<div class="n1fa"><a href="faq.html" onMouseOver="si(document.nav1_fa,\'nav1/nav1_fah.gif\')" onMouseOut="si(document.nav1_fa,\'nav1/nav1_fa0.gif\')"><img src="imgs/nav1/nav1_fa0.gif" width="57" height="30" border="0" name="nav1_fa" alt="FAQ" /></a></div>';}
if (pg_section == "ci") {pg_open += '<div class="n1ci"><img src="imgs/nav1/nav1_ci1.gif" width="127" height="30" border="0" name="nav1_ci" alt="Contact Info" /></div>';}
	else {pg_open += '<div class="n1ci"><a href="contact.html" onMouseOver="si(document.nav1_ci,\'nav1/nav1_cih.gif\')" onMouseOut="si(document.nav1_ci,\'nav1/nav1_ci0.gif\')"><img src="imgs/nav1/nav1_ci0.gif" width="127" height="30" border="0" name="nav1_ci" alt="Contact Info" /></a></div>';}
if (pg_section == "ho") {pg_open += '<div class="n1ho"><img src="imgs/nav1/nav1_ho1.gif" width="65" height="30" border="0" name="nav1_ho" alt="Decorating Supplies" /></div>';}
	else {pg_open += '<div class="n1ho"><a href="index.html" onMouseOver="si(document.nav1_ho,\'nav1/nav1_hoh.gif\')" onMouseOut="si(document.nav1_ho,\'nav1/nav1_ho0.gif\')"><img src="imgs/nav1/nav1_ho0.gif" width="65" height="30" border="0" name="nav1_ho" alt="Home" /></a></div>';}
if (pg_section == "ds") {pg_open += '<div class="n1ds"><img src="imgs/nav1/nav1_ds1.gif" width="175" height="30" border="0" name="nav1_ds" alt="Decorating Supplies" /></div>';}
	else {pg_open += '<div class="n1ds"><a href="supplies.html" onMouseOver="si(document.nav1_ds,\'nav1/nav1_dsh.gif\')" onMouseOut="si(document.nav1_ds,\'nav1/nav1_ds0.gif\')"><img src="imgs/nav1/nav1_ds0.gif" width="175" height="30" border="0" name="nav1_ds" alt="Decorating Supplies" /></a></div>';}
if (pg_section == "tl") {pg_open += '<div class="n1tl"><img src="imgs/nav1/nav1_tl1.gif" width="178" height="30" border="0" name="nav1_tl" alt="Testimonials & Links" /></div>';}
	else {pg_open += '<div class="n1tl"><a href="links.html" onMouseOver="si(document.nav1_tl,\'nav1/nav1_tlh.gif\')" onMouseOut="si(document.nav1_tl,\'nav1/nav1_tl0.gif\')"><img src="imgs/nav1/nav1_tl0.gif" width="178" height="30" border="0" name="nav1_tl" alt="Testimonials & Links" /></a></div>';}
if (pg_section == "et") {pg_open += '<div class="n1et"><img src="imgs/nav1/nav1_et1.gif" width="156" height="30" border="0" name="nav1_et" alt="Events & Tastings" /></div>';}
	else {pg_open += '<div class="n1et"><a href="events.html" onMouseOver="si(document.nav1_et,\'nav1/nav1_eth.gif\')" onMouseOut="si(document.nav1_et,\'nav1/nav1_et0.gif\')"><img src="imgs/nav1/nav1_et0.gif" width="156" height="30" border="0" name="nav1_et" alt="Events & Tastings" /></a></div>';}
pg_open += '		</div>';
pg_open += '		<div class="titlebx"><img src="imgs/title/' + pg_section + '.gif" /></div>';
pg_open += '		<div class="bigbx">';
pg_open += '			<div class="stretchtop"></div>';
pg_open += '			<div class="stretchmid">';
pg_open += '				<div class="contentbx">';
pg_open += '					<div class="fgcakespacer"></div>';

// ---------- Page Close ----------
pg_close = '';
pg_close += '						<br />';
pg_close += '					<div style="clear: both;"></div>';
pg_close += '				</div>';
pg_close += '			</div>';
pg_close += '			<div class="stretchbot"></div>';
pg_close += '		</div>';
pg_close += '		<div class="footbx"><div style="position: absolute; left: 70px;">' + ad01 + '</div><div style="text-align: right; margin-right: 45px;">' + ad02 + '</div></div><div style="clear: both;"></div>';
pg_close += '		<div class="footbx"><span class="txt_footer"><b>Kat\'s Cakes &#0149; 209.466.CAKE</b> (2253) &#0149; 2230 Pacific Avenue &#0149; Stockton, CA 95204 &#0149; www.katscakes.com</span></div>';
pg_close += '		<div class="footbx"><span class="txt_footer">&#169; ' + copyright + ' Kat\'s&nbsp;Cakes.&nbsp;&nbsp;&nbsp;All rights reserved.<br /><br /></span></div>';
pg_close += '	</div>';
