
var IsFontTextLarge = false;

function resetTextSize() {
	
	if (IsFontTextLarge) {		
		decreaseFontSize();
	}
	else 
	{		
		increaseFontSize();
	}
}

function increaseFontSize() {
	document.getElementById('dnn_imgTextSize').src = DNN_skinPath + 'images/reducetext.jpg';
	//alert('DNN_skinPath:'+document.getElementById('dnn_imgTextSize').src);
	//document.all.dnn_imgTextSize.src = DNN_skinPath + 'images/largertext.gif';
	var p = document.getElementsByTagName('p');	
	var unorder = document.getElementsByTagName('ul');	
	var order = document.getElementsByTagName('ol');
	for(i=0;i<p.length;i++) {
		  p[i].style.fontSize = 16+'px';
		}
	for(i=0;i<unorder.length;i++) {
		  unorder[i].style.fontSize = 16+'px';
		}
		for(i=0;i<order.length;i++) {
		  order[i].style.fontSize = 16+'px';
		}
	IsFontTextLarge = true;
}
function decreaseFontSize() {
	document.getElementById('dnn_imgTextSize').src = DNN_skinPath + 'images/largertext.gif';
	//document.all.dnn_imgTextSize.src = DNN_skinPath + 'images/largertext.gif';	
	var p = document.getElementsByTagName('p');	
		var unorder = document.getElementsByTagName('ul');	
	var order = document.getElementsByTagName('ol');
	for(i=0;i<p.length;i++) {
		  p[i].style.fontSize = 12+'px';
		}
	for(i=0;i<unorder.length;i++) {
		  unorder[i].style.fontSize = 12+'px';
		}
		for(i=0;i<order.length;i++) {
		  order[i].style.fontSize = 12+'px';
		}
	IsFontTextLarge = false;
}	

//sIFR implementation
function page()
{
var snell = {  src: DNN_skinPath + 'snell.swf' };
sIFR.activate(snell);
sIFR.replace(snell, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'snell.swf', 
  css: [ '.sIFR-root {color:#3E4A00;font-size:30px;text-indent:10px;}'  ]
});
}

/*Menu implementation */
jQuery(document).ready(function(){
	jQuery("#MainMenu > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		speed:"normal",
		oldJquery:false,
		disableHI:false,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}
	});
});



