<!-- Hide from JavaScript-Impaired Browsers
if (internet == "si") {
	number_of_sponsors=3;
}else{
	number_of_sponsors=2;
}
if (location.href.indexOf("44.134") == -1 && location.href.indexOf("localhost") == -1 && location.href.indexOf("ampr.org") == -1) {internet="si" }else{ internet="no"}
if (location.href.indexOf("/is0myn/") == -1) {rot="/"}else{rot="/is0myn/"}
var sctr=0;
var halt=0;
var isn=new Array();
for (i=0;i<number_of_sponsors;i++){
 isn[i]=new Image();
}

isn[0].src=rot+"img/banner/01.gif";
isn[1].src=rot+"img/banner/02.gif";
if (internet == "si") {
	isn[2].src=rot+"img/banner/04.gif";
}


var durl=new Array();
if (internet == "si") {
	durl[0]="http://www.cqis0.it";
	durl[1]="http://www.is0grb.it";
	durl[2]="http://ars.educations.net";
}else{
	durl[0]="http://44.134.16.4";
	durl[1]="http://44.134.16.200/is0grb";
}
/* This script is set to rotate every 10 seconds.
   (5000=5 seconds, so 30000 would equal 30, etc)
   You should change the number in the setTimeout()
   call below for the number of seconds you wish. */
function rotateIt(){
 if (halt!=1){
  sctr++;
  if (sctr>number_of_sponsors-1){
   sctr=0;
   }
  document.sponsor.src=isn[sctr].src;
  setTimeout("rotateIt()",10000);
  }
 }

/* This code will work just fine with or without
   frames.  However, if you are in frames and wish
   to replicate the TARGET="_top" call to remove
   frames, change the location.href call to:
    parent.location.href=durl[sctr];
   below. */
function doIt(){
 halt=1;
 location.href=durl[sctr];
 }

function dispIt(){
 parent.window.status=durl[sctr];
 }
// End Hiding -->