
<!--
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";
} 
} 
window.onload = externalLinks;

//----------------------------------------//
//------- Fonction pop-up close-up -------//
//----------------------------------------//

var windowtitle="Close-up"
var popwidth=790
var popheight=420

function detectexist(obj){
	return (typeof obj !="undefined")
}

function closeup(imgpath, imgpath2){
	
	function getpos(){
	
		leftpos=(detectexist(window.screenLeft))? screenLeft+document.body.clientWidth/2-popwidth/2 : detectexist(window.screenX)? screenX+innerWidth/2-popwidth/2 : 0
		toppos=(detectexist(window.screenTop))? screenTop+document.body.clientHeight/2-popheight/2 : detectexist(window.screenY)? screenY+innerHeight/2-popheight/2 : 0
		
		if (window.opera){
			leftpos-=screenLeft
			toppos-=screenTop
		}
	}
	
	getpos()
	var winattributes='width='+popwidth+'px, height='+popheight+'px, resizable=yes,left='+leftpos+',top='+toppos
	if (typeof closeupwin=="undefined" || closeupwin.closed)
		closeupwin=window.open("","",winattributes)
	else{
		closeupwin.resizeTo(popwidth, popheight+30)
	}
	closeupwin.document.open()
	closeupwin.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><title>Close-up</title><link rel="stylesheet" type="text/css" media="screen" href="../../fichiers_communs/css/styles.css" /><body><div id="closeup">Before/Avant<img src="../../fichiers_communs/images/cases/'+imgpath+'" alt="closeupbefore"></div><div id="closeup">After/Apr&egrave;s<img src="../../fichiers_communs/images/cases/'+imgpath2+'" alt="closeupafter"><p align="right"><a href="javascript:window.close();">Close window | Fermer la fen&ecirc;tre</a></p></div><blockquote><img src="../../fichiers_communs/images/logo_closeup.gif"></blockquote></body></html>')
	closeupwin.document.close()
	closeupwin.focus()
}

//----------------------------------------//
//------- Patient education video --------//
//----------------------------------------//

function changeVideo(filename)
{
document.getElementById('videoSpan').innerHTML='Loading/Chargement<br /><object id="video" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"><param name="controls" value="ImageWindow"><param name="console" value="Clip1"><param name="autostart" value="true"><param name="src" value="'+filename+'"><embed src="'+filename+'" type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ImageWindow" autostart=true> </embed> </object>';
}

// -->