var flashPop = null

function openFlashPop(url,w,h) {
	if (!flashPop || flashPop.closed) {
		LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
		TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
		settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',status=no,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no'
		flashPop = window.open(url,'flashpop',settings)
  	}

	else {
		flashPop.close();
		openPicPop(url,w,h);
		flashPop.focus();
  	}
}


function goCollection() {
	window.opener.location.href = "collection.asp";
	window.close();
  	}