 
// imapePopup.js
//
// pops up an image in it's own window

function imagePopup (thepic, thewidth, theheight) {

	if (document.all) {
		window.open ('/include/scripts/imagePopup.htm?pic=' + thepic + '&w=' + thewidth + '&h=' + theheight, 'bigPic', 'leftmargin=0,topmargin=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + thewidth + ',height=' + theheight + ',left=20,top=20')
	} else {
		window.open ('/include/scripts/imagePopup.htm?pic=' + thepic + '&w=' + thewidth + '&h=' + theheight, 'bigPic', 'leftmargin=0,topmargin=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + thewidth + ',height=' + theheight + ',screenx=20,screeny=20')
	}
}
 
function imagePopupWithBlur (thepic, thewidth, theheight) {

	if (document.all) {
		window.open ('/include/scripts/imagePopup.htm?closeOnBlur=1&pic=' + thepic + '&w=' + thewidth + '&h=' + theheight, 'bigPic', 'leftmargin=0,topmargin=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + thewidth + ',height=' + theheight + ',left=20,top=20')
	} else {
		window.open ('/include/scripts/imagePopup.htm?pic=' + thepic + '&w=' + thewidth + '&h=' + theheight, 'bigPic', 'leftmargin=0,topmargin=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + thewidth + ',height=' + theheight + ',screenx=20,screeny=20')
	}
}

