
// ------------ BEGIN USER ADAPTATIONS ------------- //
//                                                   //
//          Create a Virtual PATH (vRoot)            //
//      to prefix folder and file references         //
//                                                   //
// ------------------------------------------------- //

// These are root locations where the web may be installed:

var vRoot = "http://www.dancingokra.com/";     // DEFAULT ROOT - set to Internet location of web
var vFolder = "LaceysWeb/";                    // set to local folder where web is located
var vLServer = "localhost/Lacey/";             // set alias 'Lacey' to correct alias for local server
var vIP = "http://209.151.88.7/~sfb2718/";     // set to hardcoded IP address when Domain in state of transfer

var lhref = document.location.href;            // this is the reported document location
var web = lhref.indexOf(vRoot);                // -1 if not the Internet

if (web == -1) {                               // do following if not Internet
    var web2 = lhref.indexOf(vIP);             // -1 if not special IP address.
    if (web2 >= 0) {                           // do if IP address
       vRoot = vIP;
     } else {                                         // either localserver or disk file
       var localserver = lhref.indexOf(vLServer);     // -1 if not localserver
       if (localserver >= 0) {
         vRoot = lhref.substring(0,localserver + vLServer.length);  // construct local server root
       } else {                                        // must be disk file
         vRoot = lhref.substring(0,lhref.indexOf(vFolder) + vFolder.length);  // construct disk file root
       }
     }
  }

// ------------ END USER ADAPTATIONS ------------- //

_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="#4F8EB6";
oncolor="#ffffff";
offbgcolor="#DCE9F0";
offcolor="#515151";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}

 var vArrow = vRoot + "menu/arrow.gif";
 var vArrowdn = vRoot + "menu/arrowdn.gif";


    with(menuStyle=new mm_style()){
    onbgcolor="#4F8EB6";
    oncolor="#ffffff";
    offbgcolor="#DCE9F0";
    offcolor="#515151";
    bordercolor="#296488";
    borderstyle="solid";
    borderwidth=1;
    separatorcolor="#2D729D";
    separatorsize="1";
    padding=5;
    fontsize="75%";
    fontstyle="normal";
    fontfamily="Verdana, Tahoma, Arial";
    pagecolor="black";
    pagebgcolor="#82B6D7";
    headercolor="#000000";
    headerbgcolor="#ffffff";
    subimage=vArrow;
    subimagepadding="2";
    overfilter="Fade(duration=0.1);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
    outfilter="randomdissolve(duration=0.3)";
    }

    with(menuStyleTop=new mm_style()){
    onbgcolor="#4F8EB6";
    oncolor="#ffffff";
    offbgcolor="#DCE9F0";
    offcolor="#515151";
    bordercolor="#296488";
    borderstyle="solid";
    borderwidth=1;
    separatorcolor="#2D729D";
    separatorsize="1";
    padding=5;
    fontsize="75%";
    fontstyle="normal";
    fontfamily="Verdana, Tahoma, Arial";
    pagecolor="black";
    pagebgcolor="#82B6D7";
    headercolor="#000000";
    headerbgcolor="#ffffff";
    subimage=vArrowdn;
    subimagepadding="2";
    overfilter="Fade(duration=0.1);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
    outfilter="randomdissolve(duration=0.3)";
    }

var vHome 	= vRoot + "index.htm";
var vLinks_art 	= vRoot + "Links_art.htm";
var vLinks_astro = vRoot + "Links_astronomy.htm";
var vLinks_soft = vRoot + "Links_software.htm";
var vContact = "Javascript:WriteToMe();";
var vContact2 = "Javascript:WriteToKerry();";
var vContact3 = "Javascript:WriteToCandice();";
var vContact4 = "Javascript:WriteToNancy();";
var vBio		= vRoot + "Bio.htm";
var vBiennale = vRoot + "Firenze.htm";
var vPortrait = vRoot + "portraits/index.htm";
var vPosters = vRoot + "dv.htm";
var vGlenn = vRoot + "GlennKennedy.htm";
var vOkraTonic  = vRoot + "okratonic/index.php";
var vSale = "http://laceystinson.blogspot.com/";
var gEarth 	= vRoot + "Earth_Works/index.htm";
var gLooking 	= vRoot + "Looking_Glass/index.htm";
var gGarden 	= vRoot + "Garden_of_Wonders/index.htm";
var gPaper 	= vRoot + "Works_on_Paper/index.htm";
var gCurrent 	= vRoot + "Current/index.htm";
var gEarly 	= vRoot + "Earlywork/index.htm";
var gPoetics 	= vRoot + "poetics/index.htm";
var gDrawings  = vRoot + "zphoto/index.php?album=artwork";
var sgPaper_d1 = vRoot + "Works_on_Paper/index_page_01_draw.htm";
var sgPaper_d2 = vRoot + "Works_on_Paper/index_page_02_draw.htm";
var sgPaper_d3 = vRoot + "Works_on_Paper/index_page_03_draw.htm";
var sgPaper_e1 = vRoot + "Works_on_Paper/index_page_01_etch.htm";
var sgEarth_garden 		= vRoot + "Earth_Works/index_Gardens.htm";
var sgEarth_homestead 	= vRoot + "Earth_Works/index_Homestead.htm";
var sgEarth_peach 		= vRoot + "Earth_Works/index_Peach.htm";
var sgEarth_bridge 		= vRoot + "Earth_Works/index_Bridges.htm";
var sgEarth_leftover 	= vRoot + "Earth_Works/index_Mysteries.htm";

