
/*
 * Superfish v1.4.8 - jQuery menu widget
 * Copyright (c) 2008 Joel Birch
 *
 * Dual licensed under the MIT and GPL licenses:
 * 	http://www.opensource.org/licenses/mit-license.php
 * 	http://www.gnu.org/licenses/gpl.html
 *
 * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
 */

;(function($){
	$.fn.superfish = function(op){

		var sf = $.fn.superfish,
			c = sf.c,
			$arrow = $(['<span class="',c.arrowClass,'"></span>'].join('')),
			over = function(){
				var $$ = $(this), menu = getMenu($$);
				clearTimeout(menu.sfTimer);
				$$.showSuperfishUl().siblings().hideSuperfishUl();
			},
			out = function(){
				var $$ = $(this), menu = getMenu($$), o = sf.op;
				clearTimeout(menu.sfTimer);
				menu.sfTimer=setTimeout(function(){
					o.retainPath=($.inArray($$[0],o.$path)>-1);
					$$.hideSuperfishUl();
					if (o.$path.length && $$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}
				},o.delay);	
			},
			getMenu = function($menu){
				var menu = $menu.parents(['ul.',c.menuClass,':first'].join(''))[0];
				sf.op = sf.o[menu.serial];
				return menu;
			},
			addArrow = function($a){ $a.addClass(c.anchorClass).append($arrow.clone()); };
			
		return this.each(function() {
			var s = this.serial = sf.o.length;
			var o = $.extend({},sf.defaults,op);
			o.$path = $('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){
				$(this).addClass([o.hoverClass,c.bcClass].join(' '))
					.filter('li:has(ul)').removeClass(o.pathClass);
			});
			sf.o[s] = sf.op = o;
			
			$('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over,out).each(function() {
				if (o.autoArrows) addArrow( $('>a:first-child',this) );
			})
			.not('.'+c.bcClass)
				.hideSuperfishUl();
			
			var $a = $('a',this);
			$a.each(function(i){
				var $li = $a.eq(i).parents('li');
				$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});
			});
			o.onInit.call(this);
			
		}).each(function() {
			var menuClasses = [c.menuClass];
			if (sf.op.dropShadows  && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass);
			$(this).addClass(menuClasses.join(' '));
		});
	};

	var sf = $.fn.superfish;
	sf.o = [];
	sf.op = {};
	sf.IE7fix = function(){
		var o = sf.op;
		if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity!=undefined)
			this.toggleClass(sf.c.shadowClass+'-off');
		};
	sf.c = {
		bcClass     : 'sf-breadcrumb',
		menuClass   : 'sf-js-enabled',
		anchorClass : 'sf-with-ul',
		arrowClass  : 'sf-sub-indicator',
		shadowClass : 'sf-shadow'
	};
	sf.defaults = {
		hoverClass	: 'sfHover',
		pathClass	: 'overideThisToUse',
		pathLevels	: 1,
		delay		: 800,
		animation	: {opacity:'show'},
		speed		: 'normal',
		autoArrows	: true,
		dropShadows : true,
		disableHI	: false,		// true disables hoverIntent detection
		onInit		: function(){}, // callback functions
		onBeforeShow: function(){},
		onShow		: function(){},
		onHide		: function(){}
	};
	$.fn.extend({
		hideSuperfishUl : function(){
			var o = sf.op,
				not = (o.retainPath===true) ? o.$path : '';
			o.retainPath = false;
			var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass)
					.find('>ul').hide().css('visibility','hidden');
			o.onHide.call($ul);
			return this;
		},
		showSuperfishUl : function(){
			var o = sf.op,
				sh = sf.c.shadowClass+'-off',
				$ul = this.addClass(o.hoverClass)
					.find('>ul:hidden').css('visibility','visible');
			sf.IE7fix.call($ul);
			o.onBeforeShow.call($ul);
			$ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); });
			return this;
		}
	});

})(jQuery);

