// Homepage Images
var theImages = new Array();

theImages[0] = 'Assets/images/homePage/largesize/image1.jpg'; // replace with names of images
theImages[1] = 'Assets/images/homePage/largesize/image2.jpg'; // replace with names of images
theImages[2] = 'Assets/images/homePage/largesize/image3.jpg'; // replace with names of images
theImages[3] = 'Assets/images/homePage/largesize/image4.jpg'; // replace with names of images
theImages[4] = 'Assets/images/homePage/largesize/image5.jpg'; // replace with names of images
theImages[5] = 'Assets/images/homePage/largesize/image6.jpg'; // replace with names of images
theImages[6] = 'Assets/images/homePage/largesize/image7.jpg'; // replace with names of images
theImages[7] = 'Assets/images/homePage/largesize/image8.jpg'; // replace with names of images
theImages[8] = 'Assets/images/homePage/largesize/image9.jpg'; // replace with names of images
theImages[9] = 'Assets/images/homePage/largesize/image10.jpg'; // replace with names of images
theImages[10] = 'Assets/images/homePage/largesize/image11.jpg'; // replace with names of images
theImages[11] = 'Assets/images/homePage/largesize/image12.jpg'; // replace with names of images
theImages[12] = 'Assets/images/homePage/largesize/image13.jpg'; // replace with names of images



var j = 0
var p = theImages.length;
var preBuffer = new Array()

for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImages[i]
}
var whichImage = 0//Math.round(Math.random()*(p-1));

function showImage(){
	document.getElementById("mainimage").src = theImages[whichImage];
}

function tdcolorchange(){
	for(var a=0; a < theImages.length; a++){
		if(a==whichImage){
			document.getElementById("smallimg"+a).style.background="#B8011D";
		}
		else{
			document.getElementById("smallimg"+a).style.background="";
		}
	}
}

function imageMouseDown (num) {
	whichImage = num;
	document.images['mainimage'].src=theImages[num];
	//tdcolorchange();
}

