﻿var oldButton = "H_55zirconia";
function activate(newButton)
{
	document.getElementById(oldButton).setAttribute("class", "hiddenEntry");
	document.getElementById(newButton).setAttribute("class", "activeEntry");
	//And for IE-----Lame
	document.getElementById(oldButton).setAttribute("className", "hiddenEntry");
	document.getElementById(newButton).setAttribute("className", "activeEntry");
	oldButton = newButton;
	window.scrollTo(0,0);
}
function changeImage(name)
{
   document.getElementById("image_full").src = name;
}
/*
Live Date Script- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use,
visit http://www.dynamicdrive.com
*/
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
function getthedate(){
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
//change font size here
var cdate=dayarray[day]+", "+montharray[month]+" "+daym+", "+year
if (document.all)
document.all.clock.innerHTML=cdate
else if (document.getElementById)
document.getElementById("clock").innerHTML=cdate
else
document.write(cdate)
}
function enableClock(){
if (document.all||document.getElementById)
getthedate()
}
