function show(trg) {
  	document.getElementById(trg).style.display = "block";
}

function hide(trg) {
	document.getElementById(trg).style.display = "none";
}

function runslideshow(){
   if (document.all) {
      document.images.carrousel.style.filter = "blendTrans(duration=2)";
      document.images.carrousel.style.filter = "blendTrans(duration=crossfadeduration)";
      document.images.carrousel.filters.blendTrans.apply();
   }
   document.images.carrousel.src = preload[j].src;
   if (document.all) {
      document.images.carrousel.filters.blendTrans.play();
   }
   j = j + 1;
   if (j > (p-1)) j = 0;
   t = setTimeout('runslideshow()', slideshowspeed);
}

function platform_hover(pos,pos2) {
	document.getElementById('platform_hover').style.backgroundPosition = pos;
	document.getElementById('platform_text').style.left = pos2;
}
