// JavaScript Document

onload = function() 
{
	var e, i = 0;
	while (e = document.getElementsByTagName ('B') [i++]) {
		if (e.className == 'switch') {
			e.onmouseover = function () {
			this.className = this.className == 'switch' ? 'switch off' : 'switch';
			this.nextSibling.className = this.className == 'switch' ? 'hide' : 'show';
			}
		}
		
		if (e.className == 'support') {
			e.onmouseover = function () {
			this.className = this.className == 'support' ? 'support supportoff' : 'support';
			this.nextSibling.className = this.className == 'support' ? 'supporthide' : 'supportshow';
			}
		}

		if (e.className == 'gallery') {
			e.onmouseover = function () {
			this.className = this.className == 'gallery' ? 'gallery galleryoff' : 'gallery';
			this.nextSibling.className = this.className == 'gallery' ? 'galleryhide' : 'galleryshow';
			}
		}

		if (e.className == 'achivements') {
			e.onmouseover = function () {
			this.className = this.className == 'achivements' ? 'achivements achivementsoff' : 'achivements';
			this.nextSibling.className = this.className == 'achivements' ? 'achivementshide' : 'achivementsshow';
			}
		}

		if (e.className == 'societyworks') {
			e.onmouseover = function () {
			this.className = this.className == 'societyworks' ? 'societyworks societyworksoff' : 'societyworks';
			this.nextSibling.className = this.className == 'societyworks' ? 'societyworkshide' : 'societyworksshow';
			}
		}

	}		
}



