/* *************************************************** */
/* *** Mouse-Over Farbe im Archiv  ******************* */
/* *************************************************** */

<!--
var cl_in = 'e0e0e0'; // ohne #
var cl_out = '';
//-->


/* *************************************************** */
/* *** Newsletter Popup ****************************** */
/* *************************************************** */
function vsnlpop(nlUri)
{
    nlUri = encodeURI(nlUri);

    if (apopW != parseInt(apopW) ) { apopW = 420; }
    if (apopH != parseInt(apopH) ) { apopH = 320; }
    if (apopLeft != parseInt(apopLeft) ) { apopLeft = 100; }
    if (apopTop != parseInt(apopTop) ) { apopTop = 60; }

    opt  = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width="+apopW+",height="+apopH+",left="+apopLeft+",top="+apopTop+"";
    win = window.open(nlUri, "VSNewsletter", opt); win.focus();
}


/* *************************************************** */
/* *** Popup Archiv ********************************** */
/* *************************************************** */

function vsnlpopa(nlaUri)
{
    nlaUri = encodeURI(nlaUri);
    if (popW != parseInt(popW) ) { popW = 980; }
    if (popH != parseInt(popH) ) { popH = 760; }

   var windowName = "NewsletterArchiv"; // kein Leerzeichen, Unterstrich und/oder Bindestrich!

   var padding;
   (navigator.appName == "Microsoft Internet Explorer") ? (padding = 10) : (padding = 0);

   var screenw = screen.availWidth;
   var screenh = screen.availHeight;
   var winw = (popW + 15 + padding);
   var winh = (popH + 15 + padding);
   var posx = (screenw / 2) - (winw / 2);
   var posy = (screenh / 2) - (winh / 2);

   opt = "top="+posy+",left="+posx+",width="+winw+",height="+winh+",menubar=no,locationbar=no,statusbar=no,scrollbars=1,resizable=no,toolbar=no,dependent=yes";

   win = window.open(nlaUri, windowName, opt); win.focus();
}

/* *************************************************** */
/* *** Popup Archiv - Übersicht ********************** */
/* *************************************************** */

function showVSNL(val)
{
    win = parent.location.replace("archiv.php?showNL=1&nlid=" + val, "NewsletterArchiv"); win.focus();
}

