function WinOpen(pic,w,h){
	path=pic;	
	w=w+30+35
	h=h+70+35;
	newWin=window.open(path,"","toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+w+",height="+h+",top=50,left=100");
	newWin.document.write('<html><head><title>PORTRET.LV</title></head><body bgcolor="#000000" LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="10"><table align="center" valign="top"><tr><td align="center" valign="top"><img src="'+path+'" style="border-color: #ffffff" border="35"></td></tr></table></body></html>');
}
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=80
}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=20
else if (window.highlighting)
clearInterval(highlighting)
}
function rld() {
document.location.reload()
}

