// JavaScript Document
function swapImg(imgName, imgSrc) {
	document.images[imgName].src = imgSrc;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
	 window.open(theURL,winName,features);
}

function openPop(sUrl, sName, iWidth, iHeight, sFeatures) {
	sFeatures += ',toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=' + iWidth + ',height=' + iHeight + ',top=' + (Math.round((screen.height - iHeight + 6)/2)) + ',left=' + (Math.round((screen.width - iWidth - 20)/2));
	window.open(sUrl,sName,sFeatures);
}
function openPopup(sFile, sWindowName, iWidth, iHeight, bStatus, bScrollbars){
	iLeft = (screen.width - iWidth) / 2;
	iTop = (screen.height - iHeight) / 2;

	sFeatures  = 'width=' + iWidth;
	sFeatures += ',height=' + iHeight;
	sFeatures += ',top=' + iTop;
	sFeatures += ',left=' + iLeft;
	sFeatures += ',status=' + bStatus;
	sFeatures += ',scrollbars=' + bScrollbars;

	open( sFile, sWindowName, sFeatures );
}

