<!-- Begin POP-UP SIZES AND OPTIONS CODE


function popUpSlideshow(URL) {
var slideshow_width = 550
var slideshow_height = 450
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='+slideshow_width+',height='+slideshow_height+'');");
}


function popup(URL) {
var view_width = screen.availWidth
var view_height = screen.availHeight
var look='toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+',fullscreen=yes'
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<html><head><title>Close Up</title>')
popwin.document.write('<link rel=StyleSheet href="images/style.css" type="text/css" media="screen">')
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function SetBG(color){')
popwin.document.write('document.bgColor = color;')
popwin.document.write('}')
popwin.document.write('</script>')
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#999999" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 marginheight=0 marginwidth=0  onload="javascript:windowCloseTimer()">')
popwin.document.write('<table width="100%" height="96%" border=0 cellpadding=0 cellspacing=0><tr><td align="center">')
popwin.document.write('<a href="#" onClick="window.close()"><img border=10 src="cars/'+URL+'" GALLERYIMG="no" style="border: 6px solid #1A1A1A"></a>')
popwin.document.write('</td></tr><tr><td>')
popwin.document.write('<table align=center cellpadding=0 cellspacing=2 border=0><tr>')
popwin.document.write('<td bgcolor="#FFFFFF" onmouseover="SetBG(\'#FFFFFF\')"><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td bgcolor="#E5E5E5" onmouseover="SetBG(\'#E5E5E5\')"><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td bgcolor="#CCCCCC" onmouseover="SetBG(\'#CCCCCC\')"><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td bgcolor="#B3B3B3" onmouseover="SetBG(\'#B3B3B3\')"><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td bgcolor="#999999" onmouseover="SetBG(\'#999999\')"><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td bgcolor="#808080" onmouseover="SetBG(\'#808080\')"><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td bgcolor="#666666" onmouseover="SetBG(\'#666666\')"><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td bgcolor="#4D4D4D" onmouseover="SetBG(\'#4D4D4D\')"><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td bgcolor="#333333" onmouseover="SetBG(\'#333333\')"><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td bgcolor="#1A1A1A" onmouseover="SetBG(\'#1A1A1A\')"><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td bgcolor="#000000" onmouseover="SetBG(\'#000000\')"><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td><img src="images/spacer.gif" width=18 height=18 border=0></td>')
popwin.document.write('<td><a href="#" onClick=window.close()><img src="images/b_close.gif" width=18 height=18 border=0></a></td>')
popwin.document.write('</tr></table></td></tr></table>')
popwin.document.write('</body></html>')
popwin.document.close()
}


function SetBG(color){
	document.bgColor = color;
}

function winclose(){
	self.close();
}
	
function windowCloseTimer(){
	if (document.all){
		var W = document.images[0].width + 12;
		var H = document.images[0].height + 31;
	}
	else{
		var W = document.images[0].width;
		var H = document.images[0].height;
	}		

	//window.moveTo((screen.width - W)/2,(screen.height - H)/2);
	//window.resizeTo(W,H);
		
	window.setInterval('winclose()',20000)
}


// End -->