
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}

  
function showImage(){
 var theImages = new Array() // do not change this
 
theImages[0] = 'images/random/1.jpg'
theImages[1] = 'images/random/2.jpg'
theImages[2] = 'images/random/3.jpg'
theImages[3] = 'images/random/4.jpg'
theImages[4] = 'images/random/5.jpg'
theImages[5] = 'images/random/6.jpg'
theImages[6] = 'images/random/7.jpg'
theImages[7] = 'images/random/8.jpg'
theImages[8] = 'images/random/9.jpg'
theImages[9] = 'images/random/10.jpg'
theImages[10] = 'images/random/11.jpg'
theImages[11] = 'images/random/12.jpg'
theImages[12] = 'images/random/13.jpg'
theImages[13] = 'images/random/14.jpg'
theImages[14] = 'images/random/15.jpg'
theImages[15] = 'images/random/16.jpg'
theImages[16] = 'images/random/17.jpg'
theImages[17] = 'images/random/18.jpg'
theImages[18] = 'images/random/19.jpg'
theImages[19] = 'images/random/20.jpg'
theImages[20] = 'images/random/21.jpg'
theImages[21] = 'images/random/22.jpg'
theImages[22] = 'images/random/23.jpg'

theImages[23] = 'images/random/24.jpg'
theImages[24] = 'images/random/25.jpg'
theImages[25] = 'images/random/26.jpg' 
theImages[26] = 'images/random/27.jpg' 
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
document.write('<img src="'+theImages[whichImage]+'">');
}

function changeImage(imgID,imgSrc)
{
 document.getElementById(imgID).src = imgSrc;
}