function openRequestURL(MyURL)
{
  document.location = MyURL;
}

function stopAnimation()
{
   var obj = swfobject.getObjectById("ctn_flash_teaser");
   if(obj!=null)
     obj.goto(2);
}

jQuery(document).ready(function()
{
  if(swfobject.getObjectById("ctn_flash_teaser")!=null)
    jQuery("a").click(function(){stopAnimation();});
});

function flashCookie()
{
  
  var a = document.cookie;
  while(a != '')
  {
    cookiename = a.substring(0,a.search('='));
    cookiewert = a.substring(a.search('=')+1,a.search(';'));
    if(cookiewert == ' switched_off=')
    {
      cookiewert = a.substring(a.search('=')+1,a.length);
    }

    if(cookiename == ' switched_off'){
       if(cookiewert == 'false')
         return(false);
       else
         return(true);
    }else if(cookiename == ' senses_off'){
      if(cookiewert == 'false')
      {
        return(false);
      }
      else
      {
        return(true);
      }
    }else if(cookiename == 'senses_off'){
      if(cookiewert == 'false')
      {
        return(false);
      }
      else
      {
        return(true);
      }
    }
  
    i = a.search(';')+1;
    if(i == 0){i = a.length}
    a = a.substring(i,a.length);
  }

}


