// JavaScript Document

function $(n){
	return document.getElementById(n);
}

function showPic(y_img,strSrc,title){
		$("lod").style.display="";
		var IE = navigator.userAgent.indexOf("MSIE")>0? 1: 0; 
		if(IE) { 
			$("image_m").filters.alpha.opacity=10; 
		} 
		else { 
			$("image_m").style.opacity=0.1; 
		} 
	  $("image_m").src=y_img;  
	  var nimg = new Image();
	  nimg.onload = function(){$("image_m").src = nimg.src;$("lod").style.display="none";}
	  nimg.src = strSrc;
	  high($("image_m"));
	  $("title").innerHTML=title;
	  
}
var highlighting;
function highlightit(cur2)
	{
		var IE = navigator.userAgent.indexOf("MSIE")>0? 1: 0; 
		if(IE) { 
		if (cur2.filters.alpha.opacity<100)
			{cur2.filters.alpha.opacity+=5;}
		else
			{clearInterval(highlighting);}
		} 
		else {
		if (parseFloat(cur2.style.opacity)<1){
			cur2.style.opacity=parseFloat(cur2.style.opacity)+0.05;
		}
		else
		{	clearInterval(highlighting);}
		} 
	}
	
	function high(which2)
	{
		clearInterval(highlighting);
		theobject=which2;
		highlighting=setInterval("highlightit(theobject)",40);
	}

