/* ==== script parameters ==== */
setTimeout(function ()
{
dp.init(
{
containerID: "screen",
gridX: 6,
gridY: 4,
imagesPath: "",
timeout: 153, // 10 seconds
flash: { r: 255, g: 255, b: 255},

fadein:
{
alpha: 100,
alphaTarget: 0,
step: -5,
endFlash: 80,
nextCell: 90,
nextStep: 0
},

fadeout:
{
alpha: 0,
alphaTarget: 60,
step: 5,
endFlash: 20,
nextCell: 10,
nextStep: 40
},

menu: [
{
html: 'Go',
target: 0
},

{
html: 'www',
target: 1,
submenu: {
title: 'www',
lines: [
{
html: 'reccy.nl',
text: [{
html: '<br>Website van Rebecca van de Werf<br>je vindt hier alles over haar tenniscarri&egrave;re.<br><br>Klik <a href="http://www.reccy.nl" target="blank_">hier</a> voor de website',
x: 3, y: 2, w: 2, h: 1
},
{
id: "thumb1",
x: 2, y: 0, w: 1, h: 4
}]
},

{
html: 'mejor.nl',
text: [{
html: '<br>Website van Mejor<br>voor echt beter tennis!<br>De tennisschool van de trainingen en begeleiding van Rebecca van de Werf,<br>opgericht in 2007<br>door Hans Levering.<br><br>Klik <a href="http://www.mejor.nl" target="blank_">hier</a> voor de website',
x: 4, y: 0, w: 1, h: 2
},
{
id: "thumb2",
x: 1, y: 2, w: 3, h: 1
}]
},

{
html: 'tenniskansen.nl',
text: [{
html: '<br>In het kader van "maatschappelijk ondernemen" heeft Mejor een project opgezet om mensen te helpen.<br><br>Onder het motto "wel willen maar niet kunnen" wordt hulp geboden.',
x: 4, y: 0, w: 2, h: 1
},
{
html: '<br>Klik <a href="http://www.tenniskansen.nl" target="blank_">hier</a> voor de website',
x: 4, y: 3, w: 1, h: 1
},
{
id: "thumb3",
x: 2, y: 1, w: 3, h: 2
}]
},

{
html: 'diversen',
text: [{
html: '<br><br><b>www.toc-tennis.nl</b><br>Tennisclub in<br>Capelle aan den IJssel<br><br><b>www.ascent-tec.com</b><br>Een onderneming in computerchips<br><br><b>www.voetbal-Poule.nl</b><br>Website waar de stand voorspeld kon worden van de ere-divisie wedstrijden.' ,
x: 1, y: 1, w: 1, h: 2
},
{
html: '<br><b>www.havada.eu</b><br>Over een reis naar Australi&euml;<br><br><b>www.care4children.nl</b><br>Een studieproject van 4 MBA\'ers<br><br><b>ww.het-wk-spel.nl</b><br>Website om de het WK van 2006 te voorspellen',
x: 5, y: 0, w: 1, h: 2
},
{
id: "thumb4",
x: 2, y: 1, w: 3, h: 2
}]
}
]
}
},

{
html: 'wie',
target: 2
},
{
html: 'hoe',
target: 3
}
],

page: [
{ // page 1
backgroundImage: "pw_bg_01.jpg",
menuBackgroundColor: { r: 0, g: 100, b: 160 },
text: [
{
id: "txt11",
x: 2, y: 3, w: 1, h: 1
},
{
id: "txt12",
x: 4, y: 1, w: 1, h: 1
},
{
id: "txt13",
x: 4, y: 3, w: 2, h: 1
}
],
menuTarget: [
{ x: 0, y: 0 },
{ x: 0, y: 1 },
{ x: 0, y: 2 },
{ x: 0, y: 3 }
]
},

{ // page 2
backgroundImage: "pw_bg_02.jpg",
menuBackgroundColor: { r: 102, g: 102, b: 51 },
text: [{
html: '<h1>Portfolio</h1>',
x: 5, y: 0, w: 1, h: 1
},
{
html: '',
x: 5, y: 0, w: 1, h: 1
},
{
html: '',
x: 5, y: 0, w: 1, h: 1
}
],
menuTarget: [
{ x: 0, y: 0 },
{ x: 0, y: 1 },
{ x: 0, y: 2 },
{ x: 0, y: 3 }
]
},

{ // page 3
backgroundImage: "pw_bg_03.jpg",
menuBackgroundColor: { r: 160, g: 100, b: 0 },
text: [{
html: '<h1>Voorstellen</h1>',
x: 4, y: 2, w: 2, h: 1
},

{
id: "txt3",
x: 2, y: 1, w: 2, h: 1
}
],
menuTarget: [
{ x: 0, y: 0 },
{ x: 0, y: 1 },
{ x: 0, y: 2 },
{ x: 0, y: 3 }
]
},

{ // page 4
backgroundImage: "pw_bg_04.jpg",
menuBackgroundColor: { r: 0, g: 150, b: 150 },
text: [{
html: '<h1>Contact</h1>',
x: 5, y: 3, w: 1, h: 1
},
{
id: "txt41",
x: 1, y: 2, w: 2, h: 1
},
{
id: "txt42",
x: 3, y: 0, w: 2, h: 1
}
],
menuTarget: [
{ x: 0, y: 0 },
{ x: 0, y: 1 },
{ x: 0, y: 2 },
{ x: 0, y: 3 }
]
}]
});
}, 500);
