//Contents for menu 1
var menu1=new Array()
	menu1[1]='<a href="http://www.cinemahill.com/db">Full Library</a>'
	menu1[2]='-------------'
	menu1[3]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=23">Love\'s A Bitch</a>'
	menu1[4]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=21">PT - 309.81</a>'
	menu1[5]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=24">Falling</a>'
	menu1[6]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=19">Smashing Stereotypes</a>'
	menu1[7]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=10">Welcome to Hollywood</a>'
	menu1[8]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=9">Family Reunion</a>'
	menu1[9]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=8">Matthew 26:17</a>'
	menu1[10]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=7">Genesis 1984</a>'
	menu1[11]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=6">Camouflage</a>'
	menu1[12]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=5">The Chocolate Factory</a>'
	menu1[13]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=4">Reflections : A Story of...</a>'

//Contents for menu 2, and so on
var menu2=new Array()
	menu2[1]='<a href="http://www.cinemahill.com/db">Full Library</a>'
	menu2[2]='------shows-------'
	menu2[3]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=20">Cure Autism Now</a>'
	menu2[4]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=18">O.C.O.W.A.</a>'
	menu2[5]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=3">MO Girls : Sports Zone</a>'
	menu2[6]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=1">Stompercise</a>'
	menu2[7]='------commercials-------'
	menu2[8]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=34">Life After the Down Low</a>'
	menu2[9]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=28">07-07-07</a>'
	menu2[10]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=17">Dopegame II</a>'
	menu2[11]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=16">Aruna Music</a>'
	menu2[12]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=13">Mercedes Benz G500 (spec)</a>'
	menu2[13]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=2">ChriShan\'s Hair Studio</a>'

//Contents for menu 3, and so on
var menu3=new Array()
	menu3[1]='<a href="http://www.cinemahill.com/db">Full Library</a>'
	menu3[2]='-------------'
	menu3[3]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=31">Liberty, \"I\'ll Make You Work\"</a>'
	menu3[4]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=30">Ashleigh Rae, \"Dancin\' Machine\"</a>'
	menu3[5]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=29">Lil\' Gentlemen, \"Big Wheels\"</a>'
	menu3[6]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=27">Yuk & Klump, \"Neck Straight\"</a>'
	menu3[7]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=25">Blacc & Check, \"Get My Money\"</a>'
	menu3[8]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=22">Keak Da Sneak, \"Super Hyphie\"</a>'
	menu3[9]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=14">David Bowie, \"American Fear\"</a>'
	menu3[10]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=15">E-Dee, \"R U Ready\"</a>'

//Contents for menu 4, and so on
var menu4=new Array()
	menu4[1]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=33">P-24/7 <font size=1><i>(tv)</i></font></a>'
	menu4[2]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=32">Super Hyphy <font size=1><i>(film)</i></font></a>'
	menu4[3]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=26">Repercussions <font size=1><i>(film)</i></font></a>'
	menu4[4]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=11">Digital Video TV Show <font size=1><i>(tv)</i></font></a>'
	menu4[5]='<a href="http://www.cinemahill.com/db/movie_profile.php?id=12">Stepmasters! <font size=1><i>(film)</i></font></a>'


//Contents for menu 5, and so on
var menu5=new Array()
	menu5[1]='<a href="http://www.cinemahill.com/company.php?id=11">About Cinema Hill</a>'
	menu5[2]='<a href="http://www.cinemahill.com/staff.php">Chain of Command</a>'
	menu5[3]='<a href="http://office.cinemahill.com">Login</a>'
	menu5[4]='-------------'
	menu5[5]='<a href="http://www.cinemahill.com/behindthescenes">Behind The Scenes</a>'
	menu5[6]='<a href="http://www.cinemahill.com/trailerpark.php">Trailer Park</a>'
	menu5[7]='-------------'
	menu5[8]='<a href="http://www.cinemahill.com/contact.php">Contact</a>'

//Contents for menu 6, and so on
var menu6=new Array()
	menu6[1]='<a href="http://www.cinemahill.com/employment">Employment</a>'
	menu6[2]='<a href="http://www.cinemahill.com/crew-definitions.php">Crew Definitions</a>'
	menu6[3]='-------------'
	menu6[4]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=4">Producers</a>'
	menu6[5]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=3">Writers</a>'
	menu6[6]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=2">Directors</a>'
	menu6[7]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=5">Cinematographers</a>'
	menu6[8]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=6">Composers</a>'
	menu6[9]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=7">Editors</a>'
	menu6[10]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=8">Casting Directors</a>'
	menu6[11]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=9">Production Designers</a>'
	menu6[12]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=10">Costume Designers</a>'
	menu6[13]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=12">AD\'s/2nd Unit</a>'
	menu6[14]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=11">Production Department</a>'
	menu6[15]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=15">Camera Department</a>'
	menu6[16]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=13">Art Department</a>'
	menu6[17]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=14">Makeup Department</a>'
	menu6[18]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=16">Sound Department</a>'
	menu6[19]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=17">G & E Department</a>'
	menu6[20]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=19">Post Production</a>'
	menu6[21]='<a href="http://www.cinemahill.com/db/person_list.php?CrewCategories_ID=20">Other Important Crew</a>'
	menu6[22]='-------------'
	menu6[23]='<a href="http://www.cinemahill.com/db/person_list.php?CastCategories_ID=2">Actors</a>'
	menu6[24]='<a href="http://www.cinemahill.com/db/person_list.php?CastCategories_ID=3">Actresses</a>'
	menu6[25]='<a href="http://www.cinemahill.com/db/person_list.php?CastCategories_ID=4">Extras</a>'
	menu6[26]='-------------'
	menu6[27]='<a href="http://www.cinemahill.com/openletterfromsound.php">Open Letter from Sound</a>'

		
var menuwidth='200px' //default menu width
var menubgcolor='#000000'  //menu bgcolor
var disappeardelay=300  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu
