// JavaScript Document
/* SECCION QUE MUEVE LINK INTERNO A LA SECCION */
jQuery(document).ready(function(){
	// This code is executed after the DOM has been completely loaded
	jQuery('#cabecera ul li a, a.up, area.interiorImg').click(function(e){
		// If a link has been clicked, scroll the page to the link's hash target:		
		e.preventDefault();
		jQuery.scrollTo(this.hash || 0, 1500);
	});
});	
<!-- CONFIGURACION DE IMAGENES DE LA SECCION PRINCIPAL -->
var mygallery1=new fadeSlideShow({
	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
	dimensions: [300, 299], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [["img/jb.png", "#seccion2pt", "", "Captain Morgan, Agencia Digital"],
				 ["img/fanta.png", "#seccion2pt", "", "J&B México, Agencia Digital"]
				],
	displaymode: {type:'auto', pause:8000, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 2000, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})
var mygallery2=new fadeSlideShow({
	wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
	dimensions: [330, 299], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [["img/indi.jpg", "#seccion1pt", "", "Coca-Cola Zero México, Social Media"],
				 ["img/coca.png", "#seccion1pt", "", "Social Media"]
				],
	displaymode: {type:'auto', pause:7000, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 2000, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})
var mygallery3=new fadeSlideShow({
	wrapperid: "fadeshow3", //ID of blank DIV on page to house Slideshow
	dimensions: [646, 370], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["img/beach.png", "#seccion4pt", "", "LRDF, Diseño Gráfico"],
		["img/brick.jpg", "#seccion4pt", "", "Hotel Brick, Diseño Gráfico"],
				["img/oximoron.jpg", "#seccion4pt", "", "Stop, Keep Moving, Diseño Gráfico"],
				["img/route.jpg", "#seccion4pt", "", "Secretaría de Turismo, Diseño Gráfico"],

		
		
		
	],
	displaymode: {type:'auto', pause:6000, cycles:0, wraparound:true},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 2000, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})
var mygallery4=new fadeSlideShow({
	wrapperid: "fadeshow4", //ID of blank DIV on page to house Slideshow
	dimensions: [300, 684], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["img/imas2.png", "#seccion3pt", "", "Indie-O Music Awards IMAS"],
		["img/indi2.jpg", "#seccion3pt", "", "Indie-O Fest"]
	],
	displaymode: {type:'auto', pause:5080, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 2000, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})


jQuery(document).ready(function(){
		jQuery('img.miltone').click(function(){
			jQuery.scrollTo(jQuery(this).attr("alt") || 0, 1500);			
		});	
});
