//window.onerror=fehler;
//function fehler(){return true;}




/*
/
/ Funktionen für die Pläne rechts
/
*/

function plan_over(name)
{
string="document.planimage.src=\""+name+"\"";
eval(string);
}


function plan_out(id)
{
	//string="document.planimage.src=\"pics/plan_"+name+".gif\"";
	//eval(string);
}


function show_image(img, text)
{
	if (screen.width>800)
	{	
	plan=window.open("","plan","status=0,location=0,menubar=0,scrollbars=0,toolbar=0,height=700,width=800");
	doc=plan.document;
	doc.open();
	doc.writeln("<html><head><title>Hoch- und Tiefbau Ströbel</title></head><body bgcolor='#ffffff'>");
	doc.writeln("");
	doc.writeln("<script language=javascript>this.document.location=\"../show_image.php4?IMG="+img+"&TEXT="+text+"\"</script></body></html>");
	doc.close();
	plan.focus();
	}
	else
	{
	plan=window.open("","plan","status=0,location=0,menubar=0,scrollbars=1,toolbar=0,resizable=1");
	plan.document.location="../"+img;
	plan.focus();
	}
}


function show_news(pkey)
{
	news=window.open("","news","status=0,location=0,menubar=1,scrollbars=1,toolbar=0,height=500,width=400");
	doc=news.document;
	doc.open();
	doc.writeln("<html><head><title>Hoch- und Tiefbau Ströbel</title></head><body bgcolor='#ffffff'>");
	doc.writeln("");
	doc.writeln("<script language=javascript>this.document.location=\"show_news.php4?pkey="+pkey+"\"</script></body></html>");
	doc.close();
}


