function ItemMinMax(Name){
  var MItem=document.all(Name);
//  var Image=document.all('IDI_'.concat(Name));

  if (MItem.style.display=='') {
                  MItem.style.display='none';
//                  Image.src=path.concat('/images/min.gif');
  }  else  {
                  MItem.style.display='';
//                  Image.src=path.concat('/images/max.gif');
            }
}
function changeto(highlightcolor,FontColor)
{
source=event.srcElement
if (source.tagName=="TR"||source.tagName=="TABLE")
return
while(source.tagName!="TD")
source=source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
source.color=FontColor
}
function ChangeImages(ItemImages){
   var ImageItem =document.all('imagePhoto');
  ImageItem.src = ItemImages;
}

function openImageNews(vLink, vHeight, vWidth)
{
	var sLink = (typeof(vLink.href) == 'undefined') ? vLink : vLink.href;

	if (sLink == '')
	{
		return false;
	}

	winDef = 'status=no,resizable=no,scrollbars=no,toolbar=no,location=no,fullscreen=no,titlebar=yes,height='.concat(vHeight).concat(',').concat('width=').concat(vWidth).concat(',');
	winDef = winDef.concat('top=').concat((screen.height - vHeight)/2).concat(',');
	winDef = winDef.concat('left=').concat((screen.width - vWidth)/2);
	newwin = open('', '_blank', winDef);

	newwin.document.writeln('<title>VietNamNet</title><body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">');
	newwin.document.writeln('<a href="" onClick="window.close(); return false;"><img src="', sLink, '" alt="', 'Dong lai', '" border=0></a>');
	newwin.document.writeln('</body>');

	if (typeof(vLink.href) != 'undefined')
	{
		return false;
	}
}
