var rootofflineURL = "file:///f:/honeymoonmarriage/website/new_site/"; // Be sure to include the trailing slash
var rootonlineURL = ""; // Be sure to include the trailing slash
var functionPath_offline = "scripts/"; // Be sure to include the trailing slash
var functionPath_online = "scripts/"; // Be sure to include the trailing slash
// The value of this variable just decides which of the two variables to use above
var functionMODE = "online"; // offline or online

// Are you using frames? 1 = yes, 0 = no
var useFrames = 0;
// If yes, what is the name of the frame that the submenus will be popping up in?
var frameName = "mainFrameName";


var submenuAlignment = 0; 

var topGroup_fromleft =  81; // Offset distance of the top group from the left edge of the browser after the alignment value is applied
var topGroup_fromtop =  181;  // Offset distance of the top group from the top edge of the browser after the alignment value is applied
var topGroup_spacebetween = 0; // The distance in pixels placed between the top group items **** Only applies when the submenus are stacked
var page_boundry_check = 1;  // Do you want the submenus to detect whether or not they are going to popup outside of the browsers window area? 1=yes and 0=no
var topGroup_alignment = 0; 

var AutoClose = 1000; // The amount of time in milliseconds before the menus go away after MOUSEOUT

var verticalScroll = 0;
var horizontalScroll = 0;

/* Intitializing the array for the top menu items and defining the settings relating
		specifically to the top menu items */
var TopItems = new Array;
TopItems.height = 20;                // The height of the top menu items
TopItems.width = 120;                // The width of each top item
TopItems.padding = 0;                // The distance in pixels between the display text and the top edge of the item block 
TopItems.useborder = 0;              // Do you want to use a border on the Top menu Items-- 1=yes 0=no 
TopItems.bordercolor = "#ffffff";    // If so, what color is the border
TopItems.borderwidth = 0;            // Border width in pixels
TopItems.stackem = 0;                // Stack the top level items? 1 = yes 0 - no (Hint: Any time you change the value of this variable, the variable submenuAlignment will also have to be changed.)
// CSS related settings for the top menu --- given appropriate CSS values
TopItems.font_family = "Tahoma";    // font-family
TopItems.font_size = 13;             // font-size -- Internet Explorer -- PIXELS
TopItems.NSpoint_size = 8;           // point-size -- Netscape -- POINTS
TopItems.font_style = "none";        // font-style -- Internet Explorer
TopItems.text_decoration = "none";   // text-decoration
TopItems.font_weight = "bold";       // font-weight
TopItems.font_coloroff = "#ffffff";  // font-color -- The OFF state
TopItems.font_coloron = "#FFffff";   // font-color -- The ON state
TopItems.bgcoloroff = "#738ED6";     // background-color -- The OFF state
TopItems.bgcoloron = "#3959C6";      // background-color -- The ON state
TopItems.cursor = "hand";            // cursor -- arrow OR hand
var MenuItems = new Array;
MenuItems.height = 20;               // The height of the top menu items
MenuItems.width = 170;               // The width of each top item
MenuItems.padding = 1;               // The distance in pixels between the display text and the top edge of the item block 
MenuItems.useborder = 1;             // Do you want to use a border on the Sub Menu Groups -- 1=yes 0=no 
MenuItems.bordercolor = "#ffffff";   // If so, what color is the border
MenuItems.borderwidth = 1;           // Border width in pixels
MenuItems.stackem = 1;               // Stack the sub level items? 1 = yes 0 - no
// CSS related settings for the sublevels of the menu --- given appropriate CSS values
MenuItems.font_family = "Tahoma";   // font-family
MenuItems.font_size = 13;            // font-size -- Internet Explorer -- PIXELS
MenuItems.NSpoint_size = 8;           // point-size -- Netscape -- POINTS
MenuItems.font_style = "none";       // font-style -- Internet Explorer
MenuItems.text_decoration = "none";  // text-decoration
MenuItems.font_weight = "bold";      // font-weight
MenuItems.font_coloroff = "#ffffff"; // font-color -- The OFF state
MenuItems.font_coloron = "#FFDF00";  // font-color -- The ON state
MenuItems.bgcoloroff = "#738ED6";    // background-color -- The OFF state
MenuItems.bgcoloron = "#3959C6";     // background-color -- The ON state
MenuItems.cursor = "hand";           // cursor -- arrow OR hand

//MenuItems.filterIE55="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)";
/*Different IE 5.5 filter specs you can try:(REPLACE THE LINE ABOVE WITH ONE OF THE FOLLOWING LINES)
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.Barn(duration=0.5,orientation=horizontal)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.Blinds(duration=0.5,bands=5)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.CheckerBoard(duration=0.5)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.Fade(duration=0.5)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.5,wipeStyle=0)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=STAR)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=CIRCLE)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.Pixelate(duration=0.5,maxSquare=40)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.RadialWipe(duration=0.5)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.RandomBars(duration=0.5,orientation=vertical)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.Spiral(duration=0.5)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.Stretch(duration=0.5,stretcSYr=push)";
MenuItems.filterIE55="progid:DXImageTransform.Microsoft.Strips(duration=0.5,motion=rightdown)"
---------------------------------------------------------------------------------------------*/



