//for highslide *************************************************************************************
hs.graphicsDir = 'js/highslide/graphics/';	//graphics folder for hs
hs.captionEval = 'this.a.title'; 						//get the link title and use it as caption
hs.transitions = ["expand"]; 								//options: ["expand"] , ["fade"]
hs.outlineType = 'drop-shadow'; 						//options: 'rounded-white', 'outer-glow', 'drop-shadow', null
hs.loadingOpacity = 0.75;										//alpha for loading div only
hs.showCredits = false;
hs.captionSlideSpeed = 1; 									// set to 0 to disable slide in effect

hs.expandSteps = 50;
hs.expandDuration = 200;
hs.restoreSteps = 50;
hs.restoreDuration = 200;

hs.marginLeft = 15;
hs.marginRight = 15;
hs.marginTop = 15;
hs.marginBottom = 15;
hs.align = 'center';
hs.outlineWhileAnimating = true;
hs.restoreTitle = '';

// always use this with flash, else the movie will be stopped on close:
hs.preserveContent = false;
//***************************************************************************************************

//A JAVASCRIPT UTILITY TO OPEN LINKS IN A NEW WINDOW(TAB). FOR XHTML ********************************
function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
externalLinks();
window.onload = externalLinks;
//***************************************************************************************************


//Change an image src
function changeSrc(img, src) {
	document.getElementById(img).src=src;
}

//PRELOAD IMAGES LIST
if (document.images) {
	img1 = new Image();
	//img2 = new Image();
	img1.src = "img/fleche_more_active.png";
	//img2.src = "../path/to/image-02.gif";
}

//*************************************************************************************************************************