$(document).ready(function(){
	// Increase Font Size
    $("#increase_font").click(function(){
		var currentFontSize = $('html').css('font-size');
        var currentFontSizeNum = parseFloat(currentFontSize, 10);
        var newFontSize = currentFontSizeNum*1.1;
		if( newFontSize < 25){
        $('html').css('font-size', newFontSize);}
        return false;
    });

    // Decrease Font Size
    $("#decrease_font").click(function(){
        var currentFontSize = $('html').css('font-size');
        var currentFontSizeNum = parseFloat(currentFontSize, 10);
        var newFontSize = currentFontSizeNum*0.9;
		if( newFontSize > 12){
        $('html').css('font-size', newFontSize);}
        return false;
    });
});

function removeImages(){ if(document.images.length > 0){ (function(){ function to(c) { var a,k; a=new Array; for(k=0;k < c.length;++k) a[k]=c[k]; return a;} var im,img,xt; im=to(document.images); for(var i=0;iim.length;++i){ img=im[i]; e=document.createElement('span'); void(e.style.background='#f5deb3'); void(e.style.color='navy'); if(img.attributes.alt.specified!=true) {xt=document.createTextNode('NoAlt!')} else {xt=document.createTextNode(img.alt+' ')}e.appendChild(xt); img.parentNode.replaceChild(e,img)}})();} else {history.go()} }

function linearize (){ var H=[],Y={TABLE:1,TR:1,TD:1,TH:1,CAPTION:1,DIV:1},d=[],p; function R(N){ var a,x,i,t; if(t=N.tagName){ t=t.toUpperCase(); for (i=0;a=H[i];++i) if(N.getAttribute(a))N.removeAttribute(a); for(i=0;x=N.childNodes[i];++i)R(x); if (Y[t])d.push(N); } } R(document.documentElement); for (i=0;N=d[i];++i) { p=N.parentNode; while(N.firstChild)p.insertBefore(N.firstChild,N); p.removeChild(N); } } 

function disableInlineStyles() { var H=["style"],Y={},d=[],p; function R(N){ var a,x,i,t; if(t=N.tagName){t=t.toUpperCase(); for(i=0;a=H[i];++i)if(N.getAttribute(a))N.removeAttribute(a); for(i=0;x=N.childNodes[i];++i)R(x);if(Y[t])d.push(N);}}R(document.documentElement); for(i=0;N=d[i];++i){ p=N.parentNode; while(N.firstChild)p.insertBefore(N.firstChild,N); p.removeChild(N);}} 

function disableStyle() { if (!document.getElementsByTagName) return; var anchors = document.getElementsByTagName("link"); for (var i=0; i < anchors.length; i++) {var anchor = anchors[i]; if (anchor.getAttribute("rel") == "stylesheet") anchor.disabled = "true";}} 
