function h(ob){
theobject=ob
highlighting=setInterval("highlightit(theobject)",50)
}
function l(ob){
clearInterval(highlighting)
ob.filters.alpha.opacity=20
}
function highlightit(ob){
if (ob.filters.alpha.opacity<100)
ob.filters.alpha.opacity+=5
else if (window.highlighting)
clearInterval(highlighting)
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function gd()
{
	d=new Date();
	d1=d.getDate();
	d2=d.getMonth()+1;
	d3=d.getFullYear();
	a=document.all["DateCell"];
	a.innerHTML="<nobr>Сегодня &nbsp;&nbsp;"+d1+"/"+d2+"/"+d3+"</nobr>";	
}

	function photo(path){
	hWnd = window.open("about:blank", "", "menubar=0,resizable=0,status=0,tollbar=0,scrollbars=0,width=600,height=450");

	hWnd.document.open();
	hWnd.document.writeln( "<html>" );
	hWnd.document.writeln( "<head><title>Art Style Decor - Портфолио</title>" );
	hWnd.document.writeln("</head>");
	hWnd.document.writeln("</head>");
	hWnd.document.writeln( "<body bgcolor=#FFFFFF leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0 background='../background.jpg'>" );
	hWnd.document.writeln( "<img src='img/lastworks/"+path+".jpg' alt='' width='600' height='450' border='0'>" );
	hWnd.document.writeln( "<div style='z-index: 2; position: absolute; top: 0px; left: 0px;'><img src='portf/logo.gif' border='0'></div>" );
	hWnd.document.writeln( "</body>" );
	hWnd.document.writeln( "</html>" );
	hWnd.document.close();
}