/*
function goToPage(obj) {
	var sel = document.getElementById(obj);
	alert(sel.options[sel.selectedIndex].value);
	if(sel.options[sel.selectedIndex].value.indexOf('index') > 0) {
		alert('yep');
	}
	else {
		alert('nope');
	}
}


function changeFontSize(strDirection){

	var objBody = document.getElementById('body');

	if(objBody.currentStyle){

		var y = objBody.currentStyle['fontSize'];
	
		y = parseFloat(y);
	
		if(strDirection == '+') {
	
			objBody.style.fontSize = (y + 0.1) + 'em';
	
		} 
		else if(strDirection == '-') {
	
			objBody.style.fontSize = (y - 0.11) + 'em';
	
		}
	
		if(strDirection == '+') {
	
			if(y == 'xx-small')
		
			objBody.style.fontSize = 'x-small';
		
			else if(y == 'x-small')
		
			objBody.style.fontSize = 'small';
		
		} 
		else if(strDirection == '-') {
		
			if(y == 'small')
			
				objBody.style.fontSize = 'x-small';
			
			else if (y == 'x-small')
			
				objBody.style.fontSize = 'xx-small';
	
		}
	
		SetCookie('fontSize', objBody.currentStyle['fontSize']);
	
	} 
	
	else if (window.getComputedStyle) {
	
		var y = document.defaultView.getComputedStyle(objBody,null).getPropertyValue('font-Size');
		
		y = parseInt(y);
			
		if(strDirection == '+') {
		
			objBody.style.fontSize = (y + 1) + 'px';
		
		} 
		else if(strDirection == '-') {
			objBody.style.fontSize = (y - 1) + 'px';
		}
	
		SetCookie('fontSize', document.defaultView.getComputedStyle(objBody,null).getPropertyValue('font-Size'));
	
	}
	

}

function SetCookie(name, value){
	var argv = SetCookie.arguments;
	var argc = SetCookie.arguments.length;
	var expires = (argc > 2) ? argv[2] : null;
	var path = (argc > 3) ? argv[3] : null;
	var domain = (argc > 4) ? argv[4] : null;
	var secure = (argc > 5) ? argv[5] : false;
	
	document.cookie = name + " = " + escape (value) +
	((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
	((path == null) ? "" : ("; path=" + path)) +
	((domain == null) ? "" : ("; domain=" + domain)) +
	((secure == true) ? "; secure" : "");
}

*/
