[% var s = settings[0]; var colors = ["pink", "blue", "green", "yellow", "purple"]; var images = [ { url: "top1.jpg", colorIndex: 0 }, { url: "top2.jpg", colorIndex: 1 }, { url: "top3.jpg", colorIndex: 0 }, { url: "top4.jpg", colorIndex: 1 }, { url: "top5.jpg", colorIndex: 0 }, { url: "top6.jpg", colorIndex: 0 }, { url: "top7.jpg", colorIndex: 1 } ]; var seed = Math.floor(Math.random() * 7); window.hcolor = colors[images[seed].colorIndex]; %]
[% window.page = 'index'; var targets = [ "#hcol1", "#hcol2", "#hcol3", "#hcol3", "#hcol4", "#hcol4", "#hcol5", "#hcol6", "#hcol7", "#hcol7", "#hcol8", "#hcol8" ]; window.featuredVideoIDs = [ { id: s.get("settings.no1").document.id, target: targets[0] }, { id: s.get("settings.no2").document.id, target: targets[1] }, { id: s.get("settings.no3").document.id, target: targets[2] }, { id: s.get("settings.no4").document.id, target: targets[3] }, { id: s.get("settings.no5").document.id, target: targets[4] }, { id: s.get("settings.no6").document.id, target: targets[5] }, { id: s.get("settings.no7").document.id, target: targets[6] }, { id: s.get("settings.no8").document.id, target: targets[7] }, { id: s.get("settings.no9").document.id, target: targets[8] }, { id: s.get("settings.no10").document.id, target: targets[9] }, { id: s.get("settings.no11").document.id, target: targets[10] }, { id: s.get("settings.no12").document.id, target: targets[11] } ]; %]

Contact

[% if(s.getText("settings.about") != undefined) { %]

[%= s.getText("settings.about") %]

[% } %]

[%= s.getText("settings.name1") %]

[%= s.getText("settings.title1") %]

[%= s.getText("settings.email1") %]

[%= s.getText("settings.phone1") %]

[%= s.getText("settings.name2") %]

[%= s.getText("settings.title2") %]

[%= s.getText("settings.email2") %]

[%= s.getText("settings.phone2") %]

[%= s.getText("settings.name3") %]

[%= s.getText("settings.title3") %]

[%= s.getText("settings.email3") %]

[%= s.getText("settings.phone3") %]

[%= s.getText("settings.name4") %]

[%= s.getText("settings.title4") %]

[%= s.getText("settings.email4") %]

[%= s.getText("settings.phone4") %]