//------------------------------------------- Slide-Show Music -------------------------------------------
// When changing music make sure any song set to auto-start w/ qStr "audio=2" references the correct song

Audio = new Array(

[ "Earl_Klugh_Morning_In_Rio.mp3", "Earl Klugh <> Morning In Rio" ],
[ "Earl_Klugh_Living_Inside_Your_Love.mp3", "Earl Klugh <> Living Inside Your Love" ],
[ "Earl_Klugh_Heart_String.mp3", "Earl Klugh <> Heart String" ],
[ "George_Benson_Breezin.mp3", "George Benson <> Breezin" ],
[ "James_Taylor_Her_Town_Too.mp3", "James Taylor <> Her Town Too" ],
[ "James_Taylor_Secret_O_Life.mp3", "James Taylor <> Secret O&rsquo; Life" ],
[ "Boz_Scaggs_Harbor_Lights.mp3", "Boz Scaggs <> Harbor Lights" ],
[ "Nothing_But_A_Miracle.mp3", "Diane Birch <> Nothing But A Miracle" ],
[ "Fools.mp3", "Diane Birch <> Fools" ],
[ "Gladys_Knight_Midnight_Train_To_Georgia.mp3", "Gladys Knight <> Midnight Train" ],
[ "Bojangles.mp3", "Nina Simone <> Mr Bojangles" ],
[ "ForADancer_JacksonBrowne.mp3", "Jackson Browne <> For A Dancer" ],

null );

//------------------------------------------- Definitions -------------------------------------------

asDef = [ "ActionScript", "ActionScript is a programming language used for the development of flash websites and software. It is capable of adding intelligence, depth, and a wide array of sophisticated capabilities & interactivity to flash movies. For maximum power, I code in version 3.0 - the latest version of the language.<div>&#149; <a href='http://en.wikipedia.org/wiki/Action_Script'>Learn More</a></div>" ];

cSharpDef = [ "C#", "C# is an industrial-strength programming language that executes on the server. It is the next generation high-performance web programming language and ideal for jobs of any size. I use it for:" +
"<ol type='1'>" +
  "<li>Driving \"back-end\" data-base driven content from XML data bases</li>" +
  "<li>Owner Administrative functions like editing web content & web data-bases</li>" +
  "<li>Web forms & e-commerce checkout form processing</li>" +
  "<li>User log-ins</li>" +
"</ol>" +
"<div>&#149; <a href='http://en.wikipedia.org/wiki/C_Sharp_%28programming_language%29'>Learn More</a></div>" ];

ajaxDef = [ "AJAX", "Ajax, shorthand for <b>A</b>synchronous <b>J</b>avaScript <b>A</b>nd <b>X</b>ML, is a web development technique for creating interactive web applications. It makes web pages more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web page does not have to be reloaded each time the user makes a change. This increases the web page's interactivity, speed, and usability." +
"<div>&#149; <a href='http://en.wikipedia.org/wiki/Ajax_%28programming%29'>Learn More</a></div>" ];

cssDef = [ "Cascading Style Sheets", "<b>C</b>ascading <b>S</b>tyle <b>S</b>heets or \"CSS\" is a technology that allows for precision type control over the appearance of a web site. The \"formatting instructions\" are placed in one CSS file. Any change to this file will immediately reflect across all pages on the site, no matter how big your site may be! Additionally, new pages that are added to your site can easily \"inherit\" the style of the site by referencing the CSS file." +
"<div>&#149; <a href='http://en.wikipedia.org/wiki/Cascading_Style_Sheets'>Learn More</a></div>" ];

dHTMLDef = [ "D-HTML", "<b>D</b>ynamic <b>H</b>yper <b>T</b>ext <b>M</b>arkup <b>L</b>anguage or \"programmatically driven HTML\" provides for rich & highly interactive web sites. In lay terms, you might say it is HTML on steroids! D-HTML allows for a web page to be changed on the fly after it has loaded without the overhead of subsequent server reloads. Sites using D-HTML will feel \"snappy & software like\" as they are able to immediately respond to user interaction. In fact, this pop-up window uses D-HTML." +
"<div>&#149; <a href='http://en.wikipedia.org/wiki/DHTML'>Learn More</a></div>" ];

HTMLDef = [ "HTML", "<b>H</b>yper <b>T</b>ext <b>M</b>arkup <b>L</b>anguage is a platform-independent \"formatting\" language used to create \"static\" web sites. HTML creates the backbone of all web sites and is one of the oldest, most seasoned web technologies in use today." +
"<div>&#149; <a href='http://en.wikipedia.org/wiki/HTML'>Learn More</a></div>" ];

