﻿/// <reference path="jquery-1.4.4.js" />

/* ============================
DotControl copyright 2010
==============================*/




$(function () {
	jQuery('img.bgmaximage').maxImage({
		isBackground: true,
		overflow: 'auto'
	});


	$('.slideshow .Normal').cycle({
		fx: 'fade',
		timeout: 5000,
		speed: 1000
	});
});



(function () {
	// if firefox 3.5+, hide content till load (or 3 seconds) to prevent FOUT
	var d = document, e = d.documentElement, s = d.createElement('style');
	if (e.style.MozTransform === '') { // gecko 1.9.1 inference
		s.textContent = 'body{visibility:hidden}';
		e.firstChild.appendChild(s);
		function f() { s.parentNode && s.parentNode.removeChild(s); }
		addEventListener('load', f, false);
		setTimeout(f, 3000);
	}
})();