var txts=new Array();
var imgs=new Array();
var links=new Array();
imgs[0]="ZSE TV is home to Big Brother Africa";
links[0]='';
txts[0]='The moment we have been waiting for has arrived! After a tense two-way tie between Hazel from Malawi and Ricco from Angola, the winner was announced: Angola\'s Ricco is the BBA III champion and the winner of USD100 000 cash!<br><br>Congratulations to Ricco and the Big Brother Africa team!';
imgs[1]="ZSE TV gets Takalani Sesame";
links[1]="ZSE TV gets Takalani Sesame";
txts[1]='<span><strong>ZSE TV</strong> provided all the requirements to the international, award-winning children\'s puppet series in their TV studio and production facilities in Highlands North.</span>';
imgs[2]="ZSE TV gets Doen met 'n Miljoen";
links[2]='<a href="Events/doen_met_miljoen/default.htm" target="_self" class="smallwhitetext"><strong>Must know facts about Doen met \'n Miljoen </strong> ... <br>Click here to read the article. </a>';
txts[2]='<strong>ZSE TV</strong> has been host to numerous game shows, including Doen met \'n Miljoen - the Afrikaans version of Deal or no Deal, Coca Cola Mega Millions, BBC Question Time, numerous Red Cherry game shows, Tweestryd, Om-i-Wereld, to name a few.';
imgs[3]="Sasani is proud to be the home to Egoli";
links[3]="Sasani is proud to be the home to Egoli";
txts[3]='<span><strong>Sasani</strong> is proud to be the home to <strong>Egoli</strong>, South Africa\'s longest running soap. <br><br>The entire <strong>Egoli</strong> production, studios and post production, has been housed at Sasani Studios since it\'s inception in 1991.</span>';
imgs[4]="Binnelanders";
links[4]='Binnelanders';
txts[4]='ZSE TV provides the technical facilities to South Africa\'s hottest, hospital soap: Binnelanders.';
imgs[5]="ZSE TV gets Rhythm City";
links[5]='ZSE TV gets Rhythm City';
txts[5]='Rhythm City, etv\'s weekday soap, revolves around the contemporary music industry and the trials and tribulations of those who are brave enough to enter and often exit this cutthroat business. It is currently being filmed in ZSE TV\'s new Stage 6.<br/><br/>Stage 6 is fully sound-proofed, it is air-conditioned with levelled floors, it has 1156sqm of storage and office space including make up rooms, dressing rooms and green rooms, props and set stores, it has dedicated controlrooms, and is linked to a 500kva generator and UPS. Watch e-TV at 18:30 Monday to Friday to see this new studio in action"';
imgs[6]="ZSE TV is involved with the transfer of Lions from Romania";
links[6]='<a href="Events/lions/default.htm" class="smallwhitetext"><stong>Click here to view more pictures</strong></a>';
txts[6]='FOUR PAWS transferred 10 Romanian lions and a tigress to a new, happier home in the South African sanctuary LIONSROCK; ZSE TV and their sister company MCC provided the television facilities to cover this momentous occasion.';
imgs[7]="National Geographic";
links[7]='National Geographic';
txts[7]='ZSE TV re-purposes the National Geographic commercials for broadcast in South Africa.';
imgs[8]="Love them, Hate them, Live it.";
links[8]='Love them, Hate them, Live it.';
txts[8]='Scandal! the cutting-edge soap with glamorous lives and grand passions is now being filmed in Stage 7 at ZSEtv';
links[9]='Bonisanani';
txts[9]='Bonisanani is a children\'s programme dealing with some of the moral and ethical issues facing children today. We have 3 presenters in the studio - 2 girls and 1 boy. Steph (17), Kamogelo (KG, 17) and Colyn (20), who are vibrant, smart and great at conveying various messages without sounding \'preachy\'. <br/><br/>The programme is broadcast at 06:30 on Sunday mornings on SABC 1. This is the second season of the programme and it continues to get the highest ratings in this timeslot on SABC.';
imgs[9]="Bonisanani";
links[10]='Moferefere Lenyalong';
txts[10]='This popular SABC sitcom is set in Ficksburg in the Free State. The story centers around the dysfunctional Matlakala family and the staff at their Cherry Blossom guest house. ZSE TV was happy to house the entire production on site in Highlands North. Catch this new Sotho sitcom on Sundays from 19h00 - 19h30.';
imgs[10]="Moferefere Lenyalong";
links[11]='Jika Majika';
txts[11]='Jika Majika is a funky, sassy, fast paced music show that\'s guaranteed to excite and entertain. It gives the South African youth a platform to showcase their dance moves and also highlights the top 10 local music songs of the week.';
imgs[11]="Jika Majika";
links[12]='<a href="Events/konsternasie/default.htm" class="smallwhitetext">Click here to view more pictures</a>';
txts[12]='Life can be as fickle as the weather, and - when you\'re the man who makes the forecasts - the living is never easy: Summertime, Wintertime, Anytime...<br/><br/>This hilarious sitcom focuses on the ups and downs - the joys (such as they are), trials and tribulations of an average South African "everyman" (with global warming concerns) in the midst of a midlife crisis...<br/><br/>The cast is jam-packed with big names: David Clatworthy, AJ van der Merwe, Helene Lombard, Terence Bridgett, Brian Webber, Jolene Morgan and Molefi Monaisa...<br/><br/>This is Bobby Heaney and Paul Slabolepszy at their best!<br/><br/>Catch it every Friday from the 17th of July - SABC 2 at 18h00';
imgs[12]="Konsternasie Oppie Stasie";

function blurbs(watter){
	document.getElementById("blurb").innerHTML = '<table width="100%"  border="0" cellpadding="4" cellspacing="0" bgcolor="#910216" style="border:1px solid #333333"><tr><td class="Link style1" style="color:#FFFFFF">'+imgs[watter]+'</td></tr></table><div style="padding:6pt 6pt 0pt 6pt">'+txts[watter]+'</div>';
	//document.getElementById("blurblink").innerHTML = links[watter];
}