/*
 *   Some JavaScript functions used on www.fauland.de and www.fauland.com.
 *   Copyright (C) 1999-2002 by Alex Fauland. All rights reserved.
 */

function openHelpPopup()
{
 var myTarget = 'hlpwnd';
 var myStyle = 'resizable=yes,scrollbars=yes,toolbar=no,location=no,status=no,directories=no,menubar=no';

 openPopup('', myTarget, 380, 560 , myStyle);
}

function openImgPopup(popTarget, popWidth, popHeight)
{
 var myStyle = 'resizable=yes,scrollbars=no,toolbar=no,location=no,status=no,directories=no,menubar=no';

 openPopup('', popTarget, popWidth, popHeight, myStyle);
}

function openProblemReport()
{
 var myTarget = 'supwnd';
 var myStyle = 'resizable=yes,scrollbars=yes,menubar=no,toolbar=no,status=yes,location=no,directories=no';

 openPopup('', myTarget, 528, 506 , myStyle);
}

function openDownload(strUrl)
{
 var myTarget = 'dlwnd';
 var myStyle = 'resizable=no,scrollbars=no,menubar=no,toolbar=no,status=no,location=no,directories=no';

 openPopup(strUrl, myTarget, 60, 40 , myStyle);
}


function openPopup(popUrl, popTarget, popWidth, popHeight, popStyle)
{
 myWndObj=window.open(popUrl, popTarget, 'width=' + popWidth + ',height=' + popHeight + ',' + popStyle);
 myWndObj.focus();
}

