function writeP(s)
{
	document.write ('<p>' + s + '</p>');
}

function writeBR(s)
{
	document.write (s + '<br>');
}

function rollDice()
{
	var Zahl = Math.floor(Math.random() * 6) + 1;
	return Zahl; 
}

function posChange()
{
	var Zahl = Math.floor(Math.random() * 10) + 1;
	return Zahl; 
}

function click(){
  if (event.button==2)
    {
     alert('(c) 2002 by ARC-Computer')
    }
}

function TextFenster(Name, BildURL, hoch, breit, xpos, ypos)
   {
	Name=window.open("","","dependent,height="+hoch+",width="+breit+", scrollbars=yes");
	pos = posChange() * 10;
	xx = parseInt(xpos) + parseInt(pos);
	yy = parseInt(ypos) + parseInt(pos);
	Name.moveTo(xx,yy);
	Name.document.location.href=BildURL;
   }
   
