var txttop = new Array(7);
//txttop['UEFA']='';
txttop['LC']='<a href="/producten/teaser_aquos.php?mc=18" class="navi">AQUOS LCD TV</a>';
txttop['NT']='<a href="/producten/teaser_solar.php?mc=1102" class="navi">Solar</a>';
txttop['AR']='';
txttop['20S']='<a href="/producten/teaser_aquos.php?mc=18" class="navi">AQUOS LCD TV</a>';
txttop['LU']='<a href="/producten/teaser_luchtreinigers.php?mc=1100" class="navi">Luchtreinigers</a>';	
txttop['MA']='<a href="/producten/teaser_magnetrons.php?mc=7" class="navi">Magnetrons</a>';
txttop['error']='';

var txts = new Array(7);

//txts['UEFA']='';
txts['LC']='<a href="/producten/teaser_aquos.php?mc=18" class="navi">LC-42XD1E</a>';
txts['NT']='<a href="/producten/teaser_solar.php?mc=1102" class="navi">Solar NT R5E3E</a>';
//txts['AR']='<a href="/producten/teaser_profi_systemen.php?mc=1108" class="navi">AR-M700</a>';
txts['AR']='<a href="/producten/teaser_profi_systemen.php?mc=1108" class="navi">MX-M700N</a>';
txts['20S']='<a href="/producten/teaser_aquos.php?mc=18" class="navi">LC-20S5E</a>';
txts['LU']='<a href="/producten/teaser_luchtreinigers.php?mc=1100" class="navi">FU-P60SE</a>';
txts['MA']='<a href="/producten/teaser_magnetrons.php?mc=7" class="navi">R-969IN</a>';
txts['error']='';

var picts = new Array(7);
//picts['UEFA']='<a href="http://sharp.uefachampionsleague.com" class="navi" target="_blank"><img src="/_gfx/home/prod_rotate/sharp_uefa.jpg" width="120" height="110" border="0" alt="Enter!" vspace="0" hspace="0"></a>';
picts['LC']='<a href="/producten/teaser_aquos.php?mc=18"><img src="/_gfx/home/prod_rotate/lc_42xd1e.jpg" width="120" height="110" border="0" alt="Enter!" vspace="0" hspace="0"></a>';
picts['NT']='<a href="/producten/teaser_solar.php?mc=1102"><img src="/_gfx/home/prod_rotate/solar_nt_r5e3e.jpg" width="120" height="110" border="0" alt="Enter!"></a>';
//picts['AR']='<a href="/producten/teaser_profi_systemen.php?mc=1108"><img src="/_gfx/home/prod_rotate/copy_ar_m_700.jpg" width="120" height="110" border="0" alt="Enter!"></a>';
picts['AR']='<a href="/producten/teaser_profi_systemen.php?mc=1108"><img src="/_gfx/home/prod_rotate/mxM700N.jpg" width="120" height="110" border="0" alt="Enter!"></a>';
picts['20S']='<a href="/producten/teaser_p55.php?mc=18" class="navi"><img src="/_gfx/home/prod_rotate/lc_20s5e.jpg" width="120" height="110" vspace="5" border="0" alt="Enter!"></a>';
picts['LU']='<a href="/producten/teaser_luchtreinigers.php?mc=1100" class="navi"><img src="/_gfx/home/prod_rotate/fu_p60se.gif" width="120" height="110" vspace="5" border="0" alt="Enter!"></a>';
picts['MA']='<a href="/producten/teaser_magnetrons.php?mc=7" class="navi"><img src="/_gfx/home/prod_rotate/r_969in.jpg" width="120" height="110" vspace="5" border="0" alt="Enter!"></a>';
picts['error']='<a href="javascript:void();"><img src="/_gfx/spacer.gif" width="120" height="110" border="0" alt=""></a>';



