var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
function otherwin(link) {
remote=window.open(link,"remote","resizable=0,width=620,height=400,status=0,menubar=0,scrollbars=yes");
}
if (document.images)
{
subbaroff = new Image();
subbaroff.src="/images/submenu_i.gif";
subbaron = new Image();
subbaron.src="/images/submenu_a.gif";
}
function aktimage(imgName) {
if (document.images) {
imgOn = eval("navbar"+imgName + "on.src");
document ["navbar" + imgName].src = imgOn;
}
}
function normimage(imgName) {
if (document.images) {
imgOff = eval("navbar"+imgName + "off.src");
document ["navbar" + imgName].src = imgOff;
}
}
function sub_aktimage(imgName)
{
if (document.images)
{
document ["submenubullet_" + imgName].src = subbaron.src;
}
}
function sub_normimage(imgName)
{
if (document.images)
{
document ["submenubullet_" + imgName].src = subbaroff.src;
}
}
function delangebot($theurl)
{
if (confirm ('Sind Sie sicher, daß Sie dieses Produkt löschen möchten?'))
{
top.location.href=$theurl;
}
}
function holehoehe ()
{
var winH = 0;
if (parseInt(navigator.appVersion)>3)
{
if (navigator.appName=="Netscape")
{
winH = window.innerHeight;
}
if (navigator.appName.indexOf("Microsoft")!=-1)
{
winH = document.body.offsetHeight;
}
}
if (winH>0)
{
$sizer=winH-120;
document.write('
');
}
}
// ===============================================================================================================================
function maildecode (input)
{
var output=input;
output=output.replace(/\|/, '@');
output=output.replace("#xxcom#", ".");
output=output.replace("#xxcom#", ".");
output=output.replace("#xxcom#", ".");
output=output.replace("#xxcom#", ".");
output=output.replace("#xxcom#", ".");
output=output.replace("#xxcom#", ".");
return (output);
}
// ===============================================================================================================================
function writemaillink ($input,$hid)
{
$showmail=maildecode($input);
$showmail=$showmail.replace('@','@');
$showmail=$showmail.replace(/\./,'.');
$showmail=$showmail.replace(/\?.*/,'');
document.write ("");
document.write($showmail);
document.write ('');
}
// ===============================================================================================================================
function makemail($link,$hid)
{
if ($hid>0) mailtocount($hid);
$link=maildecode($link);
this.location.href="mailto:"+$link;
}
// ===============================================================================================================================