function openPEWindow1(file) {
	peWindow = window.open(file,"photoEssay","width=770,height=648,scrollbars=0,resizable=0,status=no,toolbar=no,location=no")
	window.peWindow.focus();
}

function openVidWindowDoDvclips(id) {
	vidWindow = window.open("http://www.dodvclips.mil/?skin=oneclip&fr_story=" + id + "&rf=ev&autoplay=true","dodvclips","width=322,height=277,scrollbars=0,resizable=0,status=no,toolbar=no,location=no")
	window.vidWindow.focus();
}

function openVidWindow(file,x,y) {
	vidWindow = window.open(file,"vidWindow","width=" + x + ",height=" + (y + 61) + ",scrollbars=0,resizable=0,status=no,toolbar=no,location=no")
	window.vidWindow.focus();
}

function openVidWindow2(file,x,y) {
	vidWindow = window.open(file,"vidWindow","width=" + x + ",height=" + (y + 31) + ",scrollbars=0,resizable=0,status=no,toolbar=no,location=no")
	window.vidWindow.focus();
}

function openGenericWindow(file,x,y) {
	genericWindow = window.open(file,"genWindow","width=" + x + ",height=" + y + ",scrollbars=0,resizable=0,status=no,toolbar=no,location=no")
	window.genericWindow.focus();
}


function fontAdjuster(x) {
	theSize = (document.getElementById('contentBody').style.fontSize)? document.getElementById('contentBody').style.fontSize.replace("px","") : "12";
	theSize = parseInt(theSize) + x;
	if (theSize < 19 && theSize > 10) {
		document.getElementById('contentBody').style.fontSize = theSize + "px";
	}
}