var d = document
function graphics(){
              this.length = graphics.arguments.length;
                for (var i = 0; i < this.length; i++) {
                this[i] = new Image();
                this[i].src = graphics.arguments[i];}}
function display(imname) {
 if (document.images) {
           d.change.src=("images/"+imname+".gif");
               
         }
     }
function display_out() {
 if (document.images) { d.change.src=("images/line_b_h.gif"); }
                                                }

function displaymenu(imname) {
 if (document.images) {
           d.tm.src=("info/tm-"+imname+".gif");
               
         }
     }
function displaymenu_out() {
 if (document.images) { d.tm.src=("info/arrow_g.gif");


 }
                }

function displayarrow(imname) {
 if (document.images) {
           d.changearrow.src=("info/changearrow-"+imname+".gif");
               
         }
     }
function displayarrow_out() {
 if (document.images) { d.changearrow.src=("info/arrow_impressum_g.gif");


 }
                }

function one_gif(image) {
        if (document.images) {
             var src = image.src;
             var off = src.lastIndexOf("off");
             if (off != -1) {
                var newsrc = src.substring(0,off) + "on";
                image.src = newsrc + ".gif";
               }
         }
     }


function from_gif(image) {
         if (document.images) {
              var src = image.src;
              var on = src.lastIndexOf("on");
              if (on != -1) {
                 var newsrc = src.substring(0,on) + "off" + 
               src.substring(on + 2, src.length);
                 image.src = newsrc;
             }
        }
     }

function start()
{
        if (document.images) {var stuff = new graphics(
	"images/line_g.gif",
	"images/line_o.gif",
	"images/line_r.gif",
	"images/top_on.gif",
	"images/back_on.gif",
	"images/search_on.gif",
	"info/changearrow-arrow_impressum.gif"


	)}

}