var menu = ' \
<ul class="sf-menu"> \
 \
    <li><a href="http://www.statsoft.fr/">Accueil</a> \
    </li> \
     \
    <li><a href="products/analytics.php">Produits</a> \
        <ul> \
            <li><a href="quote/order.php">Catalogue des Produits</a></li> \
            <li><a href="products/products.htm"><I>STATISTICA</I> - Pr&#233;sentation</a></li> \
            <li><a href="products/analytics.php">Les Modules Analytiques</li> \
            <li><a href="products/enterprise.htm">Solutions Entreprise</a></li> \
            <li><a href="products/webserver.htm">Solutions par le Web</a></li> \
            <li><a href="products/dataminer.htm">Solutions pour le Data Mining</a></li> \
            <li><a href="products/desktop.htm">Solutions Bureautiques</a></li> \
            <li><a href="products/cdis.htm">Connexion : SAP, PI...</a></li> \
        </ul> \
    </li> \
 \
    <li><a href="services/services.htm">Services</a> \
        <ul> \
            <li><a href="services/services.htm">Services - Pr&#233;sentation</a></li> \
            <li><a href="services/cad.html">D&#233;veloppement Personnalis&#233;</a></li> \
            <li><a href="services/courses.html">Formation</a></li> \
            <li><a href="services/consulting.html">Consulting</a></li> \
            <li><a href="services/validation.html">Validation</a></li> \
        </ul> \
    </li> \
    \
    <li><a href="industries/solutions.htm">Solutions</a> \
        <ul> \
            <li><a href="industries/solutions.htm">Solutions - Pr&#233;sentation</a></li> \
            <li><a href="industries/insurance.htm">Assurances</a></li> \
            <li><a href="industries/banking.htm">Banques</a></li> \
            <li><a href="industries/manufacturing.htm">Biens d&rsquo;&#201;quipement Industriel</a></li> \
            <li><a href="industries/consumer.htm">Biens de Consommation</a></li> \
            <li><a href="industries/chemical.htm">Chimie et P&#233;trochimie</a></li> \
            <li><a href="industries/Hedge_Fund_Applications.php">Fonds d&rsquo;Investissement</a></li> \
            <li><a href="industries/Financial_Risk_Management.php">Gestion du Risque Financier</a></li> \
            <li><a href="industries/food.htm">Industrie Agroalimentaire</a></li> \
            <li><a href="industries/pharmaceuticals.htm">Industrie Pharmaceutique</a></li> \
            <li><a href="industries/marketing.htm">Marketing</a></li> \
            <li><a href="industries/healthcare.htm">Sant&#233;</a></li> \
            <li><a href="industries/semiconductors.htm">Semi-Conducteurs</a></li> \
            <li><a href="industries/sixsigma.htm">Six Sigma</a></li> \
            <li><a href="industries/Sarbanes_Oxley.htm">La Loi Sarbanes-Oxley</a></li> \
        </ul> \
    </li> \
    \
    <li><a href="support/support.htm">Support</a> \
        <ul> \
            <li><a href="support/support.htm">Support - Pr&#233;sentation</a></li> \
            <li><a href="http://www.statsoft.com/support/forum/">Forum Utilisateurs (*)</a></li> \
            <li><a href="support/installation/Install.html">Instructions d&rsquo;Installation</a></li> \
            <li><a href="downloads/maintenance/download.html">Zone de T&#233;l&#233;chargement </a></li> \
            <li><a href="https://registration.statsoft.com/">Enregistrez votre Produit</a></li> \
            <li><a href="http://www.statsoft.com/support/books-on-statistica/">Ouvrages sur <I>STATISTICA</I> (*)</a></li> \
            <li><a href="http://www.statsoft.com/support/download/white-papers/">Articles Techniques (*)</a></li> \
            <li><a href="downloads/maintenance/lsa.html">Troubleshooting</a></li> \
            <li><a href="support/versionmanager.htm">Version Manager</a></li> \
        </ul> \
    </li> \
    \
    <li><a href="downloads/maintenance/download.html">T&#233;l&#233;charger</a> \
        <ul> \
            <li><a href="downloads/movies/interactivedemos.html"><img src=images/newsimage.gif border=0>&nbsp;Didacticiels, Multim&#233;dias</a></li> \
            <li><a href="forms/FrenchDemoForm.html">Version d&rsquo;&#201;valuation</a></li> \
            <li><a href="products/brochures/brochures.html">Brochures et Flyers (pdf)</a></li> \
            <li><a href="pdf/StatSoftQuickRefFR.pdf">Guide de l&rsquo;Utilisateur (pdf)</a></li> \
            <li><a href="http://www.statsoft.com/support/download/white-papers/">Articles Techniques (*)</a></li> \
            <li><a href="downloads/maintenance/download.html">Zone de T&#233;l&#233;chargement </a></li> \
            <li><a href="downloads/maintenance/download.html#telecharger">Mise &#224; Jour</a></li> \
            <li><a href="http://www.statsoft.com/support/download/visual-basic-examples/"><I>STATISTICA</I> Visual Basic (*)</a></li> \
        </ul> \
    </li> \
 \
    <li><a href="company/customers/companies.html">Clients</a> \
        <ul> \
            <li><a href="http://www.statsoft.com/customers/success-stories/">Success Stories (*)</a></li> \
            <li><a href="company/customers/companies.html">R&#233;f&#233;rences</a></li> \
            <li><a href="http://www.statsoft.com/customers/feedback/">Avis des Utilisateurs (*)</a></li> \
        </ul> \
    </li> \
    \
    <li><a href="partners/partners.html">Partenaires</a> \
        <ul> \
            <li><a href="partners/partners.html">Partenaires  - Pr&#233;sentation</a></li> \
            <li><a href="partners/allianceprograms.html">Devenir Partenaire</a></li> \
            <li><a href="partners/partnercert.html">Certification</a></li> \
            <li><a href="partners/partnerlevels.html">Types de Partenariats</a></li> \
        </ul> \
    </li> \
    \
    <li><a href="company/company.htm">La Soci&#233;t&#233;</a> \
        <ul> \
            <li><a href="company/company.htm">Qui sommes-nous ?</a></li> \
            <li><a href="company/officeaccess.html">Acc&#233;der &#224; nos Locaux</a></li> \
            <li><a href="company/history.html">Historique</a></li> \
            <li><a href="company/newsletter/newsletter.htm">Notre Newsletter</a></li> \
            <li><a href="company/exhibitions.htm">Nous Rencontrer</a></li> \
            <li><a href="http://www.statsoft.com/company/reviews/">Publications (*)</a></li> \
            <li><a href="company/jobs.html">Offres d&rsquo;Emploi</a></li> \
            <li><a href="company/regions.html">Nous contacter</a></li> \
            <li><a href="company/legal.html">Mentions L&#233;gales</a></li> \
            <li><a href="http://www.statsoft.com/customers/success-stories/">Success Stories (*)</a></li> \
        </ul> \
    </li> \
    \
    <li><a href="company/regions.html">Nous contacter</a> \
    </li> \
\
</ul> \
';


