\n'); } var agt=navigator.userAgent.toLowerCase(); isOpera = (agt.indexOf("opera") > -1) var ie4up = (document.all && !isOpera) showIPIX = function(src, x, y){ if(!navigator.javaEnabled()){ alert("You must have JAVA enabled to view IPIX visualisations!"); return false; } var s = document.getElementById('IPIXObj').style; oknox=x; oknoy=y; //alert(s + " "+ y); if (ie4up) { doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } else { doc_width = self.innerWidth; doc_height = self.innerHeight; } var tagHtml = ""; s.left = (doc_width / 2) - 350 + oknox + 27; s.top = (doc_height / 2) - 278 + oknoy + 57; s.display = "block"; document.getElementById('IPIXObj').innerHTML = tagHtml; } oknox=0; oknoy=0; showMOV = function(src, x, y){ s = document.getElementById('MOVObj').style; oknox=x; oknoy=y; //alert(s + " "+ y); if (ie4up) { doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } else { doc_width = self.innerWidth; doc_height = self.innerHeight; } document.getElementById('MOVObj').innerHTML = ""; s.left = (doc_width / 2) - 350 + oknox + 27; s.top = (doc_height / 2) - 278 + oknoy + 52; s.display = "block"; } hideMOV = function() { document.getElementById('MOVObj').style.display = "none"; document.getElementById('MOVObj').innerHTML=""; } hideIPIX = function() { document.getElementById('IPIXObj').style.display = "none"; document.getElementById('IPIXObj').innerHTML=""; } hideAll = function() { hideMOV() hideIPIX() } function onResize(){ if (ie4up) { doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } else { doc_width = self.innerWidth; doc_height = self.innerHeight; } s = document.getElementById('miss3flash').style; s.left = (doc_width / 2) - 350; s.top = (doc_height / 2) - 278; s = document.getElementById('IPIXObj').style; s.left = (doc_width / 2) - 350 + oknox + 27; s.top = (doc_height / 2) - 278 + oknoy + 57; s = document.getElementById('MOVObj').style; s.left = (doc_width / 2) - 350 + oknox + 27; s.top = (doc_height / 2) - 278 + oknoy + 52; } function miss3_swf_DoFSCommand(comm,arg){} window.onResize=onResize; //-->