/**
* textResizeElement 
 * The ID of the element to be resized; global variable
 */
var textResizeElement = "ecomm_shopContent";
/**
 * Check for existing text size preference. Changes the text resize class if detected.
 */
$(document).ready(function() {
	element = document.getElementById(textResizeElement)
	if($.cookies.get('TEXT_SIZE')) {
		element.className = ($.cookies.get('TEXT_SIZE'));
	} }); 
/**
 * Text Size 
 * Changes the class on the element specified by textResizeElement, which changes the text size given the CSS has been included to do so.
 */
function fntxtsize(textSize)
{
	element = document.getElementById(textResizeElement)
	element.className = textSize;
	$.cookies.set('TEXT_SIZE',textSize, { path: '/', expires: 10000 });
}
