var Content = new Array();
Content[0] = new Array("Inland Empire Locations", "ie_services/c_soon.htm");

Content[1] = new Array("Highly Recomended", "ie_services/c_soon.htm");
//Content[1][2] = new Array("Doubletree Club Hotel, Orange County Airport", "or_services/otherlocations/doubletree/index.htm");
//Content[1][2] = new Array("Capri Laguna Inn, Laguna Beach", "lv_services/otherlocations/oceanfront/index.htm");
//Content[1][3] = new Array("Tustin Ranch Golf Resort", "lv_services/high/tustin.asp");
//Content[1][4] = new Array("Holiday Inn Laguna Hills", "lv_services/high/index1.htm");
//Content[1][5] = new Array("Surf & Sand Resort", "lv_services/high/redirect_ss.asp");
//Content[1][6] = new Array("Windmill Banquet & Catering", "lv_services/windmill/index.htm");


Content[2] = new Array("Inland Empire Services", "ie_services/index.htm");
Content[2][2] = new Array("Photography", "ie_services/photography.htm");
Content[2][3] = new Array("Membership", "services/membership/index.htm");
Content[2][4] = new Array("Standards", "services/standards/index.htm");
Content[2][5] = new Array("Accomodations", "ie_services/c_soon.htm");
Content[2][6] = new Array("Beauty", "ie_services/beautyservices.htm");
Content[2][6] = new Array("Cakes", "ie_services/cakes.htm");
Content[2][7] = new Array("Catering Services", "ie_services/catering.htm");
Content[2][8] = new Array("Dentists/Teeth Whitening", "ie_services/dentists.htm");
Content[2][9] = new Array("Disc Jockeys", "ie_services/discjockeys.htm");
Content[2][10] = new Array("Flowers", "ie_services/florists.htm");
Content[2][11] = new Array("Honeymoons", "ie_services/honeymoons.htm");
Content[2][12] = new Array("Invitations", "ie_services/invitations.htm");
Content[2][13] = new Array("Jewelry", "ie_services/jewelers.htm");
Content[2][14] = new Array("Party Rentals", "ie_services/partyrentals.htm");
Content[2][15] = new Array("Tanning", "ie_services/c_soon.htm");
Content[2][16] = new Array("Videography", "ie_services/video.htm");
Content[2][17] = new Array("Vows", "ie_services/c_soon.htm");
Content[2][18] = new Array("Wedding Coordinators", "ie_services/coordinators.htm");
Content[2][19] = new Array("Wedding Event Info", "ie_services/event_redirect.asp");


Content[3] = new Array("Advice", "advice/index.htm");

var ActivePItem = -1;
var ActiveSItem = -1;
var Index = 0;
document.write("<table bgcolor=\"#6666CC\" bordercolor=\"#6666CC\" cellpadding=\"3\" cellspacing=\"0\" border=\"1\" width=\"100%\">");
document.write("<tr>");
for(i = 0; i < Content.length; i++)
{
	if(PrimaryLink.toLowerCase() == Content[i][1].toLowerCase())
	{
		ActivePItem = i;
		document.write("<td bordercolor=\"#CCCCFF\" bgcolor=\"#9A99FF\" align=\"center\"><a href=\"" + Catalog + Content[i][1] + "\" class=\"active\">" + Content[i][0] + "</a></td>");
	}
	else document.write("<td bordercolor=\"#CCCCFF\" align=\"center\"><a href=\"" + Catalog + Content[i][1] + "\" class=\"first\">" + Content[i][0] + "</a></td>");
}
document.write("</tr>");
document.write("</table>");
if((ActivePItem != -1) && (Content[ActivePItem].length != 2))
{
	document.write("<table bgcolor=\"#B9B9FF\" bordercolor=\"#9A99FF\" cellpadding=\"3\" cellspacing=\"0\" border=\"1\" width=\"100%\">");
	document.write("<tr>");
	Index = 0;
	for(i = 2; i < Content[ActivePItem].length; i++)
	{
		if(Index == CountPerLine) document.write("</tr></table>");
		if(Index == CountPerLine) document.write("<table bgcolor=\"#B9B9FF\" bordercolor=\"#9A99FF\" cellpadding=\"3\" cellspacing=\"0\" border=\"1\" width=\"100%\"><tr>");
		if(SecondaryLink.toLowerCase() == Content[ActivePItem][i][1].toLowerCase()) document.write("<td bordercolor=\"#ccccff\" bgcolor=\"#FF51A8\" align=\"center\"><a href=\"" + Catalog + Content[ActivePItem][i][1] + "\" class=\"dactive\">" + Content[ActivePItem][i][0] + "</a></td>");
		else document.write("<td bordercolor=\"#ccccff\" align=\"center\"><a href=\"" + Catalog + Content[ActivePItem][i][1] + "\" class=\"second\">" + Content[ActivePItem][i][0] + "</a></td>");
		if(Index == CountPerLine) Index = -1;
		Index++;
	}
	document.write("</tr>");
	document.write("</table>");
}