﻿function statusTxt(txt) {
	setTimeout('status="' + txt + '"', 10);
	return true;
}

function popUpWin(pageSrc, windowFeatures) {
	if (pageSrc.substring(0,6) == "mailto") {
		window.location = pageSrc;
		return false;
	} else {
		windowName = "ckrwRandWin" + Math.floor(Math.random() * 1000000)
		theWindow = window.open(pageSrc, windowName, windowFeatures);
		theWindow.focus();
		return false;
	}
}

function popUpImg(pageSrc, windowFeatures) {
	theWindow = window.open(pageSrc, "imgViewer", windowFeatures);
	theWindow.focus();
	return false;
}