//****************************************************************************************************
function browsertest()
{
alert("Sie benutzen gerade den " + navigator.appName + " " + navigator.appVersion);
}
//****************************************************************************************************
function bildtest()
{
alert("Ihre Bildschirmauflösung ist " + screen.width + "x" + screen.height);
}
//****************************************************************************************************
function openPreviewWindow(ptext)
{
f1 = open("../infodocs/preview.php", "window", "width=600, height=700, location=no, scrollbars=yes, menubar=no, status=no, toolbar=no");
var ptext = ptext.replace(/\r\n/g, "<br/>");
//f1.document.all.ausgabe.innerHTML = ptext;
f1.document.write('<html><head><title>easycent.de</title><link rel="stylesheet" type="text/css" href="../css/format.css"/></head><body class="print">');
f1.document.write('<div align="center">');
f1.document.write('<div class="infoBoxContents" align="left" id="ausgabe" style="width:580px; background-color:#FFFFFF; border: 1px solid #000000; padding: 4px;"><small>');
f1.document.write(ptext);
f1.document.write('</small></div></div><div align="right"><a class="blklein" href="javascript:window.close()">Fenster schliessen</a></div></body></html>');

f1.focus();
}
//****************************************************************************************************
function openHWInfoWindow(hwid)
{
f1 = open("infodocs/hwinfo.php?show_info=1&pid=" + hwid, "window", "width=480, height=640, location=no, scrollbars=yes, menubar=no, status=no, toolbar=no");
f1.focus();
}
//****************************************************************************************************
function openHWInfoWindowGr(hwid)
{
f1 = open("infodocs/hwinfo_gr.php?show_info=1&pid=" + hwid, "window", "width=800, height=600, location=no, scrollbars=yes, menubar=no, status=no, toolbar=no");
f1.focus();
}
//****************************************************************************************************
function openTInfoWindow(tid)
{
f1 = open("infodocs/tinfo.php?show_info=1&tid=" + tid, "window", "width=480, height=640, location=no, scrollbars=yes, menubar=no, status=no, toolbar=no");
f1.focus();
}
//****************************************************************************************************
function openTOInfoWindow(oid)
{
f1 = open("infodocs/toinfo.php?show_info=1&oid=" + oid, "window", "width=480, height=640, location=no, scrollbars=yes, menubar=no, status=no, toolbar=no");
f1.focus();
}
//****************************************************************************************************
function openBigPicWindow(pic,folder,uf)
{
f2 = open("infodocs/bigpic.php", "window2", "width=480, height=480, location=no, scrollbars=no, menubar=no, status=no, toolbar=no");
f2.document.write('<html><head><title>Bilderansicht</title><link rel="stylesheet" type="text/css" href="css/format.css"/></head><body class="print">');
f2.document.write('<div class="infoBoxContents" align="center" id="ausgabe" style="width:440px; background-color:#FFFFFF; border: 1px solid #000000; padding:9px;">');
f2.document.write('<img src="' + uf + 'img/prod/' + folder + '/' + pic + '" width="400" alt="" title="" border="0" />');
f2.document.write('</div><div align="right"><a class="blklein" href="javascript:window.close()">Fenster schliessen</a></div></body></html>');

f2.focus();
}
//****************************************************************************************************
function changePic(pic,folder,uf)
{
BildURL = uf + 'img/prod/' + folder + '/' + pic + '';
document.images['ProdLandPic'].src = BildURL;
}
//****************************************************************************************************
function changeBigPic(pic,folder,uf)
{
//alert("Pic: " + pic + " Folder: " + folder);
picstring = '<a href="javascript:openBigPicWindow(\'' + pic + '\',\'' + folder + '\',\'' + uf + '\');"><img src="' + uf + 'img/prod/' + folder + '/' + pic + '" width="338px" class="ProdLandPicA" alt="" title="" border="1" align="left"/></a>';
//document.all.ProdPic.innerHTML = picstring;
document.getElementById("ProdPic").innerHTML = picstring;
}
//****************************************************************************************************
function einblenden(idein)
{
	//alert("Sie haben die Option: " + idein + " ausgewählt!");
	document.getElementById(idein).style.display = "block";
}
function ausblenden(idaus)
{
	document.getElementById(idaus).style.display = "none";
}

function einblenden2(id1, id2, id)
{
	idaus = id2 + id;
	idein = id1 + id;
	//alert("Sie haben die Option: " + idein + " ausgewählt!");
	document.getElementById(idaus).style.display = "none";
	document.getElementById(idein).style.display = "block";
}
function ausblenden2(id1, id2, id)
{
	idaus = id2 + id;
	idein = id1 + id;
	document.getElementById(idaus).style.display = "none";
	document.getElementById(idein).style.display = "none";
}
function meldung(text)
{
	alert("Sie haben die Option: " + text + " ausgewählt!");
}

//****************************************************************************************************
function einblenden3(id1, id2, id3, id4, id)
{
	idaus = id2 + id;
	idein = id1 + id;
	//alert("Sie haben die Option: " + idein + " ausgewählt!");
	document.getElementById(idaus).style.display = "none";
	document.getElementById(idein).style.display = "block";
	document.getElementById(id3).style.borderBottom = "1px solid transparent";
	document.getElementById(id3).style.backgroundImage="url(img/pics/reiter.png)"
	document.getElementById(id3).style.lineHeight="40px"
	document.getElementById(id4).style.borderBottom = "1px solid #CCCCCC";
	document.getElementById(id4).style.backgroundImage="url(img/pics/reiternot.png)"
	document.getElementById(id4).style.lineHeight="40px"
}
function ausblenden3(id1, id2, id)
{
	idaus = id2 + id;
	idein = id1 + id;
	document.getElementById(idaus).style.display = "none";
	document.getElementById(idein).style.display = "none";
}
//****************************************************************************************************