// ----------- END SPECIAL ADAPTATIONS ----------- //

if (web == -1) {
   with(milonic=new menuname("Main Menu")){
   style=menuStyleTop;
   top=20;
   left=65;
   alwaysvisible=1;
   orientation="horizontal";
   aI("text=Home;url=" + vHome + ";status=Back To Home Page;");
   aI("text=Galleries;showmenu=Galleries;");
   aI("text=Special Features;showmenu=Special;");
   aI("text=Links;showmenu=Links;");
   aI("text=Contact;showmenu=Contact;");
   aI("text=Samples;showmenu=Samples;");
   aI("text=My Milonic;showmenu=My Milonic;");
   }
} else {
   with(milonic=new menuname("Main Menu")){
   style=menuStyleTop;
   top=20;
   left=65;
   alwaysvisible=1;
   orientation="horizontal";
   aI("text=Home;url=" + vHome + ";status=Back To Home Page;");
   aI("text=Galleries;showmenu=Galleries;");
   aI("text=Special Features;showmenu=Special;");
   aI("text=Links;showmenu=Links;");
   aI("text=Contact;showmenu=Contact;");
   }
}


with(milonic=new menuname("Galleries")){
style=menuStyle;
margin=20;
overflow="scroll";
aI("text=Earth and Sky;showmenu=earth;url=" + gEarth + ";status=click for Preview page;");
aI("text=Looking Glass;url=" + gLooking + ";");
aI("text=Works on Paper;showmenu=paper;url=" + gPaper + ";status=click for Preview page;");
aI("text=Garden of Wonders;url=" + gGarden + ";");
aI("text=Landscape Slideshow;url=" + gCurrent + ";");
aI("text=Poetics;url=" + gPoetics + ";");
aI("text=Gallery of Drawings;url=" + gDrawings + ";");

}

with(milonic=new menuname("Special")){
style=menuStyle;
margin=20;
aI("text=Vitae;url=" + vBio +";");
aI("text=OkraTonic Blog;url=" + vOkraTonic + ";");
aI("text=Purchase Small Works;url=" + vSale + ";");
aI("text=Portrait Commissions;url=" + vPortrait + ";");
aI("text=Florence Biennale;url=" + vBiennale + ";status=Biennale Internazionale dell'Arte Contemporanea 2003;");
aI("text=Early Work;url=" + gEarly + ";");
aI("text=Posters;url=" + vPosters + ";");
aI("text=Glenn Kennedy;url=" + vGlenn + ";");

}

with(milonic=new menuname("earth")){
style=menuStyle;
margin=5;
aI("text=Gardens and Plantings;url=" + sgEarth_garden + ";");
aI("text=Homestead;url=" + sgEarth_homestead + ";");
aI("text=Peach and Plum Orchards;url=" + sgEarth_peach + ";");
aI("text=Bridges and Rivers;url=" + sgEarth_bridge + ";");
aI("text=Leftovers;url=" + sgEarth_leftover + ";");
}

with(milonic=new menuname("paper")){
style=menuStyle;
margin=5;
aI("text=Drawings 1;url=" + sgPaper_d1 + ";");
aI("text=Drawings 2;url=" + sgPaper_d2 + ";");
aI("text=Drawings 3;url=" + sgPaper_d3 + ";");
aI("text=Etchings;url=" + sgPaper_e1 + ";");
}

with(milonic=new menuname("Links")){
style=menuStyle;
margin=20;
aI("text=Sarah Albritton;url=http://www.sarahalbritton.com;");
aI("text=Art;url=" + vLinks_art + ";");
aI("text=Astronomy/Science;url=" + vLinks_astro + ";");
aI("text=Software;url=" + vLinks_soft + ";");
}

