﻿/* configure drop down menu
--------------------------------------- */
$(document).ready(function(){
	$("#menu li.first").hover(
		function(){ $("ul", this).fadeIn("fast"); }, 
		function() { } 
	);
	if (document.all) {
		$("#menu li.first").hoverClass ("sfHover");
	}
});


$.fn.hoverClass = function(c) {
    return this.each(function(){
        $(this).hover( 
            function() { $(this).addClass(c);  },
            function() { $(this).removeClass(c); }
        );
    });
}; 


/* configure sIFR
-------------------------------------*/
var nimbus = {
src: '/flash/nimbus.swf'
};

sIFR.debugMode = true;
sIFR.delayCSS  = true;
sIFR.activate(nimbus);


// dark background, white text centered
sIFR.replace(
	nimbus , 
	{
		selector: '#innerContent div.pullOut h4, #innerContent div.pullOut p.action', 
		css: {
			'.sIFR-root' : {'color' : '#eeeeee', 'text-align': 'center', 'text-transform' : 'lowercase'},
			'.highlight': { 'color': '#f9931b', 'font-weight': 'bold' },
			'.esphighlight': { 'color': '#3399ff', 'font-weight': 'bold' },
			'a,a:hover': { 'color': '#eeeeee', 'text-decoration': 'none' }
		}, wmode: 'transparent'
		, ratios: [6,1.3,7,1.26,8,1.23,9,1.22,10,1.19,11,1.22,12,1.2,13,1.19,14,1.18,15,1.17,16,1.17,17,1.16,18,1.16,19,1.15,20,1.15,21,1.14,22,1.16,23,1.15,24,1.15,25,1.14,26,1.14,27,1.14,28,1.14,29,1.14,30,1.13,31,1.13,32,1.14,33,1.14,34,1.13,35,1.13,36,1.13,37,1.13,38,1.13,39,1.13,40,1.12,41,1.12,42,1.13,43,1.13,44,1.12,45,1.12,46,1.12,47,1.12,48,1.12,49,1.12,50,1.12,51,1.12,52,1.12,53,1.12,54,1.12,55,1.12,56,1.12,57,1.12,58,1.12,59,1.12,60,1.12,61,1.11,62,1.11,63,1.12,64,1.12,65,1.11,66,1.11,67,1.11,68,1.11,69,1.11,70,1.11,71,1.11,72,1.11,73,1.12,74,1.11,75,1.11,76,1.11,77,1.11,78,1.11,79,1.11,80,1.11,81,1.11,82,1.11,83,1.11,84,1.11,85,1.11,86,1.11,87,1.11,88,1.11,89,1.11,90,1.11,91,1.11,92,1.11,93,1.11,94,1.11,95,1.11,96,1.11,97,1.11,98,1.11,99,1.11,100,1.11,101,1.11,102,1.11,103,1.11,104,1.11,105,1.11,106,1.11,107,1.11,108,1.11,109,1.11,110,1.11,111,1.11,112,1.11,113,1.11,114,1.11,115,1.11,116,1.11,117,1.11,118,1.11,119,1.11,120,1.11,121,1.11,122,1.11,123,1.11,124,1.1,1.11]
	
	}
);


