function setUp(q) {
	switch (q) {
		case "index":
		   
		
		break;
		case "lookbook":
			$('#slider_lookbook').bxSlider({
				prevText: 'aasfasfasf',
				prevImage: 'imagenes/flecha_anterior.jpg',
				nextText: 'afasfasfasfasf',
				nextImage: 'imagenes/flecha_siguiente.jpg',
			});
			$('#slider_lookbook div ul li a').prepend('<img src="imagenes/lookbook_mask.png" class="mask" />');
			$('#slider_lookbook div ul li a').colorbox({current: ''});
			
			$(".bx-next, .bx-prev").hover(function() { //On hover...
			//Animate the image to 0 opacity (fade it out)
				$(this).find("img").stop().fadeTo('normal', 0 , function() {
				$(this).hide() //Hide the image after fade
			});
			} , function() { //on hover out...
			//Fade the image to full opacity 
			$(this).find("img").stop().fadeTo('normal', 1).show();
			});
		break;
	case "coleccion":
		$(document).ready(function() {
			$('.slider').nivoSlider({
				effect: 'fade',
				// Specify sets like: 'fold,fade,sliceDown'
				slices: 15,
				// For slice animations
				boxCols: 8,
				// For box animations
				boxRows: 4,
				// For box animations
				animSpeed: 800,
				// Slide transition speed
				pauseTime: 3000,
				// How long each slide will show
				startSlide: 0,
				// Set starting Slide (0 index)
				directionNav: true,
				// Next & Prev navigation
				directionNavHide: false,
				// Only show on hover
				controlNav: false,
				// 1,2,3... navigation
				controlNavThumbs: false,
				// Use thumbnails for Control Nav
				controlNavThumbsFromRel: false,
				// Use image rel for thumbs
				controlNavThumbsSearch: '.jpg',
				// Replace this with...
				controlNavThumbsReplace: '_thumb.jpg',
				// ...this in thumb Image src
				keyboardNav: true,
				// Use left & right arrows
				pauseOnHover: true,
				// Stop animation while hovering
				manualAdvance: false,
				// Force manual transitions
				captionOpacity: 0.8,
				// Universal caption opacity
				prevText: '>',
				// Prev directionNav text
				nextText: '<',
				// Next directionNav text
				beforeChange: function() {},
				// Triggers before a slide transition
				afterChange: function() {},
				// Triggers after a slide transition
				slideshowEnd: function() {},
				// Triggers after all slides have been shown
				lastSlide: function() {},
				// Triggers when last slide is shown
				afterLoad: function() {} // Triggers when slider has loaded
			});
			
		/*	 $("#fondoPopUp").height($(document).height());//el alto del fondo del pop Up es == al alto del documento
	   $("#fondoPopUp").fadeTo(800, 0.5, function(){
		   $("#popUp").fadeTo(800, 1, function(){
			   $("#cerrarPopUp").click(function(){
				  $("#popUp").fadeTo(500, 0, function(){
					   $(this).css("display", "none");
					   $("#fondoPopUp").fadeTo(500, 0, function(){
						   $(this).css("display", "none"); 
					   });
				  });
	         });
	     });
	});*/
			
		});
		
  
		break;
	default:
		break;
	}
}
