function fover(item)
{
		document.getElementById(item).style.borderColor = "#FFFFFF";
}
function fout(item)
{
		document.getElementById(item).style.borderColor = "#001053";
}
function iover(item)
{
		document.getElementById(item).style.borderColor = "#001053";
}
function iout(item)
{
		document.getElementById(item).style.borderColor = "#FFFFFF";
}
function popImageviewer(img) {

	newWin = window.open("","ResizeBillede","top=100,left=100,width=300,height=200,status=no,toolbar=no");

	txt = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'
			+ '<ht'+'ml>'
			+ '<he'+'ad>'
			+ '	<tit'+'le>Vis billede</tit'+'le>'
			+ '<scr'+'ipt>'
			+ 'function resPic() {'
			+ '		h=document.images[0].height; w=document.images[0].scrollWidth;'
			+ '		window.resizeTo(w+6,h+67);'
			+ '}'
			+ '</scr'+'ipt>'
			+ '</he'+'ad>'
			+ '<bo'+'dy style="overflow:hidden;border:0px;margin:0px">'
			+ '<table width="100%" cellpadding="0" cellspacing="0" border="0">'
			+ '		<tr>'
			+ '			<td id="topTD" height="20" bgcolor="white" onmouseout="style.backgroundColor=\'white\'" onmouseover="style.backgroundColor=\'#A0A0A4\'" onclick="javascript:window.close();" style="cursor:pointer;" align="center"><strong style="font-size:8pt;font-family:tahoma;">Luk vindue</strong></td>'
			+ '		</tr>'
			+ '		<tr>'
			+ '			<td height="1" bgcolor="black"></td>'
			+ '		</tr>'
			+ '		<tr>'
			+ '			<td><img src="'+img+'" style="top:0px;left:0px;border:0px;" onload="resPic();"></td>'
			+ '		</tr>'
			+ '</table>'
			+ '</bo'+'dy>'
			+ '</ht'+'ml>';

      newWin.document.write(txt);
      newWin.document.close();	
}

