 
 
 var baseH = 0;
 
 function checkOS() {
  if(navigator.userAgent.indexOf('IRIX') != -1)
    { var OpSysH = 50; }
  else if((navigator.userAgent.indexOf('Win') != -1) &&
  (navigator.userAgent.indexOf('95') != -1))
    { var OpSysH = 50 + baseH; }
  else if(navigator.userAgent.indexOf('Win') != -1)
    { var OpSysH = 107 + baseH;
	  }
  else if(navigator.platform.indexOf('MacPPC') != -1)
    { 
	var OpSysH = 108; }
  else { var OpSysH = 34; }
  return OpSysH;
}

var OpSysH = checkOS();


if (parseInt(navigator.appVersion)>3) {
 if (navigator.appName=="Netscape") {
  winW = (window.innerWidth - 788)  /2;
  winH = window.innerHeight;
  //alert ("PC1"); 
   if (winW < 20) {
	  winW = 20;
	   
  }
 
 }
 if (navigator.appName.indexOf("Microsoft")!=-1) {
  winW = (document.body.offsetWidth - 788)  /2;
  winH = document.body.offsetHeight;
   //alert ("PC2");
  if (winW < 20) {
	  winW = 20;
	  
  }
    if(navigator.platform.indexOf('MacPPC') != -1){
winW = (document.body.offsetWidth - 788)  /2;
  winH = document.body.offsetHeight;
   if (winW < 20) {
	  winW = 20;
	   
  }

//alert ("Hi Emily"); 
 } 
   
 


}
   
}

 



_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=10              // Sub menu top offset
_subOffsetLeft=10            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x



with(menuStyle=new mm_style()){
onbgcolor="#27318b"; 					//Mouse over Color
oncolor="#ffffff";						//Mouse over text Color
offbgcolor="#ffffff";					//Mouse off Color
offcolor="#000000";						//Mouse off text Color
bordercolor="#ffffff";
borderstyle="Solid";						//None,Solid
borderwidth=0;
separatorcolor="#ffffff";
separatorsize="0";
padding=10;
fontsize="75%";
fontstyle="normal";
fontfamily="arial";
pagecolor="white";
pagebgcolor="#000000"; 
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#ffffff', Direction=135, Strength=0)";
outfilter="fade(duration=0.3)";
}

AboutStyle=new copyOf(menuStyle)
AboutStyle.separatorsize="1";
AboutStyle.borderwidth="1";
AboutStyle.subimage="images/arrow.gif";
AboutStyle.bordercolor="#000000";
AboutStyle.onbgcolor="#00718e"; 					//Mouse over Color
AboutStyle.oncolor="#ffffff";						//Mouse over text Color
AboutStyle.offbgcolor="#ffffff";					//Mouse off Color
AboutStyle.offcolor="#000000";						//Mouse off text Color

EventStyle=new copyOf(menuStyle)
EventStyle.separatorsize="1";
EventStyle.borderwidth="1";
EventStyle.subimage="images/arrow.gif";
EventStyle.bordercolor="#000000";
EventStyle.onbgcolor="#f48120"; 					//Mouse over Color
EventStyle.oncolor="#ffffff";						//Mouse over text Color
EventStyle.offbgcolor="#ffffff";					//Mouse off Color
EventStyle.offcolor="#000000";						//Mouse off text Color

NewsStyle=new copyOf(menuStyle)
NewsStyle.separatorsize="1";
NewsStyle.borderwidth="1";
NewsStyle.subimage="images/arrow.gif";
NewsStyle.bordercolor="#000000";
NewsStyle.onbgcolor="#27318b"; 					//Mouse over Color
NewsStyle.oncolor="#ffffff";						//Mouse over text Color
NewsStyle.offbgcolor="#ffffff";					//Mouse off Color
NewsStyle.offcolor="#000000";						//Mouse off text Color

RentStyle=new copyOf(menuStyle)
RentStyle.separatorsize="1";
RentStyle.borderwidth="1";
RentStyle.subimage="images/arrow.gif";
RentStyle.bordercolor="#000000";
RentStyle.onbgcolor="#a79800"; 					//Mouse over Color
RentStyle.oncolor="#ffffff";						//Mouse over text Color
RentStyle.offbgcolor="#ffffff";					//Mouse off Color
RentStyle.offcolor="#000000";						//Mouse off text Color

//top = OpSysH;

with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=0;
left=0;
separatorsize=0;
borderwidth=0;
alwaysvisible=1;
position="relative";
orientation="horizontal";
aI("text=;showmenu=;image=images/home_off.gif;overimage=images/home_ovr.gif;url=index.cfm;")
aI("text=;showmenu=About;image=images/about_off.gif;overimage=images/about_ovr.gif;url=about.cfm;")
aI("text=;showmenu=Events;image=images/events_off.gif;overimage=images/events_ovr.gif;url=events.cfm;")
//aI("text=;showmenu=News;image=images/news_off.gif;overimage=images/news_ovr.gif;url=news.cfm;")
aI("text=;showmenu=Rent;image=images/rent_off.gif;overimage=images/rent_ovr.gif;url=rent.cfm;")
aI("text=;;image=images/Links_off.gif;overimage=images/links_ovr.gif;url=links.cfm;")
aI("text=;image=images/join_off.gif;overimage=images/join_ovr.gif;url=pricing.cfm;")
aI("text=;image=images/contact_off.gif;overimage=images/contact_ovr.gif;url=contact.cfm;")

}
 

 

with(milonic=new menuname("About")){
style=AboutStyle;
overflow="scroll";
separatorsize=1;
borderwidth=1;

//left = winW +285;
orientation="vertical";

aI("text=SCOOP! ;url=scoop.cfm;");
aI("text=Facilities;url=facility.cfm;");
aI("text=The little Theater;url=littleTheater.cfm;");
aI("text=Meet the staff;url=Staff.cfm;");
aI("text=News;url=news.cfm;");
aI("text=Useful Links;url=Links.cfm;");
aI("text=Contact Us;url=contact.cfm;");
aI("text=Our Hours;url=hours.cfm;");
}

with(milonic=new menuname("Events")){
style=EventStyle;
overflow="scroll";
 
 
orientation="vertical";
aI("text=Rent Our Screening Room;url=rent.cfm;");
 
}
 
with(milonic=new menuname("News")){
style=NewsStyle;
overflow="scroll";


//top = OpSysH + 26;
//left = winW +293;
orientation="vertical";
//aI("text=Newsletter Archive;url=Newsletter.cfm;");
aI("text=Message Board;url=board/toast.asp;");
 
}

 with(milonic=new menuname("Rent")){
style=RentStyle;
overflow="scroll";
//top = OpSysH +52;


//left = winW  -77;
orientation="vertical";

aI("text=Check Availability;url=events.cfm;");
aI("text=Rent Form;url=rent.cfm;");
aI("text=Contact Us;url=contact.cfm;"); 
}

 

 
drawMenus();

 //document.write(
//"<font color=ff0000 size=-2>Window width = "+winW+"<br>"
//+"Window height = "+winH+"<br>"
// +"OpSysH = "+OpSysH+"</font>"
//) 