<!-- Seasonal Logo Javascript by Sean Kelly //-->
<!-- You have permission to use this code on your site (if you can figure it out) //-->

var today = new Date()

function seasonalLogo() {
var month = today.getMonth()
var day = today.getDate()

if (month == 0 && day == 1)
document.logo.src="http://www.smbhq.com/logos/newyears.jpg"
else if (month == 1 && day == 2)
document.logo.src="http://www.smbhq.com/logos/groundhog.jpg"
else if (month == 1 && day == 14)
document.logo.src="http://www.smbhq.com/logos/valentines.jpg"
else if (month == 2 && day == 17)
document.logo.src="http://www.smbhq.com/logos/stpatricks.jpg"
else if (month == 6 && day == 1)
document.logo.src="http://www.smbhq.com/logos/canadaday.jpg"
else if (month == 6 && day == 4)
document.logo.src="http://www.smbhq.com/logos/4thjuly.jpg"
else if (month == 7 && day == 1)
document.logo.src="http://www.smbhq.com/logos/bday.jpg"
else if (month == 9 && day == 31)
document.logo.src="http://www.smbhq.com/logos/halloween.jpg"
else if (month == 11 && day == 25)
document.logo.src="http://www.smbhq.com/logos/christmas.jpg"
}

if(document.images) {
pics = new Array();
pics[1] = new Image();
pics[1].src = "aboutsmbhq.gif";
pics[2] = new Image();
pics[2].src = "aboutsmbhq-a.gif";
pics[3] = new Image();
pics[3].src = "contactus.gif";
pics[4] = new Image();
pics[4].src = "contactus-a.gif";
pics[5] = new Image();
pics[5].src = "forum.gif";
pics[6] = new Image();
pics[6].src = "forum-a.gif";

}

function changer(from,to) {
if(document.images) {
document.images[from].src = pics[to].src;
}
}

self.name="smbhq_parent";
