/* Remove the Name ActiveX control (Name.dll) requirement public facing sharepoint site */
function ProcessImn() { }
function ProcessImnMarkers() { }

// Image rollover and rollout functions
function imgOut(image) {
	ext = image.src.substr(image.src.lastIndexOf('.') + 1);
	image.src = image.src.replace(new RegExp('ov.' + ext + '$'), 'on.' + ext);
	try { image.style.filter = image.style.filter.replace(new RegExp('ov.png'), 'on.png'); } catch (e) { }
}

function imgOver(image) {
	ext = image.src.substr(image.src.lastIndexOf('.') + 1);
	image.src = image.src.replace(new RegExp('on.' + ext + '$'), 'ov.' + ext);
	try { image.style.filter = image.style.filter.replace(new RegExp('on.png'), 'ov.png'); } catch (e) { }
}

$(document).ready(function() {
	// Reset Font Size
	var originalFontSize = $('html').css('font-size');
	var newFontSize = parseFloat(originalFontSize);
	$(".reset_font").click(function() {
		$('html').css('font-size', originalFontSize);
	});
	// Increase Font Size
	$(".increase_font").click(function() {
		newFontSize = newFontSize * 1.2;
		$('html').css('font-size', newFontSize);
		return false;
	});
	// Decrease Font Size
	$(".decrease_font").click(function() {
		newFontSize = newFontSize / 1.2;
		$('html').css('font-size', newFontSize);
		return false;
	});
});
