	//================================
	// DISPLAY IMAGE WINDOW
	//================================

var image,wide,high
var cond1,cond2

function transferview(image,wide,high)

        {if (wide==0) cond1=" "
        else cond1="width="+(wide+20)+"";

        if (high==0) {cond2=" "}
        else {cond2="height="+(high+60)+""};

var slash ="/"
var s1 ="<title>Image<"+slash+"title>"
var s15=""
var s2 ="<div style='font-size:10px;font-family:Arial,sans-serif;text-align:center;'><center><a href='javascript://' onclick='self.close()'>close<"+slash+"a><br> &nbsp;"
var s3 ="<br>"
var s4 ="<img src='"+image+"' border='0' width='"+wide+"' height='"+high+"'>"
var s5 ="<"+slash+"center><"+slash+"div>"

        ImageWindow=window.open("", "newwin","toolbar=no,resizable=yes,menubar=no,"+cond1+","+cond2);
        ImageWindow.document.write(s1+s15+s2+s3+s4+s5)
        ImageWindow.document.close()
        }

	//================================
	// CHANGE DISPLAY
	//================================

function change_display(id)

        {
	// IE4
	{if (document.all)
	{if (document.all[id].style.display != "none")
	{document.all[id].style.display = "none"; }
	else {document.all[id].style.display = ""; }}

	// IE5, NS6
	  else {if (document.getElementById)
	  {if (document.getElementById(id).style.display != "none")
	  {document.getElementById(id).style.display = "none";}
	  else {document.getElementById(id).style.display = "";}}}}
        }