
<!-- Beginning of JavaScript -

// CREDITS:
// Hierarchical Menu 3.0: VERSION WITH IMAGE-BUTTONS by Urs Dudli and Peter Gehrig 
// Copyright (c) 1999 Peter Gehrig and Urs Dudli. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.24fun.ch.
// info@24fun.ch
// 1/25/2000

// IMPORTANT: 
// If you add this script to a script-library or script-archive 
// you have to add a link to http://www.24fun.ch on the webpage 
// where this script Script will be running.

//  **********************************************************************************

// INSTRUCTIONS: 
// Configure the menublocks below.
// You can add as many menublocks as you need.
//
// ATTENTION: When you configure the menublocks take care that you
// set the ";" and the "+" as seen below.

//  **********************************************************************************
var menublock=new Array()                       // no need to change this
var plus_i=0                                            // no need to change this
var mouseoverimage= new Array()
menublock[0]="../../images/c1.gif;"+       // filename first button-image
                         "../../images/chapone2.gif;"+  // filename rollover-image of first button-image
                         ";"+                                   // do not change this
                         ";"+                                   // do not change this
                         "Times;"+                              // font sublinks
                         "2;"+                                  // fontsize sublinks
                         "CC3300;"+                             // fontcolor sublinks
                         "1;"+                                  // fontweight sublinks, 1 means bold, 0 means normal
                         "menublock 1|#|;"+                     // text|URL|target of mainlink
            "~ What is a business plan ?|Lesson2_Page1.html|;"+               // text|URL|target of first sublink
            "~ Uses of a business plan|Lesson2_Page2.html|;"+              // text|URL|target of second sublink 
			"~ Steps in preparing a business plan|Lesson2_Page3.html|;"+              // text|URL|target of second sublink         
            "~ Vision/ Mission statement|Lesson2_Page4.html|;"+           // text|URL|target of first sublink
            "~ Executive Summary|Lesson2_Page5.html|;"+
            ": Company Name|Lesson2_Page6.html|;"+        
            ": Type of Business|Lesson2_Page7.html|;"+
			": Mission statement|Lesson2_Page8.html|;"+
			": Company description|Lesson2_Page9.html|;"+
			": Key personel|Lesson2_Page10.html|;"+
			": Start-up schedule|Lesson2_Page11.html|;"+
			": Type of market analysis|Lesson2_Page12.html|;"+
			": Type of funds needed or requested|Lesson2_Page13.html|;"+
			": Type of fund use statement|Lesson2_Page14.html|;"+	
            ": Fund Repayment Schedule|Lesson2_Page15.html|;" 
menublock[1]="../../images/c2.gif;"+               // filename second button-image
                         "../../images/chaptwo2.gif;"+                  // filename rollover-image of  second button-image
                         ";"+                                   // do not change this
                         ";"+                                   // do not change this
                         "Times;"+                              // font sublinks
                         "2;"+                                  // fontsize sublinks
                         "CC3300;"+                             // fontcolor sublinks
                         "1;"+                                  // fontweight sublinks, 1 means bold, 0 means
                         "menublock 2|#|;"+                         // text and URL of first mainlink
                         "~ Marketing|Lesson2_page16.html|;"+  // text|URL|target of mainlink
                         ": Business description|Lesson2_page17.html|;"+     // text|URL|target of first sublink
                         ": Major marketing objectives and goals|Lesson2_page18.html|;"+        // text|URL|target of second sublink 
                         ": Product(s)/Service(s)|Lesson2_page19.html|;"+     // text|URL|target of thirth sublink 
                         ": Target market|Lesson2_page20.html|;"+        // text|URL|target of thirth sublink 
                         ": Place of business|Lesson2_page21.html|;"+    // text|URL|target of thirth sublink
                         ": Price information|Lesson2_page22.html|;"+    // text|URL|target of thirth sublink
                         ": Promotion|Lesson2_page23.html|;"+    // text|URL|target of thirth sublink
                         ": Competition|Lesson2_page24.html|;"+    // text|URL|target of thirth sublink
                         ": Grand opening checklist|Lesson2_page25.html|;"        // text|URL|target of fourth sublink 
