// +----------------------------------------------------------------------+
// | JavaScript Version 1.2                                               |
// +----------------------------------------------------------------------+
// | Copyright (c) 2001-2006 Jam Design UK Ltd                            |
// +----------------------------------------------------------------------+
// | THIS CODE IS PROTECTED BY COPYRIGHT LAW.                             |
// | If you wish to use or edit the code please contact Jam Design UK Ltd |
// | via e-mail at the following address: copyright@jamuk.com, failure to |
// | do so will result in the commencement of legal proceedings upon      |
// | discovery of any breach of copyright.                                |
// +----------------------------------------------------------------------+
// | Authors: Mark Yasuda <mark@jamuk.com>                                |
// +----------------------------------------------------------------------+
// | Version: 1.0                                                         |
// | Created: 01/03/2006                                                  |
// | Updated: --/--/----                                                  |
// +----------------------------------------------------------------------+
// | Version History                                                      |
// |                                                                      |
// |  1.0 - Original version of SIXIXIS faq javascript functions.         |
// |                                                                      |
// +----------------------------------------------------------------------+


function openFAQ() {

  //get handles on two container divs and the faq link...
  FAQouterContainer = document.getElementById('FAQcontainer') ;
  FAQinnerContainer = document.getElementById('FAQinner') ;
  FAQLink = document.getElementById('productHeaderNavFAQ') ;
  DelivFormItem = document.getElementById('delivery_country_select') ;

  //set our onclick and styles...
  FAQLink.onclick = function onclick(event){return closeFAQ();} ;
  FAQouterContainer.style.display = 'block' ;
  FAQinnerContainer.style.display = 'block' ;
  if ( DelivFormItem != null ) {
    DelivFormItem.style.display = 'none' ;
  }
  return false ;
}


function closeFAQ() {
  //get handles on two container divs and the faq link...
  FAQouterContainer = document.getElementById('FAQcontainer') ;
  FAQinnerContainer = document.getElementById('FAQinner') ;
  FAQLink = document.getElementById('productHeaderNavFAQ') ;
  DelivFormItem = document.getElementById('delivery_country_select') ;

  //set our onclick and styles...
  FAQLink.onclick = function onclick(event){return openFAQ();} ;
  FAQouterContainer.style.display = 'none' ;
  FAQinnerContainer.style.display = 'none' ;
  if ( DelivFormItem != null ) {
    DelivFormItem.style.display = 'inline' ;
  }

  return false ;
}


function openNOSHIP() {

  //get handles on two container divs and the faq link...
  NOSHIPouterContainer = document.getElementById('NOSHIPcontainer') ;
  NOSHIPinnerContainer = document.getElementById('NOSHIPinner') ;

  //set our styles...
  NOSHIPouterContainer.style.display = 'block' ;
  NOSHIPinnerContainer.style.display = 'block' ;
  return false ;
}


function closeNOSHIP() {
  //get handles on two container divs and the faq link...
  NOSHIPouterContainer = document.getElementById('NOSHIPcontainer') ;
  NOSHIPinnerContainer = document.getElementById('NOSHIPinner') ;

  //set our onclick and styles...
  NOSHIPouterContainer.style.display = 'none' ;
  NOSHIPinnerContainer.style.display = 'none' ;
  return false ;
}