﻿MainCanvas.addChild(
  isc.VLayout.create({
    members:[
      isc.Canvas.create({
        width:983,
        height:360,
        children:[          
          isc.ImageRotator.create({
            ID:"ImageRotatorOne",
            height:360,
            width:486,
            imageList: imagesOne
          }),
          isc.Img.create({
            width:11,
            height:360,
            left:486,
            src:"../images/imageDivider.png"
          }),
          isc.ImageRotator.create({
            ID:"ImageRotatorTwo",
            left:497,
            height:360,
            width:486,
            imageList: imagesTwo
          }),
          isc.Img.create({
            width:983,
            height:360,
            src:"../images/homelogo_final.png"
          })          
        ]
      }),
      isc.HLayout.create({
        members:[
          isc.LayoutSpacer.create({
            width:9
          }),
          isc.VLayout.create({
            members:[
              isc.VLayout.create({
                className:"blackBoxLayout",
                width:275,
                members:[                  
                  isc.HTMLFlow.create({
                    className:"blackBoxText",
                    contents:"<strong>Ticket & Schedule Info</strong><br>&nbsp;877-292-8259"
                  }),
                  isc.HTMLFlow.create({
                    className:"blackBoxText",
                    contents:"<strong>Milwaukee Depot</strong><br>&nbsp;414-276-7490"
                  }),
                  isc.HTMLFlow.create({
                    className:"blackBoxText",
                    contents:"<strong>Charters</strong><br>&nbsp;608-310-4500 in Madison<br>&nbsp;414-276-6600 in Milwaukee<br>&nbsp;800-442-8259"
                  }),
                  isc.HTMLFlow.create({
                    className:"blackBoxText",
                    contents:"<strong>Tour Reservations</strong><br>&nbsp;800-416-2049<br>&nbsp;414-266-4400"
                  }),
                  isc.HTMLFlow.create({
                    className:"blackBoxText",
                    contents:"<strong>School Bus</strong><br>&nbsp;608-222-9883"
                  }),
                  isc.HTMLFlow.create({
                    className:"blackBoxText",
                    contents:"<strong>Administration</strong><br>&nbsp;608-255-1511"
                  }),
                  isc.LayoutSpacer.create({
                    height:5
                  })
                ]
              }),  
              isc.LayoutSpacer.create({
                height:10
              }), 
              isc.HLayout.create({
                members:[
                  isc.LayoutSpacer.create({
                    width:6
                  }),
                  isc.Img.create({
                    width:270,
                    height:151,
                    src:"../images/bus.jpg"
                  })
                ]
              })              
            ]
          }),
          isc.LayoutSpacer.create({
            width:10
          }),
          isc.VLayout.create({
            members:[
              isc.LayoutSpacer.create({
                height:10
              }),
              isc.HLayout.create({
                members:[
                  isc.ImgButton.create({
                    titleStyle:"redButton",
                    width:224,
                    height:138,
                    showDown:false,
                    showFocused:false,
                    src:"../images/redBox2.jpg",
                    title:"Online Tickets",
                    showTitle:true,
                    click:"window.open('http://www.badgerbusonline.com/ticketing/schedule.aspx');"
                  }),
                  isc.LayoutSpacer.create({
                    width:5
                  }),
                  isc.ImgButton.create({
                    titleStyle:"redButton",
                    width:224,
                    height:138,
                    showDown:false,
                    showFocused:false,
                    src:"../images/redBox2.jpg",
                    title:"Book a Tour",
                    showTitle:true,
                    click:"window.open('http://res.badgertours.com');"
                  }),
                  isc.LayoutSpacer.create({
                    width:5
                  }),
                  isc.ImgButton.create({
                    titleStyle:"redButton",
                    width:224,
                    height:138,
                    showDown:false,
                    showFocused:false,
                    src:"../images/redBox2.jpg",
                    title:"Rent a Bus",
                    showTitle:true,
                    click:"window.location = '/rental/rental.aspx';"
                  }),
                  isc.LayoutSpacer.create({
                    width:5
                  })
                ]
              }),
              isc.LayoutSpacer.create({
                height:30
              }),
              isc.HTMLFlow.create({
                className:"missionHeader",
                width:660,
                height:26,
                contents:"Our Mission"                   
              }),
              isc.HTMLFlow.create({
                className:"mission",
                width:660,
                height:100,
                contents:"<strong>Badger Coaches Inc.</strong> is a diversified transportation company dedicated to serving our customers with a continued tradition of " +
                  "professionalism, value and integrity. Our family of companies include:<ul>" +
                  "<li><strong>Badger Coaches Inc:</strong> Professionally Getting you to your Destination Safely and Comfortably</li>" +
                  "<li><strong>Badger Bus Lines Inc:</strong> The safest way to get there</li>" +
                  "<li><strong>Badger Tour & Travel, LLC:</strong> Fun and Affordable Escorted Vacations</li>" +
                  "<li><strong>Meier Fleet Repair, LLC:</strong> Maintaining Excellence</li></ul>"

              }),
              isc.LayoutSpacer.create({
                height:10
              })
            ]
          })
        ]
      })
    ]
  })
);