menublock[2]="../../images/c3.gif;"+             // filename second button-image
                         "../../images/chapthree2.gif;"+                        // filename rollover-image of  second button-image
                         ";"+                                   // do not change this
                         ";"+                                   // do not change this
                         "Times;"+                              // font sublinks
                         "2;"+                                  // fontsize sublinks
                         "CC3300;"+                             // fontcolor sublinks
                         "1;"+                                  // fontweight sublinks, 1 means bold, 0 means
                         "menublock 3|#|;"+                         // text and URL of first mainlink
                         "~ Management|Lesson2_page26.html|;"+      // text|URL|target of mainlink
                         ": Goals and objectives|Lesson2_page27.html|;"+    // text|URL|target of first sublink
                         ": Management personnel|Lesson2_page28.html|;"+      // text|URL|target of second sublink 
                         ": Organizational structure|Lesson2_page29.html|;"+        // text|URL|target of thirth sublink 
                         ": Human resource management|Lesson2_page30.html|;"+   // text|URL|target of thirth sublink 
                         ": Policies|Lesson2_page31.html|;"+   // text|URL|target of thirth sublink 
                         ": Insurance|Lesson2_page32.html|;"+   // text|URL|target of thirth sublink                          
                         ": Legal issues|Lesson2_page33.html|;"     // text|URL|target of thirth sublink 
                         
menublock[3]="../../images/c4.gif;"+      // filename fourth button-image
                         "../../images/chapfour2.gif;"+ // filename rollover-image of fourth button-image
                         ";"+                                   // do not change this
                         ";"+                                   // do not change this
                         "Times;"+                              // font sublinks
                         "2;"+                                  // fontsize sublinks
                         "CC3300;"+                             // fontcolor sublinks
                         "1;"+                                  // fontweight sublinks, 1 means bold, 0 means
                         "menublock 3|#|;"+                         // text and URL of mainlink
                         "~ Quality insurance|Lesson2_page34.html|;"+              // text and URL of first sublink
                         ": Employees policies to promote quality|Lesson2_page34.html|;"+              // text and URL of second sublink
                         ": Operations policies to promote quality|Lesson2_page35.html|;"+            // text and URL of first sublink
                         ": Customer policies|Lesson2_page36.html|;" // text and URL of first sublink

menublock[4]="../../images/c5.gif;"+      // filename fourth button-image
                         "../../images/chapfive2.gif;"+ // filename rollover-image of fourth button-image
                         ";"+                                   // do not change this
                         ";"+                                   // do not change this
                         "Times;"+                              // font sublinks
                         "2;"+                                  // fontsize sublinks
                         "CC3300;"+                             // fontcolor sublinks
                         "1;"+                                  // fontweight sublinks, 1 means bold, 0 means
                         "menublock 3|#|;"+                         // text and URL of mainlink
                         "~ Financial information|Lesson2_page37.html|;"+              // text and URL of first sublink
                         ": Turn-Key cost/Start-Up cost|Lesson2_page37.html|;"+              // text and URL of second sublink
                         ": Equity, liabilities, and collateral|Lesson2_page37.html|;"+      // text and URL of first sublink
                         ": Projected cash flow|Lesson2_page37.html|;"+             // text and URL of first sublink
                         ": Pro Forma income statements|Lesson2_page37.html|;"+           // text and URL of first sublink
                         ": Pro Forma balance sheets|Lesson2_page38.html|;"     +   // text and URL of thirth sublink   
						 ": Break-Even analysis|Lesson2_page38.html|;"+             // text and URL of first sublink
						 ": Ratio analysis|Lesson2_page38.html|;"+             // text and URL of first sublink
						 ": Accounting and book keeping methods|Lesson2_page39.html|;"+            // text and URL of first sublink
						 ": Taxation|Lesson2_page40.html|;" // text and URL of first sublink

menublock[5]="../../images/App.gif;"+      // filename fourth button-image
                        "../../images/Appendix2.gif;"+ // filename rollover-image of fourth button-image
                         ";"+                                   // do not change this
                         ";"+                                   // do not change this
                         "Times;"+                              // font sublinks
                         "2;"+                                  // fontsize sublinks
                         "CC3300;"+                             // fontcolor sublinks
                         "1;"+                                  // fontweight sublinks, 1 means bold, 0 means
                         "menublock 3|#|;"+                         // text and URL of mainlink
                         "~ Appendcies|Lesson2_page41.html|;" // text and URL of first sublink


