**************************

<!DOCTYPE html>
<html>
<head>
<title>CrossScript</title>
<script type="text/javascript" src="http://www2.johnabbott.qc.ca/js/easyXDM.js"></script>
<script type="text/javascript">

var pageToGet = 'https://johnabbott.cvmanager.com/Update.aspx?region=qc&lang=e';
var loc_var=this.location.href;
console.log(pageToGet)
console.log(loc_var)

if(loc_var.indexOf('?addr=')!=-1)
{
var loc_arr=loc_var.split('?addr=');
document.getElementById('jaciframe').src='https://johnabbott.cvmanager.com' + loc_arr[1];
}
console.log("in easyXDM")
var transport = new easyXDM.Socket(/** La configuration */{
swf: "https://johnabbott.cvmanager.com/iframe/easyxdm.swf",
remote: "https://johnabbott.cvmanager.com/iframe/resize_intermediate.html?url=" + encodeURIComponent(pageToGet),
container: "jaciframe",
onMessage: function(message, origin){
var settings = message.split(",");
this.container.getElementsByTagName("iframe")[0].style.width = "600px";
this.container.getElementsByTagName("iframe")[0].style.height = settings[0] + "px";
}
});
console.log(transport)
</script>
</head>

<body>
<div id="jaciframe"><!--Le contenu sera inséré ici--></div>
<p>**************************</p>