	// start rollover
	var supportOk = (parseInt(navigator.appVersion)>=4);
	
	if (supportOk) {
	
	var imgDir = "img/";
	
	h1on = new Image();
	h1on.src = imgDir + "sca_chisiamo_on.gif";
	h1off = new Image();
	h1off.src = imgDir + "sca_chisiamo.gif";
	
	h2on = new Image();
	h2on.src = imgDir + "sca_mission_on.gif";
	h2off = new Image();
	h2off.src = imgDir + "sca_mission.gif";
	
	h3on = new Image();
	h3on.src = imgDir + "sca_servizi_on.gif";
	h3off = new Image();
	h3off.src = imgDir + "sca_servizi.gif";
	
	h4on = new Image();
	h4on.src = imgDir + "sca_laboratorio_on.gif";
	h4off = new Image();
	h4off.src = imgDir + "sca_laboratorio.gif";
	
	h5on = new Image();
	h5on.src = imgDir + "sca_attivita_on.gif";
	h5off = new Image();
	h5off.src = imgDir + "sca_attivita.gif";
	
	h6on = new Image();
	h6on.src = imgDir + "sca_progetti_on.gif";
	h6off = new Image();
	h6off.src = imgDir + "sca_progetti.gif";
	
	h7on = new Image();
	h7on.src = imgDir + "sca_qualita_on.gif";
	h7off = new Image();
	h7off.src = imgDir + "sca_qualita.gif";
	
	h8on = new Image();
	h8on.src = imgDir + "sca_team_on.gif";
	h8off = new Image();
	h8off.src = imgDir + "sca_team.gif";
	
	h9on = new Image();
	h9on.src = imgDir + "sca_contatti_on.gif";
	h9off = new Image();
	h9off.src = imgDir + "sca_contatti.gif";
	
	// footer nav rollover
	fn1on = new Image();
	fn1on.src = imgDir + "sca_fnnews_on.gif";
	fn1off = new Image();
	fn1off.src = imgDir + "sca_fnnews.gif";
	
	fn2on = new Image();
	fn2on.src = imgDir + "sca_fndownloads_on.gif";
	fn2off = new Image();
	fn2off.src = imgDir + "sca_fndownloads.gif";
	
	fn3on = new Image();
	fn3on.src = imgDir + "sca_fnlinks_on.gif";
	fn3off = new Image();
	fn3off.src = imgDir + "sca_fnlinks.gif";

	
	fn4on = new Image();
	fn4on.src = imgDir + "sca_fdovesiamo_on.gif";
	fn4off = new Image();
	fn4off.src = imgDir + "sca_fdovesiamo.gif";
	
	
	// team gallery	
	var imgDir = "includes/pages/team/img/";
	
	t1on = new Image();
	t1on.src = imgDir + "sca_gallery_team_t1_hover.jpg";
	t1off = new Image();
	t1off.src = imgDir + "sca_gallery_team_t1.jpg";
	
	t2on = new Image();
	t2on.src = imgDir + "sca_gallery_team_t2_hover.jpg";
	t2off = new Image();
	t2off.src = imgDir + "sca_gallery_team_t2.jpg";
	
	t3on = new Image();
	t3on.src = imgDir + "sca_gallery_team_t3_hover.jpg";
	t3off = new Image();
	t3off.src = imgDir + "sca_gallery_team_t3.jpg";
	
	t4on = new Image();
	t4on.src = imgDir + "sca_gallery_team_t4_hover.jpg";
	t4off = new Image();
	t4off.src = imgDir + "sca_gallery_team_t4.jpg";
	
	t5on = new Image();
	t5on.src = imgDir + "sca_gallery_team_t5_hover.jpg";
	t5off = new Image();
	t5off.src = imgDir + "sca_gallery_team_t5.jpg";
	
	t6on = new Image();
	t6on.src = imgDir + "sca_gallery_team_t6_hover.jpg";
	t6off = new Image();
	t6off.src = imgDir + "sca_gallery_team_t6.jpg";
	
	// team laboratorio	
	var imgDir = "includes/pages/laboratorio/img/";
	
	tg1on = new Image();
	tg1on.src = imgDir + "sca_gallery_laboratorio_t1_hover.jpg";
	tg1off = new Image();
	tg1off.src = imgDir + "sca_gallery_laboratorio_t1.jpg";
	
	tg2on = new Image();
	tg2on.src = imgDir + "sca_gallery_laboratorio_t2_hover.jpg";
	tg2off = new Image();
	tg2off.src = imgDir + "sca_gallery_laboratorio_t2.jpg";
	
	tg3on = new Image();
	tg3on.src = imgDir + "sca_gallery_laboratorio_t3_hover.jpg";
	tg3off = new Image();
	tg3off.src = imgDir + "sca_gallery_laboratorio_t3.jpg";
	
	tg4on = new Image();
	tg4on.src = imgDir + "sca_gallery_laboratorio_t4_hover.jpg";
	tg4off = new Image();
	tg4off.src = imgDir + "sca_gallery_laboratorio_t4.jpg";
	
	tg5on = new Image();
	tg5on.src = imgDir + "sca_gallery_laboratorio_t5_hover.jpg";
	tg5off = new Image();
	tg5off.src = imgDir + "sca_gallery_laboratorio_t5.jpg";
	
	tg6on = new Image();
	tg6on.src = imgDir + "sca_gallery_laboratorio_t6_hover.jpg";
	tg6off = new Image();
	tg6off.src = imgDir + "sca_gallery_laboratorio_t6.jpg";
	
	tg7on = new Image();
	tg7on.src = imgDir + "sca_gallery_laboratorio_t7_hover.jpg";
	tg7off = new Image();
	tg7off.src = imgDir + "sca_gallery_laboratorio_t7.jpg";
	
	tg8on = new Image();
	tg8on.src = imgDir + "sca_gallery_laboratorio_t8_hover.jpg";
	tg8off = new Image();
	tg8off.src = imgDir + "sca_gallery_laboratorio_t8.jpg";
	
	tg9on = new Image();
	tg9on.src = imgDir + "sca_gallery_laboratorio_t9_hover.jpg";
	tg9off = new Image();
	tg9off.src = imgDir + "sca_gallery_laboratorio_t9.jpg";
	
	tg10on = new Image();
	tg10on.src = imgDir + "sca_gallery_laboratorio_t10_hover.jpg";
	tg10off = new Image();
	tg10off.src = imgDir + "sca_gallery_laboratorio_t10.jpg";
	
	tg11on = new Image();
	tg11on.src = imgDir + "sca_gallery_laboratorio_t11_hover.jpg";
	tg11off = new Image();
	tg11off.src = imgDir + "sca_gallery_laboratorio_t11.jpg";
	
	tg12on = new Image();
	tg12on.src = imgDir + "sca_gallery_laboratorio_t12_hover.jpg";
	tg12off = new Image();
	tg12off.src = imgDir + "sca_gallery_laboratorio_t12.jpg";
	
	
	
	
 	function turnOn(img) {
	eval("document."+img).src = eval(img+"on").src;
	}


	 function turnOff(img) {
	eval("document."+img).src = eval(img+"off").src;
	}
}
// end rollover