function remWindow(url,winname,parameters){
	var popRemote;
	popRemote = window.open(url,winname,parameters);
	popRemote.focus();
}

function printpage(){
	window.print();
}



// image randomizer 
var rand1 = 0;
var useRand = 0;
images = new Array;
images[1] = new Image();
images[1].src = "http://www.ccfound.org/images/pic00_head.jpg";
images[2] = new Image();
images[2].src = "http://www.ccfound.org/images/pic01_head.jpg";
images[3] = new Image();
images[3].src = "http://www.ccfound.org/images/pic02_head.jpg";
images[4] = new Image();
images[4].src = "http://www.ccfound.org/images/pic03_head.jpg";
images[5] = new Image();
images[5].src = "http://www.ccfound.org/images/pic04_head.jpg";
images[6] = new Image();
images[6].src = "http://www.ccfound.org/images/pic05_head.jpg";
images[7] = new Image();
images[7].src = "http://www.ccfound.org/images/pic06_head.jpg";
images[8] = new Image();
images[8].src = "http://www.ccfound.org/images/pic07_head.jpg";
images[9] = new Image();
images[9].src = "http://www.ccfound.org/images/pic08_head.jpg";


function swapPic() {
	var imgnum = images.length - 1;
	do {
		var randnum = Math.random();
		rand1 = Math.round((imgnum - 1) * randnum) + 1;
		}  while (rand1 == useRand);
	useRand = rand1;
	document.randimg.src = images[useRand].src;
}
