/***********************************************
* Pop-it menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var defaultMenuWidth="150px" //set default menu width.

var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT

linkset[0]='<a href="http://www.notstraight.com/movies/top_20_movies/Top_20_Lesbian_Movies.asp">Top 20 Lesbian Movies</a>'
linkset[0]+='<a href="http://www.notstraight.com/movies/top_20_movies/Top_20_Gay_Movies.asp">Top 20 Gay Movies</a>'
linkset[0]+='<a href="http://www.notstraight.com/movies/top_20_movies/Top_20_Bisexual_Movies.asp">Top 20 Bisexual Movies</a>'
linkset[0]+='<a href="http://www.notstraight.com/movies/top_20_movies/Top_20_Transgender_Movies.asp">Top 20 Transgender Movies</a>' 

linkset[1]='<a href="http://www.notstraight.com/movies/lesbian.asp">Lesbian Movies</a>'
linkset[1]+='<a href="http://www.notstraight.com/movies/top_20_movies/Top_20_Lesbian_Movies.asp">Top 20 Lesbian Movies</a>'
linkset[1]+='<a href="http://www.notstraight.com/contests/">Enter to Win</a>'
linkset[1]+='<a href="http://www.notstraight.com/contests/moviecontest.php">Win Lesbian Movies</a>'
linkset[1]+='<a href="http://www.notstraight.com/contests/healthcontest.php">Win Health Product</a>'

linkset[2]='<a href="http://www.notstraight.com/movies/gay.asp">Gay Movies</a>'
linkset[2]+='<a href="http://www.notstraight.com/movies/top_20_movies/Top_20_Gay_Movies.asp">Top 20 Gay Movies</a>'
linkset[2]+='<a href="http://www.notstraight.com/contests/">Enter to Win</a>'
linkset[2]+='<a href="http://www.notstraight.com/contests/moviecontest.php">Win Gay Movies</a>'
linkset[2]+='<a href="http://www.notstraight.com/contests/healthcontest.php">Win Health Product</a>'

linkset[3]='<a href="http://www.notstraight.com/movies/bisexual.asp">Bisexual Movies</a>'
linkset[3]+='<a href="http://www.notstraight.com/movies/top_20_movies/Top_20_Bisexual_Movies.asp">Top 20 Bisexual Movies</a>' 
linkset[3]+='<a href="http://www.notstraight.com/contests/">Enter to Win</a>'
linkset[3]+='<a href="http://www.notstraight.com/contests/moviecontest.php">Win Bisexual Movies</a>'
linkset[3]+='<a href="http://www.notstraight.com/contests/healthcontest.php">Win Health Product</a>'

linkset[4]='<a href="http://www.notstraight.com/movies/transgender.asp">Transgender Movies</a>'
linkset[4]+='<a href="http://www.notstraight.com/movies/top_20_movies/Top_20_Transgender_Movies.asp">Top 20 Transgender Movies</a>'
linkset[4]+='<a href="http://www.notstraight.com/contests/">Enter to Win</a>'
linkset[4]+='<a href="http://www.notstraight.com/contests/moviecontest.php">Win Transgender Movies</a>'
linkset[4]+='<a href="http://www.notstraight.com/contests/healthcontest.php">Win Health Product</a>'

linkset[5]='<a href="http://www.notstraight.com/movies/lesbian.asp">Lesbian</a>'
linkset[5]+='<a href="http://www.notstraight.com/movies/gay.asp">Gay</a>'
linkset[5]+='<a href="http://www.notstraight.com/movies/bisexual.asp">Bisexual</a>'
linkset[5]+='<a href="http://www.notstraight.com/movies/transgender.asp">Transgender</a>'

linkset[6]='<a href="http://www.notstraight.com/contests/index.asp">Contest</a>'
linkset[6]+='<a href="http://www.notstraight.com/contests/moviecontest.php">Win LGTB Movies</a>'
linkset[6]+='<a href="http://www.notstraight.com/contests/healthcontest.php">Win Health Product</a>'
linkset[6]+='<a href="http://www.notstraight.com/contests/contestwinners.asp">View Contest Winners</a>'

linkset[7]='<a href="http://www.notstraight.com/pets/cat.asp">Cats</a>'
linkset[7]+='<a href="http://www.notstraight.com/pets/dog.asp">Dogs</a>'

linkset[8]='<a href="http://www.notstraight.com/movies/the_L_word/The_L_Word_First_Season.asp">The First Season</a>'
linkset[8]+='<a href="http://www.notstraight.com/movies/the_L_word/The_L_Word_Second_Season.asp">The Second Season</a>'
linkset[8]+='<a href="http://www.notstraight.com/movies/the_L_word/The_L_Word_Third_Season.asp">The Third Season</a>'
linkset[8]+='<a href="http://www.notstraight.com/movies/the_L_word/The_L_Word_Fourth_Season.asp">The Fourth Season</a>'
linkset[8]+='<a href="http://www.notstraight.com/movies/the_L_word/The_L_Word_Fifth_Season.asp">The Fifth Season</a>'
linkset[8]+='<a href="http://www.notstraight.com/movies/the_L_word/The_L_Word_Final_Season.asp">The Final Season</a>'

linkset[9]='<a href="http://www.notstraight.com/movies/queer_as_folk/Queer_as_Folk_First_Season.asp">The First Season</a>'
linkset[9]+='<a href="http://www.notstraight.com/movies/queer_as_folk/Queer_as_Folk_Second_Season.asp">The Second Season</a>'
linkset[9]+='<a href="http://www.notstraight.com/movies/queer_as_folk/Queer_as_Folk_Third_Season.asp">The Third Season</a>'
linkset[9]+='<a href="http://www.notstraight.com/movies/queer_as_folk/Queer_as_Folk_Fourth_Season.asp">The Fourth Season</a>'
linkset[9]+='<a href="http://www.notstraight.com/movies/queer_as_folk/Queer_as_Folk_Final_Season.asp">The Final Season</a>'

linkset[10]='<a href="http://www.notstraight.com/movies/will_and_grace/Will_and_Grace_First_Season.asp">The First Season</a>'
linkset[10]+='<a href="http://www.notstraight.com/movies/will_and_grace/Will_and_Grace_Second_Season.asp">The Second Season</a>'
linkset[10]+='<a href="http://www.notstraight.com/movies/will_and_grace/Will_and_Grace_Third_Season.asp">The Third Season</a>'
linkset[10]+='<a href="http://www.notstraight.com/movies/will_and_grace/Will_and_Grace_Fourth_Season.asp">The Fourth Season</a>'
linkset[10]+='<a href="http://www.notstraight.com/movies/will_and_grace/Will_and_Grace_Fifth_Season.asp">The Fifth Season</a>'
linkset[10]+='<a href="http://www.notstraight.com/movies/will_and_grace/Will_and_Grace_Sixth_Season.asp">The Sixth Season</a>'
linkset[10]+='<a href="http://www.notstraight.com/movies/will_and_grace/Will_and_Grace_Seventh_Season.asp">The Seventh Season</a>'
linkset[10]+='<a href="http://www.notstraight.com/movies/will_and_grace/Will_and_Grace_Eighth_Season.asp">The Eighth Season</a>'
linkset[10]+='<a href="http://www.notstraight.com/movies/will_and_grace/Will_and_Grace_Series_Finale.asp">Series Finale</a>'
linkset[10]+='<a href="http://www.notstraight.com/movies/will_and_grace/Will_and_Grace_Series_Complete_Series.asp">Complete Series</a>'

linkset[11]='<a href="http://www.notstraight.com/movies/absolutely_fabulous/Absolutely_Fabulous_First_Season.asp">The First Season</a>'
linkset[11]+='<a href="http://www.notstraight.com/movies/absolutely_fabulous/Absolutely_Fabulous_Second_Season.asp">The Second Season</a>'
linkset[11]+='<a href="http://www.notstraight.com/movies/absolutely_fabulous/Absolutely_Fabulous_Third_Season.asp">The Third Season</a>'
linkset[11]+='<a href="http://www.notstraight.com/movies/absolutely_fabulous/Absolutely_Fabulous_Fourth_Season.asp">The Fourth Season</a>'
linkset[11]+='<a href="http://www.notstraight.com/movies/absolutely_fabulous/Absolutely_Fabulous_Fifth_Season.asp">The Fifth Season</a>'
linkset[11]+='<a href="http://www.notstraight.com/movies/absolutely_fabulous/Absolutely_Fabulous_Absolutely_Special.asp">Absolutely Special</a>'
linkset[11]+='<a href="http://www.notstraight.com/movies/absolutely_fabulous/Absolutely_Fabulous_Series_1_3.asp">Series 1-3 Collection</a>'

linkset[12]='<a href="http://www.notstraight.com/movies/footballers_wives/Footballers_Wives_First_Season.asp">The First Season</a>'
linkset[12]+='<a href="http://www.notstraight.com/movies/footballers_wives/Footballers_Wives_Second_Season.asp">The Second Season</a>'

linkset[13]='<a href="http://www.notstraight.com/customer_service/links.asp">Community Links</a>'
linkset[13]+='<a href="http://www.notstraight.com/lesbian/links.asp">Lesbian Links</a>'
linkset[13]+='<a href="http://www.notstraight.com/gay/links.asp">Gay Links</a>'
linkset[13]+='<a href="http://www.notstraight.com/bisexual/links.asp">Bisexual Links</a>'
linkset[13]+='<a href="http://www.notstraight.com/transgender/links.asp">Transgender Links</a>'

linkset[14]='<a href="http://www.notstraight.com/health/products/cell_food.php">Cell Food</a>'
linkset[14]+='<a href="http://www.notstraight.com/health/products/Echinacea_Goldenseal_Extract.php">Echinacea Goldenseal Extract</a>'
linkset[14]+='<a href="http://www.notstraight.com/health/products/moducare.php">Moducare</a>'
linkset[14]+='<a href="http://www.notstraight.com/health/products/zambroza.php">Zambroza</a>'

linkset[15]='<a href="http://www.notstraight.com/health/products/bifidophilus_flora_force.php">Bifidophilus Flora Force </a>'
linkset[15]+='<a href="http://www.notstraight.com/health/products/cascara_sagrada.php">Cascara Sagrada</a>'

linkset[16]='<a href="http://www.notstraight.com/health/products/aloe_vera_juice.php">Aloe Vera Juice</a>'
linkset[16]+='<a href="http://www.notstraight.com/health/products/digestive_enzymes.php">Digestive Enzymes-Canada Only</a>'
linkset[16]+='<a href="http://www.notstraight.com/health/products/papaya_mint.php">Papaya Mint</a>'
linkset[16]+='<a href="http://www.notstraight.com/health/products/stomach_comfort.php">Stomach Comfort</a>'
linkset[17]='<a href="http://www.notstraight.com/health/products/natural_toothpaste.php">Natural Toothpaste</a>'
linkset[17]+='<a href="http://www.notstraight.com/health/products/cinnamon_tooth_polish.php">Cinnamon Tooth Polish</a>'
linkset[17]+='<a href="http://www.notstraight.com/health/products/fresh_mint_tooth_polish.php">Fresh Mint Tooth Polish</a>'
linkset[17]+='<a href="http://www.notstraight.com/health/products/whitening_tooth_polish.php">Whitening Tooth Polish</a>'
linkset[17]+='<a href="http://www.notstraight.com/health/products/natural_floss.php">Natural Floss</a>'
linkset[17]+='<a href="http://www.notstraight.com/health/products/mint_dental_floss.php">Mint Dental Floss</a>'
linkset[17]+='<a href="http://www.notstraight.com/health/products/cinnamon_dental_floss.php">Cinnamon Dental Floss</a>'

linkset[18]='<a href="http://www.notstraight.com/movies/dantes_cove/Dantes_Cove_First_Season.asp">The First Season</a>'
linkset[18]+='<a href="http://www.notstraight.com/movies/dantes_cove/Dantes_Cove_Second_Season.asp">The Second Season</a>'
linkset[18]+='<a href="http://www.notstraight.com/movies/dantes_cove/Dantes_Cove_Third_Season.asp">The Third Season</a>'
linkset[18]+='<a href="http://www.notstraight.com/movies/dantes_cove/Dantes_Cove_The_Guilty_Pleasure_Collection.asp">The Guilty Pleasure Collection</a>'

linkset[19]='<a href="http://www.notstraight.com/health/products/bifidophilus_flora_force.php">Bifidophilus Flora Force </a>'
linkset[19]+='<a href="http://www.notstraight.com/health/products/cell_food.php">Cell Food</a>'
linkset[19]+='<a href="http://www.notstraight.com/health/products/Echinacea_Goldenseal_Extract.php">Echinacea Goldenseal Extract</a>'
linkset[19]+='<a href="http://www.notstraight.com/health/products/moducare.php">Moducare</a>'
linkset[19]+='<a href="http://www.notstraight.com/health/products/stomach_comfort.php">Stomach Comfort</a>'
linkset[19]+='<a href="http://www.notstraight.com/health/products/zambroza.php">Zambroza</a>'

linkset[20]='<a href="http://www.notstraight.com/movies/six_feet_under/Six_Feet_Under_First_Season.asp">The First Season</a>'
linkset[20]+='<a href="http://www.notstraight.com/movies/six_feet_under/Six_Feet_Under_Second_Season.asp">The Second Season</a>'
linkset[20]+='<a href="http://www.notstraight.com/movies/six_feet_under/Six_Feet_Under_Third_Season.asp">The Third Season</a>'
linkset[20]+='<a href="http://www.notstraight.com/movies/six_feet_under/Six_Feet_Under_Fourth_Season.asp">The Fourth Season</a>'
linkset[20]+='<a href="http://www.notstraight.com/movies/six_feet_under/Six_Feet_Under_Fifth_Season.asp">The Fifth Season</a>'

linkset[21]='<a href="http://www.notstraight.com/movies/noahs_arc/Noahs_Arc_First_Season.asp">The First Season</a>'
linkset[21]+='<a href="http://www.notstraight.com/movies/noahs_arc/Noahs_Arc_Second_Season.asp">The Second Season</a>'
linkset[21]+='<a href="http://www.notstraight.com/movies/noahs_arc/Noahs_Arc_Jumping_the_Broom.asp">Jumping the Broom-Movie</a>'


linkset[22]='<a href="http://www.notstraight.com/movies/exes_ohs/exes_ohs_first_season.asp">The First Season</a>'

linkset[23]='<a href="http://www.notstraight.com/movies/brothers_sisters/brothers_sisters_first_season.asp">The First Season</a>'
linkset[23]+='<a href="http://www.notstraight.com/movies/brothers_sisters/brothers_sisters_second_season.asp">The Second Season</a>'
linkset[23]+='<a href="http://www.notstraight.com/movies/brothers_sisters/brothers_sisters_third_season.asp">The Third Season</a>'

linkset[24]='<a href="http://www.notstraight.com/movies/chris_john/chris_john_first_season.asp">The First Season</a>'
linkset[24]+='<a href="http://www.notstraight.com/movies/chris_john/chris_john_second_season.asp">The Second Season</a>'
linkset[24]+='<a href="http://www.notstraight.com/movies/chris_john/chris_john_road_trip.asp">Road Trip</a>'

linkset[25]='<a href="http://www.notstraight.com/movies/tila_tequila/tila_tequila_first_season.asp">The First Season</a>'

linkset[26]='<a href="http://www.notstraight.com/movies/the_lair/the_lair_first_season.asp">The First Season</a>'
linkset[26]+='<a href="http://www.notstraight.com/movies/the_lair/the_lair_second_season.asp">The Second Season</a>'
linkset[26]+='<a href="http://www.notstraight.com/movies/the_lair/the_lair_third_season.asp">The Third Season</a>'

linkset[27]='<a href="http://www.notstraight.com/movies/torchwood/torchwood_first_season.asp">The First Season</a>'
linkset[27]+='<a href="http://www.notstraight.com/movies/torchwood/torchwood_second_season.asp">The Second Season</a>'
linkset[27]+='<a href="http://www.notstraight.com/movies/torchwood/torchwood_children_of_earth.asp">Children of Earth</a>'
////No need to edit beyond here

var ie5=document.all && !window.opera
var ns6=document.getElementById

if (ie5||ns6)
document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')

function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}

function showmenu(e, which, optWidth){
if (!document.all&&!document.getElementById)
return
clearhidemenu()
menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu")
menuobj.innerHTML=which
menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth
menuobj.contentwidth=menuobj.offsetWidth
menuobj.contentheight=menuobj.offsetHeight
eventX=ie5? event.clientX : e.clientX
eventY=ie5? event.clientY : e.clientY
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px"
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px"
//same concept with the vertical position
if (bottomedge<menuobj.contentheight)
menuobj.style.top=ie5? iecompattest().scrollTop+eventY-menuobj.contentheight+"px" : window.pageYOffset+eventY-menuobj.contentheight+"px"
else
menuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px"
menuobj.style.visibility="visible"
return false
}

function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.style.visibility="hidden"
}

function dynamichide(e){
if (ie5&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

if (ie5||ns6)
document.onclick=hidemenu

/***********************************************
* Switch Menu script- by Martial B of http://getElementById.com/
* Modified by Dynamic Drive for format & NS4/IE4 compatibility
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var persistmenu="yes" //"yes" or "no". Make sure each SPAN content contains an incrementing ID starting at 1 (id="sub1", id="sub2", etc)
var persisttype="sitewide" //enter "sitewide" for menu to persist across site, "local" for this page only

if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}

function SwitchMenu(obj){
	if(document.getElementById){
	var el = document.getElementById(obj);
	var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
		if(el.style.display != "block"){ //DynamicDrive.com change
			for (var i=0; i<ar.length; i++){
				if (ar[i].className=="submenu") //DynamicDrive.com change
				ar[i].style.display = "none";
			}
			el.style.display = "block";
		}else{
			el.style.display = "none";
		}
	}
}

function get_cookie(Name) { 
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { 
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function onloadfunction(){
if (persistmenu=="yes"){
var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
var cookievalue=get_cookie(cookiename)
if (cookievalue!="")
document.getElementById(cookievalue).style.display="block"
}
}

function savemenustate(){
var inc=1, blockid=""
while (document.getElementById("sub"+inc)){
if (document.getElementById("sub"+inc).style.display=="block"){
blockid="sub"+inc
break
}
inc++
}
var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
var cookievalue=(persisttype=="sitewide")? blockid+";path=/" : blockid
document.cookie=cookiename+"="+cookievalue
}

if (window.addEventListener)
window.addEventListener("load", onloadfunction, false)
else if (window.attachEvent)
window.attachEvent("onload", onloadfunction)
else if (document.getElementById)
window.onload=onloadfunction

if (persistmenu=="yes" && document.getElementById)
window.onunload=savemenustate


<!--
function stopError() {
  return true;
}
window.onerror = stopError;
function formCheck(formobj){
	// Enter name of mandatory fields
	var fieldRequired = Array("firstName","email_id");
	// Enter field description to appear in the dialog box
	var fieldDescription = Array("First Name","E-mail");
	// dialog message
	var alertMsg = "Please complete the following fields:\n";
	
	var l_Msg = alertMsg.length;
	
	for (var i = 0; i < fieldRequired.length; i++){
		var obj = formobj.elements[fieldRequired[i]];
		if (obj){
			switch(obj.type){
			case "select-one":
				if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "select-multiple":
				if (obj.selectedIndex == -1){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "text":
			case "textarea":
				if (obj.value.length < 2 || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			default:
			}
			if (obj.type == undefined){
				var blnchecked = false;
				for (var j = 0; j < obj.length; j++){
					if (obj[j].checked){
						blnchecked = true;
					}
				}
				if (!blnchecked){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
			}
		}
	}

	if (alertMsg.length == l_Msg){
		return true;
	}else{
		alert(alertMsg);
		return false;
	}
}



// -->


