/*
//old gallery function
function goTo(sUrl, sTitle, bNewWindow, sAttributes, iWidth, iHeight) {
  if (bNewWindow) {

        newWin = window.open(sUrl, sTitle, sAttributes);

        // => visit http://www.quirksmode.org

        if (self.innerHeight)
              // all except Explorer
        {
              //popW = self.innerWidth;
              //popH = self.innerHeight;

              popW = screen.availWidth;
              popH = screen.availHeight;
        }
        else if (document.documentElement && document.documentElement.clientHeight)
              // Explorer 6 Strict Mode
        {
              popW = document.documentElement.clientWidth;
              popH = document.documentElement.clientHeight;
        }
        else if (document.body)
              // other Explorers
        {
              popW = document.body.clientWidth;
              popH = document.body.clientHeight;
        }

        var leftPos = (popW-iWidth)/2, topPos = (popH-iHeight)/2;
        newWin.moveTo(leftPos, topPos);

  } else {
        document.location=sUrl;
  }
}
*/
$(document).ready(function(){

    //CSS3 textShadow for IE
    $(".menu ul li a, a.anmeld-arrow-link, p.anmeld-arrow-link").textShadow();

    //new gallery function
    $('.openGallery').click(function(){
        
        window.open($(this).attr('href'), "bandXGallery", "width=885,height=720,left=200,top=200");
        return false;        
    })

    //signup form visibility dependencies
    $('.form1 #yes-hide').click(function(){
      $('.form1 #hidden').show();
    })

    $('.form1 #no-hide').click(function(){
      $('.form1 #hidden').hide();

    })

})