with(milonic=new menuname("Contact")){
style=menuStyle;
margin=20;
aI("text=Lacey Stinson;url=" + vContact + ";status=email the painter;");
aI("text=my Louisiana Agent;url=" + vContact2 + ";status=email Lacey's Louisiana Agent, Kerry Easley;");
aI("text=my Los Angeles Agent;url=" + vContact3 + ";status=email Lacey's Los Angeles Agent, Candice Vance;");
aI("text=my Nashville Agent;url=" + vContact4 + ";status=email Lacey's Nashville Agent, Nancy Puetz;");
aI("text=Mailing Addresses;url=" + vBio +";");
}

with(milonic=new menuname("Samples")){
style=menuStyle;
overflow="scroll";
aI("text=Horizontal Navigational Menu;url=menusample.php?sampleid=1;");
aI("text=Vertical Navigational Menu;url=menusample.php?sampleid=2;");
aI("text=All Horizontal Menus;url=menusample.php?sampleid=25;");
aI("text=Using the popup function Fixed Position;url=menusample.php?sampleid=3;");
aI("text=Using the popup Positioned by Images;url=menusample.php?sampleid=24;");
aI("text=Image Map Sample;url=menusample.php?sampleid=4;");
aI("text=Multiple Styles;url=menusample.php?sampleid=5;");
aI("text=Menus and Tool Tips;url=menusample.php?sampleid=6;");
aI("text=Multiple Colored Menus;url=menusample.php?sampleid=7;");
aI("text=Menu Items as Headers;url=menusample.php?sampleid=8;");
aI("text=Windows XP Style Menus;url=menusample.php?sampleid=12;");
aI("text=Windows 98 Style Menus;url=menusample.php?sampleid=13;");
aI("text=Relative Positioning (Table Bound);url=menusample.php?sampleid=9;");
aI("text=Follow Scrolling;url=menusample.php?sampleid=10;");
aI("text=Opening Windows & Frames;url=menusample.php?sampleid=11;");
aI("text=Hiding DIVs when displaying menus;url=menusample.php?sampleid=14;");
aI("text=Activating MouseOver & MouseOut Functions;url=menusample.php?sampleid=15;");
aI("text=Dynamic Dragable Menus;url=menusample.php?sampleid=22;");
aI("text=Positioning with screenposition & offsets;url=menusample.php?sampleid=23;");
aI("text=100% Width Span Menu;url=menusample.php?sampleid=26;");
aI("text=Context Right Click Menu;url=menusample.php?sampleid=27;");
aI("text=Static Images Sample;url=menusample.php?sampleid=16;");
aI("text=Rollover/swap Images;url=menusample.php?sampleid=17;");
aI("text=Menus built from images;url=menusample.php?sampleid=18;");
aI("text=Images as Menu Backgrounds;url=menusample.php?sampleid=19;");
aI("text=Background Menu Item Images;url=menusample.php?sampleid=20;");
}


with(milonic=new menuname("My Milonic")){
style=menuStyle;
margin=20;
aI("text=Login;url=http://www.milonic.com/login.php;");
aI("text=Licenses;url=http://www.milonic.com/mylicenses.php;");
aI("text=Invoices;url=http://www.milonic.com/myinvoices.php;");
aI("text=Make Support Request;url=http://www.milonic.com/reqsupport.php;");
aI("text=View Support Requests;url=http://www.milonic.com/mysupport.php;");
aI("text=Your Details;url=http://www.milonic.com/mydetails.php;");
aI("text=Apache Web Server;url=http://www.apache.org/;status=Apache Web Server, the basis of Milonic's Web Site;");
aI("text=MySQL Database Server;url=http://ww.mysql.com/;status=MySQL, Milonic's Prefered Choice of Database Server;");
aI("text=PHP - Development;url=http://www.php.net/;status=PHP - Web Server Scripting as used by Milonic;");
aI("text=phpBB Web Forum System;url=http://www.phpbb.net/;status=PHP Based Web Forum, Milonic's Recommended Forum Software;");
aI("text=Product Purchasing Page;url=http://www.milonic.com/cbuy.php;");
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;");
aI("text=Newsletter Subscription;url=http://www.milonic.com/newsletter.php;");
aI("text=FAQ;url=http://www.milonic.com/menufaq.php;");
aI("text=Discussion Forum;url=http://www.milonic.com/forum/;");
aI("text=Software License Agreement;url=http://www.milonic.com/license.php;");
aI("text=Privacy Policy;url=http://www.milonic.com/privacy.php;");
}

drawMenus();

