//var window.is_big=777;

function smallImg(id,src,height)
{
	if(window.is_big!=id)
	{
		var img=document.getElementById(id);
		img.src=src;
		img.style.zIndex=2;
		img.style.top=height;
		document.getElementById("swapimg").innerHTML="on";
	}
		document.body.style.cursor = 'default';
}

function mediumImg(id,src,height)
{
	if(window.is_big!=id)
	{
		var img=document.getElementById(id);
		img.src=src;
		img.style.zIndex=3;
		img.style.top=height;
		document.body.style.cursor = '-moz-zoom-in';
	}
	else
	{
		document.body.style.cursor = '-moz-zoom-out';
	}
}

function bigImg(id,srcoff,srcon,height)
{
	var img=document.getElementById(id);
	check = document.getElementById("swapimg").innerHTML;
	if(check=="on")
	{	
		window.is_big=id;
		document.getElementById("swapimg").innerHTML="off";
		img.src=srcoff;
		img.style.zIndex=3;
		img.style.top='23px';
		img.style.border='border 1px';
		document.body.style.cursor = '-moz-zoom-out';
	}
	else
	{
		window.is_big=777;
		document.getElementById("swapimg").innerHTML="on";
		img.src=srcon;
		img.style.zIndex=3;
		img.style.top=height;
		document.body.style.cursor = '-moz-zoom-in';
	}
	
}

function showHide( id )
{
	if( document.getElementById(id).style.display == 'none' )
	{
		document.getElementById(id).style.display = 'inline';
	}
	else
	{
		document.getElementById(id).style.display = 'none';
	}
}

