  bgList = new Array();
   bgList[0] = "t-shirt-schwarz";
   bgList[1] = "t-shirt-blau";
   bgList[2] = "t-shirt-rot";
   bgList[3] = "t-shirt-orange";
   bgList[4] = "t-shirt-gruen";
   bgList[5] = "t-shirt-gelb";
   bgList[6] = "t-shirt-weiss";


    function bildfarbe() {
    for (var zw=0;zw<document.product.farbe.options.length;zw++)
    if (document.product.farbe.options[zw].selected==true)

  document.getElementById("hgbild").style.backgroundImage = "url(../images/" + bgList[zw] + ".jpg)";
    }


    function trebuchet() {
    for (var zw=0;zw<document.product.schrift.options.length;zw++)
    if (document.product.schrift.options[zw].selected==true)
  document.all.DynText.style.fontFamily = "Trebuchet MS"
  document.all.DynText.style.fontSize = "18"
    }


    function times() {
    for (var zw=0;zw<document.product.schrift.options.length;zw++)
    if (document.product.schrift.options[zw].selected==true)
  document.all.DynText.style.fontFamily = "Times New Roman"
  document.all.DynText.style.fontSize = "20"
    }

   function verdana() {
    for (var zw=0;zw<document.product.schrift.options.length;zw++)
    if (document.product.schrift.options[zw].selected==true)
  document.all.DynText.style.fontFamily = "Verdana"
  document.all.DynText.style.fontSize = "16"
    }

    function arial() {
    for (var zw=0;zw<document.product.schrift.options.length;zw++)
    if (document.product.schrift.options[zw].selected==true)
  document.all.DynText.style.fontFamily = "Arial"
  document.all.DynText.style.fontSize = "18"
    }

  function comic() {
    for (var zw=0;zw<document.product.schrift.options.length;zw++)
    if (document.product.schrift.options[zw].selected==true)
  document.all.DynText.style.fontFamily = "Comic Sans MS"
  document.all.DynText.style.fontSize = "18"
    }

    function impact() {
    for (var zw=0;zw<document.product.schrift.options.length;zw++)
    if (document.product.schrift.options[zw].selected==true)
  document.all.DynText.style.fontFamily = "Impact"
  document.all.DynText.style.fontSize = "19"
    }

    function textaendern () {
document.getElementById("DynText").firstChild.nodeValue = document.product.spruch.value;
}

    function schriftfarbe() {
    for (var zw=0;zw<document.product.schrift.options.length;zw++)
    if (document.product.schrift.options[zw].selected==true)
  document.all.DynText.style.color = document.product.schrift.options[zw].value
    }

    function shirtfarbe() {
    for (var zw=0;zw<document.product.farbe.options.length;zw++)
    if (document.product.farbe.options[zw].selected==true)

  document.getElementById("hgbild").style.backgroundImage = "url(../black/images/" + bgList[zw] + ".jpg)";
    }


var blinkArray = new Array();
blinkArray[0] = "white";
blinkArray[1] = "red";
blinkArray[2] = "yellow";
blinkArray[3] = "green";
blinkArray[4] = "blue";

var blinkTimeout = 1000;
var blinkIndex = 0;

function blink() {
	blinkIndex = (blinkIndex+=1) % 5 ;
	var color = blinkArray [ blinkIndex ];
	document.all.blink.style.color=color;
	setTimeout( "blink();" , blinkTimeout);
}

function blink1() {
	blinkIndex1 = (blinkIndex+=1) % 5 ;
	var color1 = blinkArray [ blinkIndex ];
	document.all.blink.style.color1=color;
	setTimeout( "blink1();" , blinkTimeout);
}

function big(groesse) {
	this.groesse = groesse
}
var Groesse = new Array()
Groesse[0] = new big(" I Groesse S ")
Groesse[1] = new big(" I Groesse M ")
Groesse[2] = new big(" I Groesse L ")
Groesse[3] = new big(" I Groesse XL ")
Groesse[4] = new big(" I Groesse XXL ")

function color(farbe) {
	this.farbe = farbe
}
var Farbe = new Array()
Farbe[0] = new color("I Shirtfarbe Schwarz ")
Farbe[1] = new color("I Shirtfarbe Blau ")
Farbe[2] = new color("I Shirtfarbe Rot ")
Farbe[3] = new color("I Shirtfarbe Gruen ")
Farbe[4] = new color("I Shirtfarbe Gelb ")
Farbe[5] = new color("I Shirtfarbe Grau ")
Farbe[6] = new color("I Shirtfarbe Weiss ")

function site(seite) {
	this.seite = seite
}
var Seite = new Array()
Seite[0] = new site(" I Druck auf Vorderseite")
Seite[1] = new site(" I Druck auf Rueckseite")









function font(schrift) {
	this.schrift = schrift
}
var Schrift = new Array()
Schrift[0] = new font("I Weisser Aufdruck ")
Schrift[1] = new font("I Roter Aufdruck ")
Schrift[2] = new font("I  Gelber Aufdruck ")
Schrift[3] = new font("I  Gruener Aufdruck ")
Schrift[4] = new font("I  Blauer Aufdruck ")
Schrift[5] = new font("I  Schwarzer Aufdruck ")
Schrift[6] = new font("I  Oranger Aufdruck ")
Schrift[7] = new font("I  Rosa Aufdruck ")











function border(rahmen) {
	this.rahmen = rahmen
}
var Rahmen = new Array()
Rahmen[0] = new border(" I Kein Rahmen ")
Rahmen[1] = new border(" I Ovaler Rahmen")

function mirror(gespiegelt) {
	this.gespiegelt = gespiegelt
}
var Gespiegelt = new Array()
Gespiegelt[0] = new mirror(" ")
Gespiegelt[1] = new mirror(" I Gespiegelt")

