greeter = new Array()
greeter[0]="images/1010899269_m.jpg"
greeter[1]="images/1010898163_m.jpg"
greeter[2]="images/1010901068_m.jpg"
greeter[3]="images/1010896814_m.jpg"
greeter[4]="images/1010902263_m.jpg"
greeter[5]="images/m_e4b9089d295de56b3c0871e6cd76fbb5.jpg"

greeting = new Array()
greeting[0]="Hi, Welcome to the Zot Cave. My name is G and I am totally serious. I love dark chocolate and feedback."
greeting[1]="Welcome to the Zot Hullabaloo. My name is Strawberry Fre(u)d and I am an Altzot. I love Bing Cherries and wavesamples with modulated loop points."
greeting[2]="Welcome to the Zot Empire. My name is Lynn and I am a Groovesmith. I love 2 and 4."
greeting[3]="Welcome to the Zot Dungeon. My name is Mark and I am a Scorpio. I love clams and money."
greeting[4]="Welcome to the Zot Zot. My name is Lucca and I am a bastard. I love rum and women."
greeting[5]="Welcome to the Zot Playground. My name is Strawberry Golosinas and I am a dancer. I love music and candy."

function getGreeter()
{
i=greeter.length*Math.random();
i=Math.round(i);
if (greeter[i] == undefined)
return getGreeter();
else
return greeter[i];
end
}

function getGreeting()
{
i=greeting.length*Math.random();
i=Math.round(i);
if (greeting[i] == undefined)
  return getGreeting();
else
  return greeting[i];
end
}

function showGig(target,url){
new Ajax.Updater(target,url,{method:'get'});
}

function loadPhoto(target,photo){
$(target).update("<img src='images/" +  photo + "'>");
}

function loadYouTube(target){
var dirtyBert="<object width=\"425\" height=\"350\"><param name=\"movie\" value=\"http://www.youtube.com/v/AAB8W8c0GNI\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://www.youtube.com/v/AAB8W8c0GNI\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"425\" height=\"350\"></embed></object>"
$(target).update(dirtyBert);
}

function loadZotSong(target,zotsong){
var player = "<embed src='../media/zots" + zotsong + "' height='20'  /> "
$(target).update(player);
}