<!-- popUp: code to open a new window with an image. -->
function popUp(URL)
{
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=480,height=640,left = 440,top = 212');");
}

function popItSingle(URL,myWidth,myHeight)
{
	myHeight+=24;
	myWidth+=24;
	newwindow=window.open(URL,'auctionTeaser','height=' + myHeight + ',width=' + myWidth + ',toolbar=no,directories=no,status=no,' + 'menubar=no,scrollbars=no');
	newwindow.resizeTo(myWidth+2,myHeight+30);
	if (window.focus) {newwindow.focus()} 
}

function popItThumb(sPicID)
{
	newwindow=window.open('popup.php?id=' + sPicID,'auctionImage','width=618,scrollbars=yes');
	if (window.focus) {newwindow.focus()} 
}