	$(document).ready(function() { 
		$("#subscribe .input-text").click(function(){
			$("#subscribe .input-text").addClass("clicked");							
		});		
	});
	
    var dontpanic = {
      src: 'themes/sabre/swf/dontpanic.swf'
      ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
    };

	function showshops() {
		$("#navigation-bottom").toggle("fast");
		$("#shop-navigation").toggle("fast");
		
		sIFR.replace(dontpanic, {
		  selector: '#shop-navigation span.link'
		  ,css: [
			'.sIFR-root { color: #808080; text-align: center; font-size: 12px; }'
			,'a { color: #808080; text-decoration: none; }'
			,'a:link { color: #808080; }'
			,'a:hover { color: #ffffff; text-decoration: underline; }'
		  ]
		  ,wmode: 'transparent'
		  ,forceSingleLine: true
		});			

	}
	
    //sIFR.useStyleCheck = true;
    sIFR.activate(dontpanic);
	
    sIFR.replace(dontpanic, {
      selector: '#navigation-top span.current, #navigation-top span.section'
      ,css: [
        '.sIFR-root { color: #ffffff; text-align: center; text-decoration: underline; font-size: 12px; }'
        ,'a { color: #ffffff; text-decoration: underline; }'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #ffffff; text-decoration: underline; }'
      ]
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
    });	
	
    sIFR.replace(dontpanic, {
      selector: '#navigation-top span.link, #header-subscribe h2, #zine-header h2, #store-header h2, .product span, #family-header h2, .member span, #contact-alpha h2, #contact-beta h2, div.field label, div.textarea label, #locator-alpha-header h2, #product-wt-alpha h2, #product-wt-beta h2, #cart-header h2, .cart-item-body h2'
      ,css: [
        '.sIFR-root { color: #ffffff; text-align: center; font-size: 12px; }'
        ,'a { color: #ffffff; text-decoration: none; }'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #ffffff; text-decoration: underline; }'
      ]
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
    });
	
    sIFR.replace(dontpanic, {
      selector: '#navigation-bottom span.current, #navigation-bottom span.section'
      ,css: [
        '.sIFR-root { color: #808080; text-align: center; text-decoration: underline; font-size: 12px; }'
        ,'a { color: #808080; text-decoration: underline; }'
        ,'a:link { color: #808080; }'
        ,'a:hover { color: #ffffff; text-decoration: underline; }'
      ]
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
    });	
	
    sIFR.replace(dontpanic, {
      selector: '#navigation-bottom span.link'
      ,css: [
        '.sIFR-root { color: #808080; text-align: center; font-size: 12px; }'
        ,'a { color: #808080; text-decoration: none; }'
        ,'a:link { color: #808080; }'
        ,'a:hover { color: #ffffff; text-decoration: underline; }'
      ]
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
    });	

    sIFR.replace(dontpanic, {
      selector: '.blog-item-header h2'
      ,css: [
        '.sIFR-root { color: #ffffff; text-align: center; font-size: 12px; }'
        ,'a { color: #ffffff; text-decoration: none; }'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #ffffff; text-decoration: underline; }'		
      ]
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
    });		
	
    sIFR.replace(dontpanic, {
      selector: '#contact-alpha-body p, .product-body p, .cart-item-body p'
      ,css: [
        '.sIFR-root { color: #ffffff; text-align: left; font-size: 12px; }'
        ,'a { color: #ffffff; text-decoration: underline; }'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #878787; text-decoration: none; }'
      ]
	  ,wmode: 'transparent'
    });		

    sIFR.replace(dontpanic, {
      selector: '#header-cart span'
      ,css: [
        '.sIFR-root { color: #ffffff; text-align: right; font-size: 12px; }'
        ,'a { color: #878787; text-decoration: none; }'
        ,'a:link { color: #878787; }'
        ,'a:hover { color: #ffffff; text-decoration: none; }'
      ]
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
    });	
	
    sIFR.replace(dontpanic, {
      selector: '#footer-pagination-left span'
      ,css: [
        '.sIFR-root { color: #878787; text-align: left; font-size: 12px; }'
        ,'a { color: #ffffff; text-decoration: none; }'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #ffffff; text-decoration: underline; }'
      ]
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
    });	
	
	sIFR.replace(dontpanic, {
      selector: '#footer-copyright span'
      ,css: [
        '.sIFR-root { color: #878787; text-align: left; font-size: 12px; }'
        ,'a { color: #878787; text-decoration: none; }'
        ,'a:link { color: #878787; }'
        ,'a:hover { color: #878787; text-decoration: underline; }'
      ]
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
    });	
	
    sIFR.replace(dontpanic, {
      selector: '#footer-credit span'
      ,css: [
        '.sIFR-root { color: #878787; text-align: right; font-size: 12px; }'
        ,'a { color: #878787; text-decoration: none; }'
        ,'a:link { color: #878787; }'
        ,'a:hover { color: #878787; text-decoration: underline; }'
      ]
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
    });		

    sIFR.replace(dontpanic, {
      selector: '#footer-pagination-right span'
      ,css: [
        '.sIFR-root { color: #878787; text-align: right; font-size: 12px; }'
        ,'a { color: #ffffff; text-decoration: none; }'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #ffffff; text-decoration: underline; }'
      ]
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
    });		

	
  
  