jsDef = [ "JavaScript", "JavaScript is a internet computer programming language capable of adding intelligence, depth, and a wide array of sophisticated capabilities & interactivity to web sites. It executes on the client's browser and provides for \"snappy, software like interactivity\". It can turn a static (HTML only) page in a dynamic highly interactive one. In fact, this pop-up window uses JavaScript." +
"<div>&#149; <a href='http://en.wikipedia.org/wiki/Javascript'>Learn More</a></div>" ];

jsonDef = [ "JSON <> JavaScript Object Notation", "JSON, short for JavaScript Object Notation, is a text-based, human-readable format for representing data structures and associative arrays (called objects). The JSON format is used for transmitting structured data over the internet in a process called serialization. Its main application is in Ajax web application programming, where it serves as an alternative to the use of the XML format.<div>&#149; <a href='http://en.wikipedia.org/wiki/Json'>Learn More</a></div>" ];

vbsDef = [ "Visual Basic Script", "Visual Basic Script (VBS) is a Microsoft creation and a sub-set of their popular Visual Basic language. It excels at performing repetitive automation tasks of all types like: Automatic data-base updates from incoming web form-mails, automatic publication of booking/appointment calendars (or any type of data) to the web. If you continually find yourself performing a repetitive computer task, and think to yourself that \"there must be someway to automate this\", then it's likely a VBS automation program may be the answer!" +
"<div>&#149; <a href='http://en.wikipedia.org/wiki/VBScript'>Learn More</a></div>" ];

xmlDef = [ "XML", "The e<b>X</b>tensible <b>M</b>arkup <b>L</b>anguage is an industry-standard data-base language which is simultaneously human & machine readable. Its primary purpose is to facilitate the sharing of structured data across the Internet. Because it is an open standard, data stored in XML is easily shared between between divergent data-bases, operating systems & across remote networks." +
"<div>&#149; <a href='http://en.wikipedia.org/wiki/Xml'>Learn More</a></div>" ];

//----------------------------------------- DW Site Maps ---------------------------------------------

Htm = new Array();
Htm.push( "<ol>" );
  Htm.push( "<li><a href='default.aspx' onMouseover='title=Msg.Homepage;'>Home</a></li>" );
  Htm.push( "<li style='color:rgb(0,0,0);'>Portfolio:</li>" );
  Htm.push( "<ol class='lower-alpha' style='margin-top:0px;'>" );
    Htm.push( "<li class='nested'><a href='web-sites.aspx' onMouseover='title=Msg.WebSites;'>Web Sites</a></li>" );
    Htm.push( "<li class='nested' style='color:rgb(0,0,0);'>" );
      Htm.push( "View Photos:" );
      Htm.push( "<ul class='circle' style='margin-top:0px;'>" );
        Htm.push( "<li class='nested'><a href='thumbnails.aspx?db=images.js' onMouseover='title=Msg.TN;'>Thumbnails</a></li>" );

        Htm.push( "<li class='nested'><a href='javascript:void(0);' onMouseover='title=Msg.SS;' onClick='Menu.clearAll(); DW.removeWin(); return launchSS( \"images.js\", this );'>Slide-Show</a></li>" );

        Htm.push( "<li class='nested'><a href='javascript:void(0);' onMouseover='title=Msg.SS_Music;' onClick='Menu.clearAll(); DW.removeWin(); return launchSS( \"images.js\", this, 2 );'>Slide-Show &#9835;</a></li>" );

        Htm.push( "<li class='nested'><a href='slide-show.aspx' onMouseover='title=Msg.SSE;'>Embedded Slide-Show</a></li>" );

      Htm.push( "</ul>" );
    Htm.push( "</li>" );
    Htm.push( "<li class='nested'><a href='web-applications.aspx' onMouseover='title=Msg.WebApps;'>Web Applications</a></li>" );
    Htm.push( "<li class='nested'><a href='web-site-demo.aspx' onMouseover='title=Msg.CMS;'>Site Management</a></li>" );
    Htm.push( "<li class='nested'><a href='calendar.aspx' onMouseover='title=Msg.Cal;'>Booking Calendar</a></li>" );
  Htm.push( "</ol>" );
  Htm.push( "<li><a href='about-david.aspx' onMouseover='title=Msg.About;'>About David</a></li>" );
  Htm.push( "<li><a href='faq.aspx' onMouseover='title=Msg.FAQ;'>Frequently Asked Questions</a></li>" );
  Htm.push( "<li><a href='estimate.aspx' onMouseover='title=Msg.Estimate;'>Get a Quote</a></li>" );
  Htm.push( "<li style='color:rgb(0,0,0);'>Contact:</li>" );
  Htm.push( "<ol class='lower-alpha' style='margin-top:0px;'>" );
    Htm.push( "<li class='nested'><a href='inquire.aspx' onMouseover='title=Msg.Contact;'>Submit an Inquiry</a></li>" );
    Htm.push( "<li class='nested'><a href='javascript:void(0);' onClick='return businessCard();' onMouseover='title=Msg.BusCard;'>E-Mail & Phone</a></li>" );
  Htm.push( "</ol>" );
