// Add all onLoad and Init Functions In This File

/*Start SC Click to Enlarge v3.0.0 init function calls*/
var scMultiMain = false;
scImgEnlargeInit();
window.onresize = function() {
	scWinResize();
}
/*End SC Click to Enlarge v3.0.0 init calls*/


/*
* IE PNG transparency fix
* IMPORTANT: call at the end of the document
* IE doesn't create document.body until after the opening <body> tag
*/
function fixAllPNGs() {
	var arVersion = navigator.appVersion.split("MSIE"),
	    version = parseFloat(arVersion[1]);

	if ((version >= 5.5) && (version < 7) && document.body.filters) {
		var imgs = document.getElementsByTagName('img'),
		    mimeTest = /png/i;
		for (var i = 0, img; img = imgs[i]; i++) {
			try {
				if (mimeTest.test(img.mimeType)) {
					fixPNG(img);
					i--;
				}
			} catch (err) {}
		}
	}
};
fixAllPNGs();