// dark background, white text left-aligned
sIFR.replace(
	nimbus , 
	{
		selector: '#innerProductList h4, #innerProductList p,#innerAdditionalInfo h4, .productList th.vzHeader, #innerCYOA div.headingWrapper h3, #news_spot h4', 
		css: {
			'.sIFR-root' : {'color' : '#eeeeee', 'text-transform' : 'lowercase'}, 
			'a' : { 'color':'#eeeeee','text-decoration':'none' },
			'a:hover' : { 'color':'inherit','text-decoration':'underline' },
			'.highlight': { 'color': '#f9931b', 'font-weight': 'bold' },
			'.esphighlight': { 'color': '#3399ff', 'font-weight': 'bold' },
			'strong': { 'color': '#eeeeee', 'text-transform': 'lowercase', 'font-weight': 'bold' }
			
		}, wmode: 'transparent'
		, ratios: [6,1.3,7,1.26,8,1.23,9,1.22,10,1.19,11,1.22,12,1.2,13,1.19,14,1.18,15,1.17,16,1.17,17,1.16,18,1.16,19,1.15,20,1.15,21,1.14,22,1.16,23,1.15,24,1.15,25,1.14,26,1.14,27,1.14,28,1.14,29,1.14,30,1.13,31,1.13,32,1.14,33,1.14,34,1.13,35,1.13,36,1.13,37,1.13,38,1.13,39,1.13,40,1.12,41,1.12,42,1.13,43,1.13,44,1.12,45,1.12,46,1.12,47,1.12,48,1.12,49,1.12,50,1.12,51,1.12,52,1.12,53,1.12,54,1.12,55,1.12,56,1.12,57,1.12,58,1.12,59,1.12,60,1.12,61,1.11,62,1.11,63,1.12,64,1.12,65,1.11,66,1.11,67,1.11,68,1.11,69,1.11,70,1.11,71,1.11,72,1.11,73,1.12,74,1.11,75,1.11,76,1.11,77,1.11,78,1.11,79,1.11,80,1.11,81,1.11,82,1.11,83,1.11,84,1.11,85,1.11,86,1.11,87,1.11,88,1.11,89,1.11,90,1.11,91,1.11,92,1.11,93,1.11,94,1.11,95,1.11,96,1.11,97,1.11,98,1.11,99,1.11,100,1.11,101,1.11,102,1.11,103,1.11,104,1.11,105,1.11,106,1.11,107,1.11,108,1.11,109,1.11,110,1.11,111,1.11,112,1.11,113,1.11,114,1.11,115,1.11,116,1.11,117,1.11,118,1.11,119,1.11,120,1.11,121,1.11,122,1.11,123,1.11,124,1.1,1.11]
	
	}
);


// white background, dark grey text
sIFR.replace(
	nimbus , 
	{
	    selector: '#innerContent h3, #title_w_nav h3, h3.title',  
		css: {
			'.sIFR-root' : {'color' : '#545454', 'text-transform' : 'lowercase'},
			'.highlight': { 'color': '#f9931b', 'font-weight': 'bold' },
			'.esphighlight': { 'color': '#3399ff', 'font-weight': 'bold' },
			'a,a:hover': { 'color': '#eeeeee', 'text-decoration': 'none' }
		}, wmode: 'transparent'
		, ratios: [6,1.3,7,1.26,8,1.23,9,1.22,10,1.19,11,1.22,12,1.2,13,1.19,14,1.18,15,1.17,16,1.17,17,1.16,18,1.16,19,1.15,20,1.15,21,1.14,22,1.16,23,1.15,24,1.15,25,1.14,26,1.14,27,1.14,28,1.14,29,1.14,30,1.13,31,1.13,32,1.14,33,1.14,34,1.13,35,1.13,36,1.13,37,1.13,38,1.13,39,1.13,40,1.12,41,1.12,42,1.13,43,1.13,44,1.12,45,1.12,46,1.12,47,1.12,48,1.12,49,1.12,50,1.12,51,1.12,52,1.12,53,1.12,54,1.12,55,1.12,56,1.12,57,1.12,58,1.12,59,1.12,60,1.12,61,1.11,62,1.11,63,1.12,64,1.12,65,1.11,66,1.11,67,1.11,68,1.11,69,1.11,70,1.11,71,1.11,72,1.11,73,1.12,74,1.11,75,1.11,76,1.11,77,1.11,78,1.11,79,1.11,80,1.11,81,1.11,82,1.11,83,1.11,84,1.11,85,1.11,86,1.11,87,1.11,88,1.11,89,1.11,90,1.11,91,1.11,92,1.11,93,1.11,94,1.11,95,1.11,96,1.11,97,1.11,98,1.11,99,1.11,100,1.11,101,1.11,102,1.11,103,1.11,104,1.11,105,1.11,106,1.11,107,1.11,108,1.11,109,1.11,110,1.11,111,1.11,112,1.11,113,1.11,114,1.11,115,1.11,116,1.11,117,1.11,118,1.11,119,1.11,120,1.11,121,1.11,122,1.11,123,1.11,124,1.1,1.11]
	
	}
);