if(document.images) {
Allimages=new Array ("images/qxevent1.jpg","images/qxevent2.jpg","images/qxevent3.jpg","images/istoneevent1.jpg","images/istoneevent2.jpg","images/istoneevent3.jpg","images/starlightevent1.jpg","images/starlightevent2.jpg","images/starlightevent3.jpg");
for(loadall=0; loadall<Allimages.length;loadall++)
{
var LoadedImage=new Image();
LoadedImage.src=Allimages[loadall];
}
}
var textone="A unique format developed by Wildchilli to find future talent "
+ "for eventing, the Quest-X competition was staged at Windsor "
+ "International Horse Trials. Supported by the World's top "
+ "eventing stars and judged by a panel led by HRH The "
+ "Princess Royal, the event was a hit. The combined impact"
+ " of PR and marketing led to a 200% increase in audience numbers."
var texttwo="iSTONE's company launch was managed by Wildchilli "
+ "from brand name development through to its first consumer "
+ "launch event at The Home Buyer Show. The web based service "
+ "enjoyed a significant kick-start from the success of the "
+ "event combined with an extensive support marketing and "
+ "PR campaign."
var textthree="An (in)famous charity autioneer pulled in the "
+ "pounds at our charity event for Starlight. Famous faces "
+ "attended a glittering dinner where items signed by some of "
+ "the biggest names in pop and sport were auctioned to "
+ "provide much needed help and support for children with  "
+ "terminal illnesses."
var picNow=false;
var countDown=0;
var eventNum =0;

function eventChange() {
if (eventNum==3) {
eventNum=0;
}
eventNum=eventNum+1;
if (eventNum==1) {
countDown=8;
placePicture();
}
if (eventNum==2) {
countDown=4;
placePicture();
}
if (eventNum==3) {
countDown=0;
placePicture();
}
}
function placePicture() {
if (eventNum==3) {
if (countDown==5) {
countDown=4;
}
countDown=countDown+1;
if (countDown==1) {
document.all["title"].innerText="Quest-X at Windsor International Horse Trials";
document.all["textbox"].innerText=textone;
document.picbox1.src=Allimages[0];
}
if (countDown==2) {
document.picbox2.src=Allimages[1];
}
if (countDown==3) {
document.picbox3.src=Allimages[2];
}
repeatThis=setTimeout("placePicture()",300);
}
if (eventNum==2) {
if (countDown==7) {
countDown=6;
}
countDown=countDown+1;
if (countDown==5) {
document.all["title"].innerText="iSTONE company launch";
document.all["textbox"].innerText=texttwo;
document.picbox1.src=Allimages[3];
}
if (countDown==6) {
document.picbox2.src=Allimages[4];
}
if (countDown==7) {
document.picbox3.src=Allimages[5];
}
repeatThis=setTimeout("placePicture()",300);
}
if (eventNum==1) {
if (countDown==11) {
countDown=10;
}
countDown=countDown+1;
if (countDown==9) {
document.all["title"].innerText="Charity Auction for Starlight";
document.all["textbox"].innerText=textthree;
document.picbox1.src=Allimages[6];
}
if (countDown==10) {
document.picbox2.src=Allimages[7];
}
if (countDown==11) {
document.picbox3.src=Allimages[8];
}
repeatThis=setTimeout("placePicture()",300);
}
}

