var profiles = {video: {width:600, height:440}};     
		$(document).ready(function(){   
			$(".pop-up").popupwindow(profiles);     
		});

$(function() {
    
    $('#slider').cycle({
        fx:     'fade',
        speed:  1000,
        timeout: 9000,
        prev: '#prev',
        next:  '#next',
        pager: '#bannernav',
	pagerAnchorBuilder: pagerFactory

    });


    function pagerFactory(idx, slide) {
        
        var loopCount=3;
        var s = idx >= loopCount ? ' style="display:none"' : '';
     
        if(idx=="0") { var tooltip="Holiday sales 60% Off!";}
        else if (idx=="1") { var tooltip="Protect Your Data";}
        else if (idx=="2") { var tooltip="Save up 50%";}
        else if (idx=="3") { var tooltip="";}
        else if (idx=="4") { var tooltip="";}
        else if (idx=="5") { var tooltip="";}
        else if (idx=="6") { var tooltip="";}
        else if (idx=="7") { var tooltip="";}
        else if (idx=="8") { var tooltip="";}
        else if (idx=="9") { var tooltip="";}
        else if (idx=="10") { var tooltip="";}
              
         return '<li><div><a href="#">'+(idx+1)+'</a></div></li>';

         //return '<li><a href="#"><span class="tooltip"><span class="middle">'+tooltip+'</span><span class="bottom"></span></span>'+(idx+1)+'</a></li>';
         
         
    };

	
});

/***********************************************
* Accordion Content script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
//Initialize Accordion:
ddaccordion.init({
	headerclass: "slide_down", //Shared CSS class name of headers group
	contentclass: "hidden_stuff", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover"
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: false, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content.
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: false, //persist state of opened contents within browser session?
	toggleclass: ["off", "on"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["src", "http://sc1.checkpoint.com/www/images/layout/axel/show.png", "http://sc1.checkpoint.com/www/images/layout/axel/hide.png"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})

$(document).ready(function() {
//product fade
$("#products .column").hover(function(){$(this).fadeOut(0);$(this).fadeIn(300);});
});
