

function button_on ( imgId )
{
  if ( document.images )
  {
    butOn = eval ( imgId + "_on.src" );
    document.getElementById(imgId).src = butOn;
  }
}

function button_off ( imgId )
{
  if ( document.images )
  {
    butOff = eval ( imgId + "_off.src" );
    document.getElementById(imgId).src = butOff;
  }
}

	
	
function changeFontSize(id){
 // var ourText = $('p');
  var ourText = $('.text-content p, .text-content a, .post p' );
  //text-content
  //console.log($("p").css('fontSize'));
  var currFontSize = $("p").css('fontSize');
  var finalNum = parseFloat(currFontSize, 10);
  //var stringEnding = currFontSize.slice(-2);
  if(id == 'big') {
	finalNum = 15;
	createCookie('font-size','big',1)
  }
  else if (id == 'normal'){
	finalNum = 14
	createCookie('font-size','normal',1) 
  }
  else if (id == 'small'){
	createCookie('font-size','small',1)
	finalNum = 13;  
  }
  ourText.css('fontSize', finalNum + "px");
  //ourText.css('fontSize', finalNum + stringEnding);
 }

$(function(){  /* Ready Function */
	
});





