window.addEvent('domready', function() {	(function () {		adjustHeight();		window.addEvent('resize', adjustHeight);	}).delay(250);		var pageurl = document.location.toString();		// "paints" the "active" tab...		var suffix = pageurl.replace(/http:\/\/hog.americantwinhd.com\//, '');		if (pageurl.indexOf('s83803') != -1) {		suffix = pageurl.replace(/http:\/\/hog.americantwinhd.com.s83803.gridserver.com\//, '')	}		var page = suffix.slice(0, -1);		var lias = $('nav').getElements('a');		lias.each(function(a) {			a.setProperty('target', '_top');			a.getParent().removeClass('x');				if (a.innerHTML.toLowerCase() == page) {			a.getParent().set('class', 'x');		}				// special - just for LOH...				if (a.innerHTML.toLowerCase() == 'l.o.h.') {			if (page == 'loh') {				a.getParent().set('class', 'x');			}			a.setStyle('text-transform', 'uppercase');		}				// "photos" page(s)...				if ((pageurl.indexOf('photos') != -1) && (a.innerHTML.toLowerCase() == 'photos')) {			a.getParent().set('class', 'x');		}		    });        // homepage...        var urlend = pageurl.substring(7);		if ((urlend == 'hog.americantwinhd.com/') || (urlend == '/hog.americantwinhd.com') || (urlend == '/hog.americantwinhd.com/') || (urlend == 'hog.americantwinhd.com.s83803.gridserver.com/') || (urlend == '/hog.americantwinhd.com.s83803.gridserver.com') || (urlend == '/hog.americantwinhd.com.s83803.gridserver.com/')) {		var thetab = $('nav').getFirst();		thetab.set('class', 'x');	}	});function adjustHeight() {	var docHeight = document.getScrollSize().y;	var footTop = $('foot').getPosition().y;		if (Browser.Engine.trident4) { // IE6		// "events" page...		if ($(document.body).className.indexOf('calendar') != -1) {			docHeight = document.getSize().y;			$(document.body).setStyle('height', docHeight - 143);			$('cal').setStyle('height', docHeight - 143);			$('foot').setStyle('height', 32);		}		else {			$('foot').setStyle('height', docHeight - footTop - 11);		}	}	else {		$('foot').setStyle('height', docHeight - footTop - 11);			if (Browser.Engine.trident6) { // IE8			$('foot').setStyle('height', docHeight - footTop - 13);		}				// "events" page...		if ($(document.body).className.indexOf('calendar') != -1) {			$('cal').setStyle('height', docHeight - 286);						if ((Browser.Engine.gecko) || (Browser.Engine.trident)) { // Firefox & IE7				$('cal').setStyle('height', docHeight - 143);				$('foot').setStyle('height', 32);			}			if (Browser.Engine.trident6) { // IE8				$('cal').setStyle('height', docHeight - 141);				$('foot').setStyle('height', 30);			}			}			}	}var shutterSettings = {	msgLoading: "L O A D I N G",	msgClose: "Click to Close",	imageCount: "1"};
