//ediy v2
function init() {
n=navigator.userAgent;
w=n.indexOf("MSIE");
if((w>0)&&(parseInt(n.charAt(w+5))>5))
{
	T=["object","embed","applet"];
	for(j=0;j<3;j++)
	{
		E=document.getElementsByTagName(T[j]);
		for(i=0;i<E.length;i++)
		{
			P=E[i].parentNode;
			H=P.innerHTML;
			P.removeChild(E[i]);
			P.innerHTML=H;
		}
	}
}
}

window.onload = init;

function printPage()
{
   var options = "menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=630,height=460;"
   url = top.location.href;
   if (url.indexOf("#")>0) url = url.substring(0, url.indexOf("#"));
   if (url.indexOf("?")>0) url = url + "&vprint=yes";
   else url = url + "?vprint=yes";
   printWindow=window.open(url,"_blank",options);
}

function openURLinWindow(url, w, h)
{
	var height = screen.height;
	var width = screen.width;
	var left = width/2-w/2;
	var top = height/2-h/2;
	win = window.open(url, "veterina", "toolbar=0, status=0, resizable=0, scrollbars=1, top="+top+", left="+left+", width="+w+", height="+h+"");
	win.focus();	
}