/* java/default.js / 2001-01-13 / Thomas Zöller */

function ChangeColor(TagType,TagNo,TxtColor)
{
	if(document.all)
	{
		if(TxtColor=='black')
			document.all.tags(TagType)[TagNo].style.color = "000000";
		else if(TxtColor=='white')
			document.all.tags(TagType)[TagNo].style.color = "FFFFFF";
		else if(TxtColor=='cyan')
			document.all.tags(TagType)[TagNo].style.color = "0088FF";
		else if(TxtColor=='red')
			document.all.tags(TagType)[TagNo].style.color = "FF0000";
		else if(TxtColor=='lightgrey')
			document.all.tags(TagType)[TagNo].style.color = "C0C0C0";
		else if(TxtColor=='darkblue')
			document.all.tags(TagType)[TagNo].style.color = "000080";
	}
}

function ChangeImage(ImgNo,ImgName,LayNo,LayImgNo)
{
	if(document.all)
	{
		window.document.images[ImgNo].src=eval(ImgName+".src");
	}
}

function OpenNewWindow(LinkURL,WindowName)
{
	window.open (LinkURL,WindowName,"width=300,height=300,ScreenX=50,ScreenY=50,status=no,menubar=no,locationbar=no");
}

function OpenInfoWindow(LinkURL)
{
	InfoWin = window.open (LinkURL,"Infowindow","width=200,height=200,screenX=20,screenY=70,status=no,menubar=no,locationbar=no,resizable=no,dependent=yes");
	InfoWin.focus();
}

