// JavaScript Document
function rotateBanner(){
var path = "/images/hero/";
var hero = new Array();
hero[0] = "5x5";
hero[1] = "ardisson";
hero[2] = "b12";
hero[3] = "digitonal";
hero[4] = "heroImage";
hero[5] = "lagrange";
hero[6] = "moq";
hero[7] = "norberg";
hero[8] = "posties";
hero[9] = "sancho";
hero[10] = "soviet";
hero[11] = "tube1";
hero[12] = "tube2";
hero[13] = "SeedVol2_1";
hero[14] = "SeedVol2_2";
hero[15] = "SeedVol2_3";
hero[16] = "sale";

var rb = Math.round(Math.random()*(hero.length-1));
document.hero.src = path + hero[rb] + ".jpg";
hideArt();
}
function launchQuestion(file){
newWindow = window.open("/articles/10questions/"+file+".html","qwin","height=600,width=400,scrollbars=yes");
newWindow.focus();
}
function hideArt(){
var items = 1;
for(i=0;i<=items;i++){
var ref = document.getElementById("block"+i);
ref.style.display = "none";
}
ting = "block"+Math.round(Math.random()*items);
ref = document.getElementById(ting);
ref.style.display = "block";
}
