function preloadImages() {
if (document.images)
	{
	var arrow_roll = new Image
		arrow_roll.src = "cvfrontier/images/btn_arrow_over.jpg"
	var back_roll = new Image
		back_roll.src = "cvfrontier/images/btn_back_over.gif"
	}
}

function changeImages(sName,sImage)
	{
	if (document.images)
		{
		document.images[sName].src = sImage
		}
	}

function openWindow(theURL,winName,features)
	{
	window.open(theURL,winName,features).focus();
	}

function closeWindow()
	{
	window.close();
	}

if (document.layers)
	{
	origWidth = innerWidth;
	origHeight = innerHeight;
	}
function reloadPage()
	{
	if (innerWidth != origWidth || innerHeight != origHeight)
	location.reload();
	}
if (document.layers)
	onresize=reloadPage;
	
function goHistory()
	{
	history.back();
	}