var Content = new Array();
Content[0] = new Array("Las Vegas Locations", "lv_services/locations.htm");

Content[1] = new Array("Highly Recomended", "lv_services/ventano-redirect.asp");
//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("Other Las Vegas Locations", "lv_services/otherlocations/index.htm");
Content[2][2] = new Array("Tustin Ranch Golf Resort", "lv_services/high/tustin.asp");
Content[2][3] = new Array("Meadowlark Golf Course, H.Bch.", "lv_services/otherlocations/mead1.htm");
Content[2][4] = new Array("Dad Miller Golf Course, Anaheim", "lv_services/otherlocations/dad1.htm");
Content[2][5] = new Array("Ole Hanson Beach Club, San Clemente", "lv_services/otherlocations/ole1.htm");
Content[2][6] = new Array("Rancho Capistrano, S.J.C.", "lv_services/otherlocations/rancho1.htm");
Content[2][7] = new Array("Angels Landing Resort", "lv_services/otherlocations/angelresort/index.htm");
Content[2][8] = new Array("Newport Dunes Resort", "lv_services/otherlocations/n11.htm");
Content[2][9] = new Array("Queen Mary, Long Beach", "lv_services/otherlocations/n13.htm");
Content[2][10] = new Array("Wyndham Gardens, Costa Mesa", "lv_services/otherlocations/n14.htm");
Content[2][11] = new Array("Holiday Inn Laguna Hills", "lv_services/otherlocations/inn1.htm");
Content[2][12] = new Array("Bridal Faire Info", "bridalfaire/index.html");
//Content[2][13] = new Array("Doubletree Club Hotel, Orange County Airport", "or_services/otherlocations/doubletree/index.htm");
Content[2][13] = new Array("Capri Laguna Inn, Laguna Beach", "lv_services/otherlocations/oceanfront/index.htm");
Content[2][14] = new Array("The Hacienda SJC", "lv_services/otherlocations/hacienda.htm");
Content[2][15] = new Array("Huntington Harbor", "lv_services/otherlocations/huntington.htm");
Content[2][16] = new Array("Embassy Suites", "lv_services/otherlocations/embassy.htm");
Content[2][17] = new Array("Surf & Sand Laguna Beach", "lv_services/otherlocations/lagunabeach.htm");*/

Content[2] = new Array("Las Vegas Services", "lv_services/index.htm");
Content[2][2] = new Array("Catering Services", "lv_services/c_soon.htm");
Content[2][3] = new Array("DiscJockey", "lv_services/discjockey_redirect.asp");
Content[2][4] = new Array("Lawrence Jones Photography", "/services/photography/redirect.asp");
Content[2][5] = new Array("Videography", "lv_services/c_soon.htm");
Content[2][6] = new Array("Wedding Jewelry", "lv_services/Wedding-Jewelry/index.html");
Content[2][7] = new Array("Standards", "services/standards/index.htm");
Content[2][8] = new Array("Membership", "services/membership/index.htm");
Content[2][9] = new Array("Floral Art", "lv_services/florists/redirect.asp");
Content[2][10] = new Array("Cakes", "lv_services/c_soon.htm");
Content[2][11] = new Array("Tanning", "lv_services/tanning_redirect.asp");
Content[2][12] = new Array("Honeymoons", "lv_services/honeymoon_redirect.asp");
Content[2][13] = new Array("Vows", "lv_services/c_soon.htm");
Content[2][14] = new Array("Beauty in Vegas", "lv_services/beauty_redirect.asp");
Content[2][15] = new Array("Bridal Faire Info", "bridalfaire/lasvegas/");
Content[2][16] = new Array("Accomodations", "lv_services/c_soon.htm");
// Content[2][17] = new Array("Alexis Park Resort", "lv_services/high/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>");
}