Htm.push( "</ol>" );
siteMap_DW = [ "Site Map", Htm.join( "" ) ];



//------------------------------------------- Menus -------------------------------------------

Menus = new Array();

// Menu: Menu_Contact ///////////////////////////
Menus.push( "<table class='menu' id='Menu_Contact' onMouseOver='Menu.keepAlive([\"Menu_Contact\"]);' onMouseOut='Menu.hide([\"Menu_Contact\"]);'>" );

// E-Mail & Phone
Menus.push( "<tr><td class='menu'><a href='inquire.aspx' class='menu'>Submit an Inquiry</a></td></tr>" );

// Inquire
Menus.push( "<tr><td class='menu'><a href='javascript:void(0);' onClick='Menu.clearAll(); return businessCard();' class='menu'>E-Mail & Phone</a></td></tr>" );

Menus.push( "</table>" );


// Menu: Menu_Portfolio ///////////////////////////
Menus.push( "<table class='menu' id='Menu_Portfolio' onMouseOver='Menu.keepAlive([\"Menu_Portfolio\"]);' onMouseOut='Menu.hide([\"Menu_Portfolio\"]);'>" );

// Web Sites
Menus.push( "<tr><td class='menu'><a href='web-sites.aspx' class='menu'>Web Sites</a></td></tr>" );

// View Photos
Menus.push( "<tr><td class='menu'><a href='javascript:void(0);' onMouseOver='Menu.show(this,\"Menu_Sub_Photos\",null,event,-2,2);' onMouseOut='Menu.hide([\"Menu_Sub_Photos\"]);' onClick='Menu.clearAll(); return launchSS( \"images.js\", this );' class='menu'><table><tr><td class='menuArrowLabel'>View Photos</td><td class='menuArrow' style='padding:0px 0px 0px 20px;'>\u25BA</td></tr></table></a></td></tr>" );

// Web Applications
Menus.push( "<tr><td class='menu'><a href='web-applications.aspx' class='menu'>Web Applications</a></td></tr>" );

// Site Management
Menus.push( "<tr><td class='menu'><a href='web-site-demo.aspx' class='menu'>Site Management</a></td></tr>" );

// Booking Calendar
Menus.push( "<tr><td class='menu'><a href='calendar.aspx' class='menu'>Booking Calendar</a></td></tr>" );

Menus.push( "</table>" );


// Menu: Menu_Sub_Photos ///////////////////////////
Menus.push( "<table class='menu' id='Menu_Sub_Photos' onMouseOver='Menu.keepAlive([\"Menu_Portfolio\",\"Menu_Sub_Photos\"]);' onMouseOut='Menu.hide([\"Menu_Sub_Photos\",\"Menu_Portfolio\"]);'>" );

// Slide-Show
Menus.push( "<tr><td class='menu'><a href='javascript:void(0);' onClick='Menu.clearAll(); return launchSS( \"images.js\", this );' class='menu'>Slide-Show</a></td></tr>" );

// Slide-Show Music
Menus.push( "<tr><td class='menu'><a href='javascript:void(0);' onClick='Menu.clearAll(); return launchSS( \"images.js\", this, 2 );' class='menu'>Slide-Show &#9835;</a></td></tr>" );

// Thumbnails
Menus.push( "<tr><td class='menu'><a href='thumbnails.aspx?db=images.js' class='menu'>Thumbnails</a></td></tr>" );

Menus.push( "</table>" );


// Menu: Menu_Admin_Data ///////////////////////////
Menus.push( "<table class='menu' id='Menu_Admin_Data' onMouseOver='Menu.keepAlive([\"Menu_Admin_Data\"]);' onMouseOut='Menu.hide([\"Menu_Admin_Data\"]);'>" );

// Slide-Show
Menus.push( "<tr><td class='menu'><a href='slide-show-editor.aspx?db=images.js' class='menu'>Edit Slide-Show</a></td></tr>" );

// JavaScript Data
Menus.push( "<tr><td class='menu'><a href='data.aspx' class='menu'>JavaScript Data</a></td></tr>" );

// Contact & Admin Data
Menus.push( "<tr id='XmlMenuItem'><td class='menu'><a href='xml.aspx' class='menu'>Contact & Admin Data</a></td></tr>" );