// No need to change anything below      
//  **********************************************************************************
         
var menusplit
var urlsplit
var font_weight_sub
var font_weight_sub

var minusimg=new Image()
minusimg.src="../../images/down.gif"

var plusimg=new Image()
plusimg.src="../../images/up.gif"
                         
var showsubmenus=new Array()
for (i=0;i<=menublock.length-1;i++) {
        showsubmenus[i]=-1
}

var plusminusimg=new Array()
for (i=0;i<=menublock.length-1;i++) {
        plusminusimg[i]=plusimg.src
}

for (i=0;i<=menublock.length-1;i++) {
        menusplit=menublock[i].split(";")
        mouseoverimage[i] = new Image()
        mouseoverimage[i].src = menusplit[1]
}

function mouseOver(imgurl,imgname) {
        if (document.layers) {
                var thisimg=eval("document.menu.document.img"+imgname)
                thisimg.src=imgurl
        }
        if (document.all) {
                var thisimg=eval("img"+imgname)
                thisimg.src=imgurl
        }
}

function mouseOut(imgurl,imgname) {
        if (document.layers) {
                var thisimg=eval("document.menu.document.img"+imgname)
                thisimg.src=imgurl
        }
        if (document.all) {
                var thisimg=eval("img"+imgname)
                thisimg.src=imgurl
        }
}

function expandTheMenu(visi) {
        showsubmenus[visi]=(-1)*showsubmenus[visi]
    var menucontent=""
    if (showsubmenus[visi]==1) {plusminusimg[visi]=minusimg.src}
    if (showsubmenus[visi]==-1) {plusminusimg[visi]=plusimg.src}
    menucontent+="<table border=0 cellpadding=0 cellspacing=0>"
        for (i=0;i<=menublock.length-1;i++) {
                menusplit=menublock[i].split(";")
                urlsplit=menusplit[8].split("|")
                if (menusplit[7]==1) {font_weight_sub="<b>"}
                if (menusplit[7]==0) {font_weight_sub=""} 
                menucontent+="<tr><td>"

        
       if (menusplit[9].length==0) {
            menucontent+="</td>"
            menucontent+="<td>"
            menucontent+="<a href="+urlsplit[1]+" target="+urlsplit[2]+" onMouseOver='mouseOver(\""+menusplit[1]+"\",\""+i+"\")' onMouseOut='mouseOut(\""+menusplit[0]+"\",\""+i+"\")'>"
                        
                        var imgn = "img"+i
            menucontent+="<img name="+imgn+" src="+menusplit[0]+" border=0>"
            menucontent+="</td></tr>"
            plus_i++ 
        }
        
        if (menusplit[9].length!=0) {
            var thismainmenu=i+plus_i
            menucontent+="<a href='javascript:expandTheMenu("+i+")'>"
                        var imgn = "img"+i
            menucontent+="<img src='"+plusminusimg[i]+"' border=0></a></td>"
            menucontent+="<td>"
            menucontent+="<a href='javascript:expandTheMenu("+i+")' onMouseOver='mouseOver(\""+menusplit[1]+"\",\""+i+"\")' onMouseOut='mouseOut(\""+menusplit[0]+"\",\""+i+"\")'>"
            menucontent+="<img name="+imgn+" src="+menusplit[0]+" border=0>"
            menucontent+="</a></td></tr>"
   
                    if (showsubmenus[i]==1) {
                            for (ii=9;ii<=menusplit.length-1;ii++) {
                                    urlsplit=menusplit[ii].split("|")
                    menucontent+="<tr><td></td><td align=left>"
                            menucontent+=font_weight_sub
                    menucontent+="<a href="+urlsplit[1]+" target="+urlsplit[2]+">"
                    menucontent+="<font face="+menusplit[4]+" color="+menusplit[6]+" size="+menusplit[5]+">"
                    menucontent+=urlsplit[0]
                    menucontent+="</font></a>  </td></tr>"
                            }
                    }
        }    
        }
    menucontent+="</table>"
        if (document.all) {
                menu.innerHTML=menucontent
        }
        if (document.layers) {
                document.menu.document.write(menucontent)
                document.menu.document.close()
        }
}



