// vars
var Hex=new Array('0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f');
var Pix=new Array('Alma Mater','Angel sounded','The bathing','Bees of Upanishades','Lilac bloom','The Break','Color in window','Colossus',"the Galley's comet",'Cosmic fire','Optimistic crossroad','Crying wall','Curtain','Dawn','Day to day passes talk','Eclipse','Exit','Fence','Field burned with color','Fire','two Forms','Gap','Night highway','Black & white holes',"Jericho's crying","Kite's fly",'Lightning','Lightspots','Line','Double medium','Merry bureaucracy','Meteor shower','Ancient deep midnight','Modern thaw','Motion','Mountains Presentime','Naked','Night around New-York',"Humans' planet",'Presentation to van Gogh','Red & Black',"Noah's dream",'Color rains','Reciprocity','Red sea','Reflection','Ringing regata','Secret becomes obvious','Cheerful silence','Sins','Springlets','Squares','Underground symmetry','Talking squares','Twilight','Underground vanishes','Vivific suspence','Two worlds','Yellow, red, blue');
var Pid=new Array(
	'1985, 100x100cm x8p, orgalith, sand, oil',
	'1994, 120x90cm, canvas, oil',
	'2000, 60x70cm, canvas, wood, oil. Plesanov collection',
	'1994, 120x120cm, canvas, oil',
	'1996, 120x90cm, canvas, oil',
	'1999, 100x100cm, canvas, sand, wood, oil',
	'1994, 90x90cm x3p, canvas, oil',
	'1992, 100x100cm, canvas, oil',
	'1984, 100x100cm, canvas, oil',
	'1996, 120x90cm, canvas, oil',
	'1986, 30x30cm x16p, canvas, oil',
	'1996, 120x90cm x3p, canvas, oil',
	'1987, 100x100cm, canvas, oil',
	'1992, 90x120cm, canvas, oil',
	'1998, 100x100cm x2p, canvas, oil. Herzlia municipality',
	"1998, 100x100cm, canvas, oil. Rozman's collection",
	'1999, 100x100cm, canvas, orgalith, oil',
	'2000, 120x120cm, canvas, wood, oil',
	'1995, 100x100cm, canvas, wood, oil',
	'1999, 100x100cm, canvas, oil',
	'1999, 100x100cm, canvas, foam plastic, oil',
	'1994, 120x90cm, canvas, oil',
	'1985, 120x120cm, canvas, oil',
	'1998, 120x120cm, canvas, oil',
	'1998, 120x120cm, canvas, oil',
	'1992, 100x100cm, canvas, oil',
	'1999, 80x80cm, canvas, oil',
	'1998, 90x90cm, canvas, oil',
	'1991, 60x80cm, canvas, oil. Herzlia municipality',
	'1999, 90x60cm, 70x70cm, canvas, wood, oil',
	'1994, 100x100cm, canvas, oil',
	'1998, 100x100cm, canvas, oil',
	'1999, 80x80cm, canvas, oil',
	"1985, 100x100cm x4p, orgalith, oil. Zimmerly's Museum",
	'1994, 100x100cm, canvas, oil',
	'1996, 120x90cm, canvas, oil',
	"2000, 85x75cm, canvas, wood, oil. Plesanov's collection",
	'1999, 80x80cm, canvas, oil',
	'1998, 120x90cm, 120x12cm, 80x60cm, canvas, wood, oil',
	'1978, 120x90cm, canvas, oil. Nimes municipality',
	'1994, 120x90cm x2p, canvas, oil',
	'1999, 100x100cm, canvas, oil',
	'1998, 120x90cm, canvas, oil',
	'1983, 100x100cm, canvas, oil',
	"1996, 120x120cm, canvas, oil. Efrat's gallery",
	'1994, 80x80cm, canvas, oil, rope',
	'1992, 85x85cm, orgalith, oil',
	'1999, 80x80cm, canvas, oil',
	'1996, 120x90cm, canvas, wood, oil',
	'1998, 120x120cm, canvas, sand, oil',
	'1998, 100x100cm, canvas, oil',
	'1999, 100x100cm, canvas, oil',
	"1987, 80x80cm x4p, canvas, oil. Zimmerly's museum",
	'1998, 120x120cm, canvas, oil',
	'1994, 100x100cm, canvas, oil',
	'1978, 115x171cm, orgalith, oil',
	'1992, 120x90cm, canvas, oil',
	'1999, 110x100cm, canvas, wood, oil',
	'1994, 120x90 x3p, canvas, oil'
	);
sta="Sergey Lapsha's Art studio";
staS=" ";

// funcs
function pic(num){if(num<10) numm='0'+num;else numm=num;document.write('<table width=100% height=100% cellspacing=0 cellpadding=0><tr><td width=1 height=%><a name="'+numm+'"></a></td></tr><tr><td valign="bottom" height=90%><img src="'+numm+'.jpg" alt="'+Pix[num]+'" height=100%></td></tr></table><div align=right>'+Pix[num]+'<br>'+Pid[num]+'</div><br><br>');}		
function picl(num){if(num<10) numm='0'+num;else numm=num;document.write('<td><a href="work.html#'+numm+'" target="work"><img height="77" border=0 src="'+numm+'.gif" alt="'+Pix[num]+'"></a></td><td width=10>&nbsp;</td>');}
function startFade(){if(document.all){obj=window.event.srcElement;obj.clr=8;obj.fade=1;obj.d=1;obj.t=setTimeout('fade('+obj.clr+');',1);};}
function fade(clr){if(obj.fade){obj.style.color='#'+Hex[7+clr]+'00000';obj.style.backgroundColor='#'+Hex[15-clr]+'0'+Hex[15-clr]+'0'+Hex[15-clr]+'0';if(clr<=0||clr>=8) obj.d*=-1;clr+=obj.d;obj.t=setTimeout('fade('+clr+');',1);};}
function stopFade(){if(document.all){obj=window.event.srcElement;obj.fade=0;obj.style.color='#808080';obj.style.backgroundColor='white';clearTimeout(obj.t)};}
function none(){return false;}
function br(){document.write("<br>");}
function link(beg,end,url,tar){document.write('<a href="'+url+'" target="'+tar+'" style="text-decoration:none; color:#808080; cursor:hand"><font color="#808080" face="arial" onmouseover="startFade();" onmouseout="stopFade();">'+beg+'</font><font color="red" face="arial"><b>'+end+'</b></font></a>');}
function llink(text,url){document.write("<tr border=0 bordercolor=#808080><td width=50%>");link("<font size=2><li type=square>"+text+"</font>","",url,"crit");document.write("</td>");}
function rlink(text,url){document.write("<td width=50%>");link("<font size=2><li type=square>"+text+"</font>","",url,"crit");document.write("</td></tr>");}
function TH(text){document.write('<tr border=1 bordercolor="#808080"><th bgcolor="#808080" colspan=3 width=100% style="cursor: default"><font face="arial" color="white">'+text+'</font></th></tr>');}
function TD(text){PI('','<div align=justify>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'+text+'</div>');}
function TI(text){TD('<i>'+text+'</i>');}
function PI(head,text){document.write('<tr border=1 bordercolor="#808080"><td valign="top" align="right" style="cursor: default"><i>'+head+'</i></td><td valign="bottom" style="cursor: default"><font color="#808080" face="arial">'+text+'</td></tr>');}
function PIL(text){PI('<li>&nbsp;',text);}
function st(){if(staS==" ")staS="";else staS=" ";window.status=staS+sta;window.title=staS+sta;stt=setTimeout('st();',100);}

// acts
//document.oncontextmenu=none;
document.ondragstart=none;