// Page Header
Menus.push( "<tr><td class='menu'><a href='header.aspx' class='menu'>Page Header</a></td></tr>" );

// Page Footer
Menus.push( "<tr><td class='menu'><a href='footer.aspx' class='menu'>Page Footer</a></td></tr>" );

// Contact Form
Menus.push( "<tr><td class='menu'><a href='inquire.admin.aspx' class='menu'>Contact Form</a></td></tr>" );

// Upload Images
Menus.push( "<tr><td class='menu'><a href='javascript:Popup.openWin( \"uploader.aspx\", 2 );' class='menu'>Upload Images</a></td></tr>" );

// Logoff
Menus.push( "<tr><td class='menu'><a href='javascript:logOff();' class='menu'>Logoff</a></td></tr>" );

Menus.push( "</table>" );



// Menu: Menu_Cal_Clients ///////////////////////////
Menus.push( "<table id='Menu_Cal_Clients' onMouseOver='Menu.keepAlive([\"Menu_Cal_Clients\"]);' onMouseOut='Menu.hide([\"Menu_Cal_Clients\"]);' class='menu'>" );

// Maui
Menus.push( "<tr><td class='menu'><a href='javascript:void(0)' onMouseOver='Menu.show(this,\"Menu_Sub_Cal_Maui\",23,event,-5,2);' onMouseOut='Menu.hide([\"Menu_Sub_Cal_Maui\"]);' id='Cal_Maui' class='menu'><table><tr><td class='menuArrowLabel' style='width:45px;'>Maui</td><td class='menuArrow'>\u25BA</td></tr></table></a></td></tr>" );

// Kauai
Menus.push( "<tr><td class='menu'><a href='javascript:void(0)' onMouseOver='Menu.show(this,\"Menu_Sub_Cal_Kauai\",23,event,-5,2);' onMouseOut='Menu.hide([\"Menu_Sub_Cal_Kauai\"]);' id='Cal_Kauai' class='menu'><table><tr><td class='menuArrowLabel' style='width:45px;'>Kauai</td><td class='menuArrow'>\u25BA</td></tr></table></a></td></tr>" );

Menus.push( "</table>" );


// Menu: Menu_Sub_Cal_Kauai ///////////////////////////
Menus.push( "<table id='Menu_Sub_Cal_Kauai' onMouseOver='Menu.keepAlive([\"Menu_Cal_Clients\",\"Menu_Sub_Cal_Kauai\"]);' onMouseOut='Menu.hide([\"Menu_Sub_Cal_Kauai\",\"Menu_Cal_Clients\"]);' class='menu'>" );

//Menus.push( "<tr><td class='menu'><a href='http://www.kauaivacationrentals-7.com/calendar.aspx' class='menu'>Mikino Mahi</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.kauai-vacation-rental.info/calendar.aspx' class='menu'>King Hale</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.kauaivacationrentals-5.com/vacationhome/calendar.aspx' class='menu'>The Anini House</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.kauaivacationhouses.com/calendar.aspx' class='menu'>Makua Kai</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.kauaivacationrentals-6.com/pueone/calendar.aspx' class='menu'>Pu&rsquo;eone</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.kauaivacationrentals-4.com/vacationhouse/calendar.aspx' class='menu'>Haena Beach Hale</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.kauaivacationrentals-2.com/haena/calendar.aspx' class='menu'>Banana Beach House</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.kauaivacationrentals-3.com/rental/calendar.aspx' class='menu'>Hale Yangkey</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.kauaivacationrentals-1.com/kauai/calendar.aspx' class='menu'>Hanalei Bay House</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.tunnelsbeach.com/calendar.aspx' class='menu'>Makana Akua</a></td></tr>" );

Menus.push( "</table>" );


// Menu: Menu_Sub_Cal_Maui ///////////////////////////
Menus.push( "<table id='Menu_Sub_Cal_Maui' onMouseOver='Menu.keepAlive([\"Menu_Cal_Clients\",\"Menu_Sub_Cal_Maui\"]);' onMouseOut='Menu.hide([\"Menu_Sub_Cal_Maui\",\"Menu_Cal_Clients\"]);' class='menu'>" );

Menus.push( "<tr><td class='menu'><a href='http://www.mauiparadisehale.com/calendar.aspx' class='menu'>Maui Paradise Hale</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.babybeachhouse.com/mala/calendar.aspx' class='menu'>Baby Beach House</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.dreambeachmaui.com/calendar.aspx' class='menu'>Dolphin's Point Maui</a></td></tr>" );

Menus.push( "<tr><td class='menu'><a href='http://www.mahaoluatbabybeach.com/maui/calendar.aspx' class='menu'>Maha Olu At Baby Beach</a></td></tr>" );

Menus.push( "</table>" );