/***********************************************
* Swiss Army Image slide show script  - © John Davenport Scheuer: http://home.comcast.net/~jscheuer1/
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
***********************************************/

//If using image buttons as controls, Set image buttons' image preload here true
//(use false for no preloading and for when using no image buttons as controls):
var preload_ctrl_images=true;

//And configure the image buttons' images here:
var previmg='left.gif';
var stopimg='stop.gif';
var playimg='play.gif';
var nextimg='right.gif';

var slides=[]; //FIRST SLIDESHOW
//configure the below images and descriptions to your own. 
slides[0] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/cooperador-atlas.jpg", "Atlas Economic Research Foundation", "http://atlasnetwork.org/", "_new", "top=250, left=300, width=900, height=600, location, resizable, scrollbars"];
slides[1] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/cooperador-friedrich.jpg", "Friedrich Naumann Stiftung", "http://www.freiheit.org/", "_new", "top=250, left=300, width=900, height=600, location, resizable, scrollbars"];
slides[2] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/cooperador-relial.jpg", "Red Liberal de América Latina", "http://www.relial.org/", "_new", "top=250, left=300, width=900, height=600, location, resizable, scrollbars"];
slides[3] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/cooperador-ndi.jpg", "National Democratic Institute", "http://www.ndi.org/", "_new", "top=250, left=300, width=900, height=600, location, resizable, scrollbars"];
slides[4] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/cooperador-iri.jpg", "International Republican Institute", "http://www.iri.org/", "_new", "top=250, left=300, width=900, height=600, location, resizable, scrollbars"];
slides[5] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/cooperador-conviccion.jpg", "Convicción por la Libertad"];
slides.no_controls=1 //no controls
//above slide show uses only the defaults

var header=[]; //SECOND SLIDESHOW
//configure the below images and descriptions to your own. 
header[0] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-01.jpg"];
header[1] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-02.jpg"];
header[2] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-03.jpg"];
header[3] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-04.jpg"];
header[4] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-05.jpg"];
header[5] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-06.jpg"];
header[6] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-07.jpg"];
header[7] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-08.jpg"];
header[8] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-09.jpg"];
header[9] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-10.jpg"];
header[10] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-11.jpg"];
header[11] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-12.jpg"];
header[12] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-13.jpg"];
header[13] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-14.jpg"];
header[14] = ["http://www.iplperu.org/wp-content/themes/sandbox/images/header/header-15.jpg"];
header.no_controls=1 //no controls
header.no_descriptions=1; //use for no descriptions displayed
header.no_added_linebreaks=1; //use for no added line breaks in formatting of texts and controls
//optional properties for these images:


var slides3=[]; //THIRD SLIDESHOW
//configure the below images and descriptions to your own, note optional links, target and window specifications. 
slides3[0] = ["1_side.jpg", "", "http://www.google.com", "_new", "top=250, left=300, width=500, height=300, location, resizable, scrollbars"];
slides3[1] = ["2_side.jpg", ""];
slides3[2] = ["3_side.jpg", "", "http://www.dynamicdrive.com"];
slides3[3] = ["5_side.jpg", "", "http://www.msn.com", "_new"];
//optional properties for these images:
slides3.no_descriptions=1; //use for no descriptions displayed
slides3.pause=1; //use for pause onmouseover
slides3.image_controls=1; //use images for controls
slides3.button_highlight='#cccccc'; //onmouseover background-color for image buttons (requires image_controls=1)
slides3.specs='width=300, height=250' //global specifications for this show's new window(s)
slides3.random=1; //set a random slide sequence on each page load
slides3.manual_start=1; //start show in manual mode (stopped)

//Notes:
//slides#.target will set a target for a slide group, will be overridden by slides#[#][3], if present
//slides#.specs will set new window specifications for a slide group, will be overridden by slides#[#][4], if present
//slides#.fadecolor will set fading images background color, defaults to white
//slides#.no_controls will set a slide show with no controls
//slides#.random will set a random slide sequence on each page load
//slides#.delay=3000 will set miliseconds delay between slides for a given show, may also be set in the call as the last parameter
//slides#.jumpto=1 will display added controls to jump to a particular image by its number
//slides#.no_added_linebreaks=1; use for no added line breaks in formatting of texts and controls

//use below to create a customized onclick event for linked images in a given show:
//slides#.onclick="window.open(this.href,this.target,'top=0, left=0, width='+screen.availWidth+', height='+screen.availHeight);return false;"