var swfPic = new Array(5);
swfPic['lcd'] = '<a href="/producten/aquos/hdready/gotohd.html"><img src="/_gfx/home/swf_rotate/lcd_tv_hd_ready.jpg" width="132" height="158" alt=""  border="0"></a>';
swfPic['mfp'] = '<a href="/producten/profi/flash.html"><img src="/_gfx/home/swf_rotate/document_systemen.jpg" width="132" height="158" alt=""  border="0"></a>';
swfPic['magnetrons'] = '<a href="/producten/magnetrons/flash/gotomagnetrons.html"><img src="/_gfx/home/swf_rotate/magnetrons.jpg" width="132" height="158" alt=""  border="0"></a>';
swfPic['solar'] = '<a href="/producten/solar/solar_mpg.html"><img src="/_gfx/home/swf_rotate/solar.jpg" width="132" height="158" alt=""  border="0"></a>';
//swfPic['lucht'] = '<a href="/producten/luchtreinigers/luchtreinigers_mpg.html"><img src="/_gfx/home/swf_rotate/luchtreinigers.jpg" width="132" height="158" alt=""  border="0"></a>';
swfPic['error'] = '<a href="/producten/magnetrons/flash/gotomagnetrons.html"><img src="/_gfx/home/swf_rotate/magnetrons.jpg" width="132" height="158" alt=""  border="0"></a>';



var mainPic = new Array(8);
mainPic[0] = '<a href="/erlebniswelt/livingroom/gotolivingroom.html"><img src="/_gfx/home/main_rotate/aquos_teaser_home0.jpg" width="624" height="251" border="0"></a>';
mainPic[1] = '<a href="/erlebniswelt/livingroom/gotolivingroom.html"><img src="/_gfx/home/main_rotate/aquos_teaser_home1.jpg" width="624" height="251" border="0"></a>';
mainPic[2] = '<a href="/erlebniswelt/livingroom/gotolivingroom.html"><img src="/_gfx/home/main_rotate/aquos_teaser_home2.jpg" width="624" height="251" border="0"></a>';
mainPic[3] = '<a href="/erlebniswelt/livingroom/gotolivingroom.html"><img src="/_gfx/home/main_rotate/aquos_teaser_home3.jpg" width="624" height="251" border="0"></a>';
mainPic[4] = '<a href="/erlebniswelt/livingroom/gotolivingroom.html"><img src="/_gfx/home/main_rotate/aquos_teaser_home4.jpg" width="624" height="251" border="0"></a>';
mainPic[5] = '<a href="/erlebniswelt/livingroom/gotolivingroom.html"><img src="/_gfx/home/main_rotate/aquos_teaser_home5.jpg" width="624" height="251" border="0"></a>';
mainPic[6] = '<a href="/erlebniswelt/livingroom/gotolivingroom.html"><img src="/_gfx/home/main_rotate/aquos_teaser_home6.jpg" width="624" height="251" border="0"></a>';
mainPic[7] = '<a href="/erlebniswelt/cebit2005/plugincheck.html"><img src="/_gfx/home/main_rotate/cebit_home.jpg" width="624" height="251" border="0"></a>';



function getRandom(){
	var x = Math.random() * 17.5; 
	if (x<2.5) return 'MA';
	else if(2.5<=x && x<5) return 'MA';
	else if(5<=x && x<7.5) return 'LC';
	else if(7.5<=x && x<10) return 'NT';
	else if(10<=x && x<12.5) return 'AR';
	else if(12.5<=x && x<15) return '20S';
	else if(15<=x && x<17.5) return 'LU';
	//else if(17.5<=x && x<20) return 'MA';
	
	else return 'MA';
	return 'error';
}


function flashRand(){
	x = Math.random() * 15;
	if(x<3) return 'magnetrons';
	else if(3<=x && x<6) return 'magnetrons';
	else if(6<=x && x<9) return 'solar';
	else if(9<=x && x<12) return 'lcd';
	else if(12<=x && x<15) return 'mfp';
	//else if(15<=x && x<18) return 'lucht';

	else return 'magnetrons';
	return 'error';
}


function mainRand(){

	x = Math.random() * 21;
	if(x<3) return 0;
	else if(3<=x && x<6) return 1;
	else if(6<=x && x<9) return 2;
	else if(9<=x && x<12) return 3;
	else if(12<=x && x<15) return 4;
	else if(15<=x && x<18) return 5;
	else if(18<=x && x<21) return 6;
	
	else return 0;
	return 0;
}