TopItems[0] = new Array("Resources","","http://honeymoonmarriage.com/resources.html","","","","-1","-1","235","30","images/nav/resources.jpg","images/nav/resources.jpg");

TopItems[1] = new Array("Affiliate","","http://honeymoonmarriage.com/tellafriend.html","","","","-1","-1","145","30","images/nav/affiliate.jpg","images/nav/affiliate.jpg");

TopItems[2] = new Array("Keywords","","http://honeymoonmarriage.com/keywords.html","","","","-1","-1","111","30","images/nav/keywords.jpg","images/nav/keywords.jpg");

TopItems[3] = new  Array("Contact","","http://honeymoonmarriage.com/contact.html","_self","","","-1","-1","111","30","images/nav/contact.jpg","images/nav/contact.jpg");

//TopItems[5] = new Array("Order","","http://www.merchantamerica.com/marriage/index.php?ba=view_category&category=5062","_self","","","-1","-1","85","30","images/nav/order.jpg","images/nav/order.jpg");

TopItems[4] = new Array("Home","","http://honeymoonmarriage.com/index.html","_self","","","-1","-1","81","30","images/nav/home.jpg","images/nav/home.jpg");


            
// Keywords
//MenuItems[0] = new Array("Keywords","subkeys","<table><tr><td align=left valign=bottom><font color=#ffffff size=2 face=Tahoma>Throughout the book<br><i>Honeymoon Marriage</i>,</font></td><td align=center valign=top width=50><img src=images/arrow_right5.gif width=60 height=40></td></tr><tr><td valign=top align=left colspan=2><font color=#ffffff size=2 face=Tahoma>several important keywords are mentioned. These keywords are expanded upon here in order to give you more detailed information and allow you to share your suggestions and stories.</font></td></tr></table>","","","","","-1","-1","225","150","","","#660066","#666699","#ffffff","#ffffff");
    // Keywords/subkeys
//MenuItems[1] = new Array("subkeys","","<center>affirmation</center>","http://honeymoonmarriage.com/affirmation.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");
//MenuItems[2] = new Array("subkeys","","<center>children\'s hunger fund</center>","http://honeymoonmarriage.com/chf.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");
//MenuItems[3] = new Array("subkeys","","<center>date night</center>","http://honeymoonmarriage.com/date_night.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");
//MenuItems[4] = new Array("subkeys","","<center>encouragement team</center>","http://honeymoonmarriage.com/encouragement_team.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");
//MenuItems[5] = new Array("subkeys","","<center>healthy body</center>","http://honeymoonmarriage.com/healthy_body.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");
//MenuItems[6] = new Array("subkeys","","<center>law of reciprocity</center>","http://honeymoonmarriage.com/lor.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");
//MenuItems[7] = new Array("subkeys","","<center>marriage rating</center>","http://honeymoonmarriage.com/marriage_rating.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");
//MenuItems[8] = new Array("subkeys","","<center>network marketing</center>","http://honeymoonmarriage.com/network_marketing.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");
//MenuItems[9] = new Array("subkeys","","<center>nutritional supplements</center>","http://honeymoonmarriage.com/nutritional_supplements.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");
//MenuItems[10] = new Array("subkeys","","<center>small things</center>","http://honeymoonmarriage.com/smallthings.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");
//MenuItems[11] = new Array("subkeys","","<center>spirituality</center>","http://honeymoonmarriage.com/spirituality.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");
//MenuItems[12] = new Array("subkeys","","<center>success story</center>","http://honeymoonmarriage.com/success_story.html","","","","-1","-1","","","","","#660066","#666699","#ffffff","#ffffff");

// Standard browser check .... leave this and do not modify ... it is used throughout the script ....
// I advise building additional variables rather than trying to modify the existing ones.

var BV=parseFloat(navigator.appVersion.indexOf("MSIE")>0?navigator.appVersion.split(";")[1].substr(6):navigator.appVersion);
var BN=navigator.appName;
var VER=navigator.appVersion;
var DOM=document.getElementById?true:false;
var IsWin=(navigator.userAgent.indexOf('Win')!=-1);
var IE55=(VER.indexOf("MSIE 5.5"))>-1 && DOM?true:false;
var IsMac=(navigator.userAgent.indexOf('Mac')!=-1);
var OP=(navigator.userAgent.indexOf('Opera')!=-1&&BV>=4)?true:false;
var NS=(BN.indexOf('Netscape')!=-1&&(BV>=4&&BV<5)&&!OP)?true:false;
var SM=(BN.indexOf('Netscape')!=-1&&(BV>=5)||OP)?true:false;
var IE=(BN.indexOf('Explorer')!=-1&&(BV>=4)||SM)?true:false;
// 5.1 changes begin here......
if(BV>=4){
	if(functionMODE=="offline") var directory = functionPath_offline; else var directory = functionPath_online;
	document.write("<script src=\""+directory+"intersect.js\" language=\"JavaScript\" type=\"text/javascript\"></script>");
} else {
    /*  Edit the value of this msg variable to say what you would like to tell people
        who are using a browser that is not compatible with this menu. */
    var msg = "The browser you are using is not compatible with the pop up menu system used on this page. It is recommended that you use at minimum Internet Explorer v4.0 or Netscape Navigator v4.0 to navigate this website. Please use the links in the footer of this page to navigate our site.";
    alert(msg);
}





