//author: UBb
//publisher: Psychologische Praxis Marie-Luise Pott und Wolfgang Weil
//copyright: Psychologische Praxis Marie-Luise Pott und Wolfgang Weil
//Letzte Aktualisierung: 03.05.2002 11:41:39

function ein(wo)
{
	if (wo=="0")
	{
		window.document.images["vignette"].src="images/vignetteh.gif";
	}
	else
	{
		window.document.images["text"+wo].src="images/text"+wo+"h.gif";
	}
}

function aus(wo)
{
	if (wo=="0")
	{
		window.document.images["vignette"].src="images/vignette.gif";
	}
	else
	{
		window.document.images["text"+wo].src="images/text"+wo+".gif";
	}
}

function loadImg()
{
	var img1=new Image();
	img1.src="images/text1h.gif";
	var img2=new Image();
	img2.src="images/text2h.gif";
	var img3=new Image();
	img3.src="images/text3h.gif";
	var img4=new Image();
	img4.src="images/text4h.gif";
	var img5=new Image();
	img5.src="images/vignetteh.gif";
}

function style800()
{
	if (screen.width<=800)
	{
		window.document.write("<style type=text/css>h1 {font-size: 22px;}h2 {font-size: 16px;}h3 {font-size: 14px;}h4 {font-size: 13px;}h5 {font-size: 12px;}h6 {font-size: 9px;}p {font-size: 7px;}p.p1 {font-size: 22px;}p.p2 {font-size: 16px;}p.p3 {font-size: 14px;}p.p4 {font-size: 13px;}p.p5 {font-size: 12px;}p.p6 {font-size: 9px;}p.p5i {font-size: 12px;}p.p6i {font-size: 9px;}</style>");
	}
}

function opt800()
{
	if (screen.width<=800)
	{
		window.document.write("<p align='right'>optimiert für 800 x 600 Pixel");
	}
	else
	{
		window.document.write("<p align='right'>optimiert für 1024 x 768 Pixel");
	}
}

function nav800()
{
	if (screen.width<=800)
	{
		window.document.write("<br>");
	}
}

