var mygallery2 = new fadeSlideShow({
    wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
    dimensions: [200, 200], //width/height of gallery in pixels. Should reflect dimensions of largest image
    imagearray: [
		["Imagenes/Patrocinadores/patro_01.jpg", "http://www.coopenae.fi.cr/", "_new", "Coopenae"],
		//["Imagenes/Patrocinadores/patro_02.jpg", "http://www.mecocr.com/", "_new", "Meco"],
		//["Imagenes/Patrocinadores/patro_03.jpg", "http://www.crguias.com/detalle.php?neg=10", "_new", "RevSys Solutions"],
                ["Imagenes/Patrocinadores/patro_04.jpg", "http://www.icoder.go.cr/", "_new", "ICODER"]
		//["Imagenes/Patrocinadores/patro_05.jpg", "http://www.crguias.com/", "_new", "CRGuias"] //<--no trailing comma after very last image element!		
	],
    displaymode: { type: 'auto', pause: 15000, cycles: 0, wraparound: false, randomize: true },
    persist: true, //remember last viewed slide and recall within same session?
    fadeduration: 2000, //transition duration (milliseconds)
    descreveal: "peekaboo",
    togglerid: ""
})

function getURLParam(strParamName) {
    var strReturn = "";
    var strHref = window.location.href;
    if (strHref.indexOf("?") > -1) {
        var strQueryString = strHref.substr(strHref.indexOf("?")).toLowerCase();
        var aQueryString = strQueryString.split("&");
        for (var iParam = 0; iParam < aQueryString.length; iParam++) {
            if (
aQueryString[iParam].indexOf(strParamName.toLowerCase() + "=") > -1) {
                var aParam = aQueryString[iParam].split("=");
                strReturn = aParam[1];
                break;
            }
        }
    }
    return unescape(strReturn);
} 
