var currentdate = 0;
var core = 0;

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' ';

  }
}

var image = new StringArray(4)
image[0] = 'ayuda9.jpg';
image[1] = 'ayuda10.jpg';
image[2] = 'ayuda6.gif';
image[3] = 'ayuda2.gif';


var url = new StringArray(4)
url[0] = 'mailto:colabora@elterral.com'; 
url[1] = 'mailto:colabora@elterral.com';
url[2] = 'mailto:colabora@elterral.com';
url[3] = 'mailto:colabora@elterral.com';


var ran = 60/image.length

function numero() {
  currentdate = new Date()
  core = currentdate.getSeconds();
  core = Math.floor(core/ran);
  return core;
}

function ranimage(core) {
  return(image[core]);
}

function ranurl(core) {
   return(url[core]);
}

