docLoaded = false;
	
function rollOver( num ) {
	if( document.images && docLoaded ) {
		document.images[ ( 'b' + num ) ].src = rollArray[num-1][1].src;
	}
}

function rollOut( num ) {
	if( document.images && docLoaded ) {
		document.images[ ( 'b' + num ) ].src = rollArray[num-1][0].src;
	}
}

function openSmallWin( addr, width, height ) {
	
	ver = navigator.appVersion.toLowerCase();
	agent = navigator.userAgent.toLowerCase();
	width += 10;
	height += 20;
	
	if( ver.indexOf("msie") != -1 ) {
		if( agent.indexOf("win") != -1 ) {
			height += 25;
			width += 20;
		}
	} else {
		if( agent.indexOf("win") != -1 ) {
			height += 10;
			width += 10;
		} else {
			height += 20;
		}
	}
	
	winX = Math.round( (screen.width - width) / 2);
	winY = Math.round( (screen.height - height) / 2);
	sWin = window.open( addr, "sWin", "directories=no,height=" + height + ",width=" + width + ",location=no,menubar=no,left=" + winX + ",screenX=" + winX + ",top=" + winY + ",screenY=" + winY + ",status=no,toolbar=no,resizable=yes,scrollbars=yes" );
	window.sWin.focus();
} 
