// Menu.js
// --------------------------------------------------------------
// @Author - Matt Senter
// @Company - Senternet, Incorporated
// @Version - 0.1b
// @Date - August 20, 2002
// DESCRIPTION:
// Generates a menu that can be cached across multiple pages for a faster download.
// USAGE:
// <script language="JavaScript" src="menu.js"></script>
// --------------------------------------------------------------

// This object stors Pairs, labeled P for simplicity
function P(label, url) {
	this.label = label;
	this.url = url;
}

// This is the main function. To use it, just put the following where
// your menu should go:
//   <script language="JavaScript">
//     m();
//   </script>

i = new Array();
	x = 0;
	i[x++] = new P("Amateur Galleries","amateur.shtml");
	i[x++] = new P("Anal Galleries","anal.shtml");
	i[x++] = new P("Anime, Cartoons","cartoon.shtml");
	i[x++] = new P("Asian Galleries","asian.shtml");
	i[x++] = new P("Ass Galleries","ass.shtml");
	
	i[x++] = new P("BDSM Galleries","fetish.shtml");
	i[x++] = new P("Big Huge bOObs","tit.shtml");
	i[x++] = new P("Bikini Galleries","bikini.shtml");
	i[x++] = new P("Bizarre Galleries","fetish.shtml");
	i[x++] = new P("Black and Ebony","ebony.shtml");
	i[x++] = new P("Blonde Galleries","blonde.shtml");
	i[x++] = new P("Blowjob Galleries","blowjob.shtml");
	i[x++] = new P("Brunette Galleries","brunette.shtml");
	
  i[x++] = new P("Cumshot Galleries","cumshot.shtml");
    
  i[x++] = new P("Dildos, BIG TOYS","dildo.shtml");
    
  i[x++] = new P("Fetish Galleries","fetish.shtml");
  i[x++] = new P("Finger, Fist Galleries","fist.shtml");
    
  i[x++] = new P("Gangbang Galleries","group.shtml");
  i[x++] = new P("Gay Galleries","gay.shtml");
  i[x++] = new P("Glass Toy Sluts","http://www.glasstoysluts.com");
    
	i[x++] = new P("Hand Job Galleris","handjob.shtml");
	i[x++] = new P("Hairy Girl Galleries","hairy.shtml");
	i[x++] = new P("Hardcore Galleries","hardcore.shtml");
	i[x++] = new P("HUSTLER","hustler.shtml");

	i[x++] = new P("Interracial Galleries","interracial.shtml");
	
	i[x++] = new P("Latinas","latina.shtml");
	i[x++] = new P("Lesbian Galleries","lesbian.shtml");
	i[x++] = new P("Lingerie Galleries","lingerie.shtml");
	i[x++] = new P("Live Webcams","http://livecams.xxxgod.com");

	i[x++] = new P("Machine Fuckers","machine.shtml");
	i[x++] = new P("Mature Galleries","mature.shtml");

	i[x++] = new P("Oral Galleries","blowjob.shtml");
	i[x++] = new P("Outdoor Galleries","outdoor.shtml");
	
	i[x++] = new P("Panty Galleries","panty.shtml");
	i[x++] = new P("Pee Galleries","pee.shtml");
	i[x++] = new P("Pornstar Galleries","pornstars.shtml");
	i[x++] = new P("Pay Per View","http://payperview.xxxgod.com");
	i[x++] = new P("Public Nudity","voyeur.shtml");
	i[x++] = new P("Pussy Close Ups","pussy.shtml");
	i[x++] = new P("Redhead Galleries","redhead.shtml");

	i[x++] = new P("Schoolgirls","teen.shtml");
	i[x++] = new P("Smoking Galleries","smoking.shtml");
	i[x++] = new P("Shemale Galleries","tranny.shtml");
	i[x++] = new P("Spy Galleries","voyeur.shtml");
	i[x++] = new P("Squirting Galleries","squirting.shtml");
	i[x++] = new P("Stocking Galleries","stockings.shtml");
	
	i[x++] = new P("Teen Galleries","teen.shtml");
	i[x++] = new P("Tit Galleries","tit.shtml");
	i[x++] = new P("Tranny Galleries","tranny.shtml");
	
	i[x++] = new P("Upskirt Shots","voyeur.shtml");
	
	i[x++] = new P("Voyeur Galleries","voyeur.shtml");
	
	i[x++] = new P("XXX DVDs  FOR SALE","videostore/");
	
	i[x++] = new P("Young Galleries","teen.shtml");
	
function m() {
	

	





//    ...
// Continue in this manner for all the pairs (P) that you need. As long as you enter
// them alphabetically, it will take care of all the labeling for you.
//	i[x++] = new P("","");
//    ...

// The HTML output is very basic. You may want to touch it up below.
	// The opening table tag
	document.write("<table width=\"149\"  border=\"0\" cellspacing=\"1\" cellpadding=\"3\" align=\"center\" class=\"ph\">");
	previousLetter = new String("");
	for (j = 0; j < i.length; j++) {
		letter = i[j].label.substring(0,1);
		if (letter != previousLetter) {
			// The letter heading
			document.write("<tr><td><B><font size=3>" + letter + "</font></b></td></tr>\n");
			previousLetter = letter;
		}
		// The menu item
		
		
		var is_url=i[j].url.indexOf('http://');
		if (is_url ==-1)
		{
		document.write("<tr><td><a href='/" + i[j].url + "'>" + i[j].label + "</a></td></tr>");
		}
		else
		{
			document.write("<tr><td><a href='" + i[j].url + "'>" + i[j].label + "</a></td></tr>");
		}

		
		
		
		//document.write("<tr><td><a href='sections/" + i[j].url + "'>" + i[j].label + "</a></td></tr>");
	}
	// The closing table tag
	document.write("</table>\n");
}
function c(e){
	e.style.color = '#AA5555';
}

function pics() {
	previousLetter = new String("");
	for (j = 0; j < i.length; j++) {
		letter = i[j].label.substring(0,1);
		if (letter != previousLetter) {
			previousLetter = letter;
		}
		// The menu item
		var is_url=i[j].url.indexOf('http://');
		if (is_url ==-1)
		{
		document.write("<option value='text/" + i[j].url + "'>" + i[j].label + "</option>");
		}
		else
		{
			//document.write("<option value='" + i[j].url + "'>" + i[j].label + "</option>");
		}
	}
	// The closing table tag
}


function movs() {
	previousLetter = new String("");
	for (j = 0; j < i.length; j++) {
		letter = i[j].label.substring(0,1);
		if (letter != previousLetter) {
			previousLetter = letter;
		}
		// The menu item
		var is_url=i[j].url.indexOf('http://');
		if (is_url ==-1)
		{
		document.write("<option value='movies/" + i[j].url + "'>" + i[j].label + "</option>");
		}
		else
		{
			//document.write("<option value='" + i[j].url + "'>" + i[j].label + "</option>");
		}
	}
	// The closing table tag
}


function thumbs() {
	previousLetter = new String("");
	for (j = 0; j < i.length; j++) {
		letter = i[j].label.substring(0,1);
		if (letter != previousLetter) {
			previousLetter = letter;
		}
		// The menu item
		var is_url=i[j].url.indexOf('http://');
		if (is_url ==-1)
		{
		document.write("<option value='/" + i[j].url + "'>" + i[j].label + "</option>");
		}
		else
		{
			//document.write("<option value='" + i[j].url + "'>" + i[j].label + "</option>");
		}
	}
	// The closing table tag
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}