//---- open chocchip win
    function openWindowSz(WindName,wdth,hght,fm_top,fm_lft)
    {
      newWindow=window.open(WindName, 'newWin','toolbar=no,location=no,scrollbars=yes,width='+wdth+',height='+hght +',top='+fm_top+',left='+fm_lft)
    }

    function openWindowCki(HTML2open)
    {
     expireDate = new Date
     expireDate.setTime(expireDate.getTime()+1500000000)
     today = new Date
     hitCt = 0
     sessionQV = ""

     if (document.cookie != "")
     {
       cookieArray = document.cookie.split(";")

       if (cookieArray[0] != "")
       {
         sessionQV = cookieArray[0].split("=")[1]  // read last vst from cookie
       }

     }

     if (sessionQV == "PICK")
     {
        // ----------- refresh ChocChip 
        document.cookie = "sessionQV=PICK;expires=" + expireDate.toGMTString() +";today="+today +"domain=.ktwr.net"
     }
     else
     {
        // ----------- write ChocChip here or in new page 
        document.cookie = "sessionQV=PICK;expires=" + expireDate.toGMTString() +";today="+today +"domain=.ktwr.net"
        openWindowSz(HTML2open,220,300,50,500);
     }

    }
    // -------------- end of funcs

//    if (lang == 'E')
//    {
//      openWindowCki("http://ktwr.net/e/forms/QVotXmas.html");
//    }
//    else if (lang == 'G')
//    {
//      openWindowCki("http://ktwr.net/gb/forms/QVotXmas.html");
//    }
//    else
//    {
//      openWindowCki("http://ktwr.net/b5/forms/QVotXmas.html");
//    }

    // -------  end ChocChip
