/* NEWS JS */

/* --------------------------------------------------------------------------------------------------------------------- popup [functions] */
// <a href="#" onClick="allZooms('url.html','ZoomWindow','width','height','scroll','resize'); return false;"> - link - </a>
// width [500 | 516] / height [500] / scroll [0 | 1] / resize [0 | 1]
function allZooms (url, name, width, height, scroll, resize) {
	var params = "width="+width+",height="+height;
		 params += (scroll) ? ",scrollbars="+scroll : ",scrollbars=0";
		 params += (resize) ? ",resizable="+resize : ",resizable=0";
	var strAlert = "url="+url+",name="+name+",params="+params;
	var pup = window.open(url,name,params);
	pup.focus();
}


/* --------------------------------------------------------------------------------------------------------------------- font [functions] */
// printer friendly font size change function
function changeFont (s, k) {
	var size = k + "px";
	if (document.getElementById) { document.getElementById(s).style.fontSize = size; }
	else { document.ids.typeface.fontSize = size; }
}


/* --------------------------------------------------------------------------------------------------------------------- zoom [functions] */
// open / close (cycle-through) "more" absolutely positioned info panels
function openSlide (s) {
	if (document.getElementById) { parent.document.getElementById(s).style.visibility = "visible"; }
	else { parent.document.layers[s].visibility = "show"; }
}

function closeSlide (s) {
	if (document.getElementById) { parent.document.getElementById(s).style.visibility = "hidden"; }
	else { parent.document.layers[s].visibility = "hide"; }
}

/* END NEWS JS */
