function dalyvis()
{
	var arr = document.getElementsByTagName("div");
	var isIE = navigator.userAgent.indexOf("MSIE");

	for( x=0; x < arr.length; x++ )
	{
		if( arr[x].className == "dalyvis" )
		{
			if( isIE == -1 )
			{
				arr[x].addEventListener('mouseover', function (){
					this.className = 'dalyvis d-highlight';
				},false);

				arr[x].addEventListener('mouseout', function (){
					this.className = 'dalyvis';
				},false);
			}
			else
			{
				arr[x].onmouseover = function (){
					this.className = 'dalyvis d-highlight';
				};

				arr[x].onmouseout = function (){
					this.className = 'dalyvis';
				};
			}
				
			/*var photo = 0;

			arr[x].childElements().each( function(obj){
												  
				if( obj.className == 'photo' )
				{
					photo = obj.getWidth();
				}
				else if( obj.className == 'inner' )
				{
					if( photo != 0 )
					{
						obj.setStyle({width: 265 - photo + "px"});
					}

					photo = 0;
				}
			});*/
		}
	}
}

//addLoadEvent(dalyvis);
