/*
 Millionic DHTML Menu
 Written by Andy Woolley
 Copyright 2002 (c) Millionic Solutions. All Rights Reserved.
*/



//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=JavaScript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500                   // The time delay for menus to remain visible
followspeed=3                 // Follow Scrolling speed
followrate=50                 // Follow Scrolling Rate
suboffset_top=5               // Sub menu offset Top position
suboffset_left=10             // Sub menu offset Left position



ScrollingSampStyle=[          // ScrollingSampStyle is an array of properties. You can have as many property arrays as you need
"C0C0C0",                     // Mouse Off Font Color
"687f95",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"000000",                     // Mouse On Font Color
"ff9933",                     // Mouse On Background Color
"666666",                     // Menu Border Color
"12",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"normal",                     // Font Weight (bold or normal)
"Arial,Verdana, Arial",// Font Name
3,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
,                             // 3D High Color
,                             // 3D Low Color
,                             // Current Page Item Font Color (leave this blank to disable)
,                             // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]


addmenu(menu=[
"FollowMain",                 // Menu Name - This is needed in order for this menu to be called
0,                          // Menu Top - The Top position of this menu in pixels
10,                           // Menu Left - The Left position of this menu in pixels
160,                          // Menu Width - Menus width in pixels
1,                            // Menu Border Width
"center",                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
ScrollingSampStyle,           // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"center",                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
1,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"Full Movie List","fullmovies.html",,"Download all of these FULL movies in DVD/DivX quality from our ultrafast servers",0
,"Adultbouncer FAQ","faq.html",,"Click here for answers to the most frequently asked questions about Adultbouncer",0
,"Latest Updates","updates.html",,"We update with a Gigabyte of New Movies per MONTH",0
,"Webmasters","webmasters.html",,"Linktrading & Archive Affiliates",0
])





dumpmenus();
	
function openNewWindow(winURL,winWidth,winHeight,winConfig){
     mmConfig=""
     mmConfig="width="+winWidth+","
     mmConfig+="height="+winHeight+","
     mmConfig+=winConfig
     var mmWin=open(winURL,"",mmConfig);
     mmWin.focus();
}


function framecheck()
  {var parentframe = '/html/check_frames.html';

    if (parent.location.href == self.location.href)
	{var current = window.self.location.pathname;
        window.location.replace (parentframe + '?' + current);
  }
}


function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
} 


function hyperlinks(target)
{
   if (target) where = "_blank";
   else where = "_self";
   for (var i=0; i<=(document.links.length-1); i++)
   {
   document.links[i].target = where;
   }
}
