// website by www.artwise.com.au

// Image Detail Popup
function imageView(iFile,iTitle,iArtist,iW,iH,iMedia,iDim,iCat,iPhoto,iGall,iSale){
wP = 87;
wH = iH+wP;
wW = iW+10;
wPosX = 50;
wPosY = 50;
var iDot;
if(iSale=='sold'){iDot='reddot.gif'}
else iDot='greydot.gif'
preview = window.open("", "","resizable=no,toolbar=no,scrollbars=no,menubar=no,status=no,directories=no,width="+wW+",height="+wH+",left="+wPosX+",top="+wPosY+"");
preview.document.write('<html><head><title>'+iTitle+' - '+iArtist+' - SxSea Artservices<\/title>'
+'<link rel="stylesheet" href="/3_popup.css" type="text/css"><\/head>'
+'<body onBlur="self.focus();" marginwidth="5" marginheight="0" leftmargin="5" topmargin="0" bgcolor="#ffffff">'
+'<div align="right">'
+'<div id="title">'+iTitle+'<\/div>'
+'<div id="artist">'+iArtist+'<\/div>'
+'<div id="media">'+iMedia+', '+iDim+'<\/div>'
+'<div id="cat">Catalogue No: '+iCat+' Exhibition<\/div><\/div>'
+'<center>'+'<a href="javascript:self.close()">'
+'<img border="0" title="click image to close window" src="gallery/'+iFile+'" width="'+iW+'" height="'+iH+'">'
+'<\/a><\/center>'
+'<div id="dot"><a href="http://www.sculpturebythesea.com/artservices" target="_blank">'
+'<img src="images/'+iDot+'" width="10" height="10" border="0" title="Sales"><\/a><\/div>'
+'<table border="0" width="100%" cellspacing="0"><tr><td id="gall">'+iGall+'<\/td>'
+'<td id="photo">Photograph: '+iPhoto+'<\/td><\/tr><\/table>'
+'<\/body><\/html>');

preview.document.close();}


function artistSearchImageView( iFile, iTitle, iArtist, iW, iH, iMedia, iDim, iCat, iPhoto, iGall, iSale, iPrice )
{
	wP = 140;
	wH = iH+wP;
	wW = iW+40;
	wPosX = 50;
	wPosY = 50;
	var iDot;
	if( iSale=='sold' )
		iDot='reddot.gif';
	else 
		iDot='greydot.gif'
	preview = window.open( "", "", "resizable=no,toolbar=no,scrollbars=no,menubar=no,status=no,directories=no,width="+wW+",height="+wH+",left="+wPosX+",top="+wPosY+"");
	preview.document.write(
	'<html><head><title>'+iTitle+' - '+iArtist+' - SxSea Artservices<\/title>'
	+'<link rel="stylesheet" href="/3_popup.css" type="text/css"><\/head>'
	+'<body onBlur="self.focus();" marginwidth="5" marginheight="0" leftmargin="5" topmargin="0" bgcolor="#ffffff">'
	+'<div align="right">'
	+'<div id="title">'+iTitle+'<\/div>'
	+'<div id="artist">'+iArtist+'<\/div>'
	+'<div id="media">'+iMedia+', '+iDim+'<\/div>'
	+'<div id="cat">'+iCat+'<br />'+iPrice+'<\/div><\/div>'
	+'<center>'+'<a href="javascript:self.close()">'
	+'<img border="0" title="click image to close window" src="'+iFile+'" width="'+iW+'" height="'+iH+'">'
	+'<\/a><\/center>'
	+'<div id="dot"><a href="http://www.sculpturebythesea.com/artservices" target="_blank">'
	+'<img src="/images/'+iDot+'" width="10" height="10" border="0" title="Sales"><\/a><\/div>'
	+'<table border="0" width="100%" cellspacing="0"><tr><td id="gall">'+iGall+'<\/td>'
	+'<td id="photo">Photograph: '+iPhoto+'<\/td><\/tr><\/table>'
	+'<\/body><\/html>');

	preview.document.close();
}