function setPointer(theCell, theLayer, status)
{
	if (typeof(theCell.style) == 'undefined')
	{
		//window.status = "caught event, but something went wrong! theCell.style = " + typeof(theCell.style) + " || theCell.cells = " + typeof(theCell.cells);
        return false;
    	}
	
	theStyle = "#FFFFFF";
	
	if (status == 1)
	{
		switch(theLayer)
		{
			 case 1:
			 theStyle = "#CCCC99";
			 break;
			 case 2:
			 theStyle = "#999966";
			 break;
	 		 case 3:
			 theStyle = "#666633";
			 break;
			 case 4:
			 theStyle = "#333300";
			 break;
 			 default:
			 theStyle = "#FFFFFF";
		}
	}
	if (status == 0)
	{
		switch(theLayer)
		{
			 case 1:
			 theStyle = "#CCCCCC";
			 break;
			 case 2:
			 theStyle = "#999999";
			 break;
	 		 case 3:
			 theStyle = "#666666";
			 break;
			 case 4:
			 theStyle = "#333333";
			 break;
			 default:
			 theStyle = "#FFFFFF";
		}
	}
	//window.status = "caught event! theCell = " + typeof(theCell) + " || theLayer = " + theLayer + " || theStyle = " + theStyle + " || status = " + status;
	theCell.bgColor = theStyle;
	//window.setTimeout("window.status=''",4000);
	
    return true;
} // end of the 'setPointer()' function


function jumpTo(nav, content, image)
{
	if(nav!="")
	{
		parent.navigation.location.href = nav;
	}
	if(content!="")
	{
		parent.content.location.href = content;
	}
	if(image!="")
	{
		parent.images.location.href = image;
	}
}

function display(url, desc)
{ 
  this.document.close();
  this.document.open("text/html");
  this.document.writeln("<html>");
  this.document.writeln("<head>");
  this.document.writeln("<title>content</title>");
  this.document.writeln("<link rel=\"stylesheet\" type=\"text/css\" href=\"css/film03.css\">");
  this.document.writeln("<script src=\"js/functions.js\" type=\"text/javascript\"></script>");
  this.document.writeln("</head>");
  this.document.writeln("<body bgcolor=\"#FFFFFF\">");
  this.document.writeln("<table width=\"100%\" height=\"99%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">");
  this.document.writeln("<tr>");
  this.document.writeln("<td height=\"95%\" id=\"top\">");
  this.document.writeln("<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">");
  this.document.writeln("<tr>");
  this.document.writeln("<td width=\"100%\" id=\"transparent\"><img src=\"images/pixel.gif\" alt=\"spacer\" width=\"80\" height=\"10\" border=\"0\"></td>");
  this.document.writeln("</tr>");
  this.document.writeln("</table>");
  this.document.writeln("<img src=\"images/" + url + "\" alt=\"" + desc + "\" border=\"0\"><br>");
  this.document.writeln("<b>name des bildes:</b>&nbsp;" + url + "<br>");
  this.document.writeln("<b>Beschreibung:</b>&nbsp;" + desc + "<br><br>");
  this.document.writeln("<a href=\"javascript:history.go(-1)\">zurueck</a>");
  this.document.writeln("</td>");
  this.document.writeln("</tr>");
  this.document.writeln("<tr>");
  this.document.writeln("<td height=\"5%\" id=\"bottom\">");
  this.document.writeln("<img src=\"images/pixel.gif\" alt=\"spacer\" width=\"20\" height=\"20\" border=\"0\"><br>");
  this.document.writeln("<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" height=\"5\" border=\"0\">");
  this.document.writeln("<tr>");
  this.document.writeln("<td width=\"100%\" id=\"black\"><img src=\"images/pixel.gif\" alt=\"spacer\" width=\"5\" height=\"5\" border=\"0\"></td>");
  this.document.writeln("</tr>");
  this.document.writeln("</table>");
  this.document.writeln("</td>");
  this.document.writeln("</tr>");
  this.document.writeln("</table>");
  this.document.writeln("</body>");
  this.document.writeln("</html>");
  this.document.close();
}

