function ieupdate(){
 var strBrowser = navigator.userAgent.toLowerCase();
 if(strBrowser.indexOf("msie") > -1 && strBrowser.indexOf("mac") < 0) {
  var theObjects = document.getElementsByTagName('object');
  var theObjectsLen = theObjects.length;
  for (var i = 0; i < theObjectsLen; i++) {
   if(theObjects[i].outerHTML){
    if(theObjects[i].data){
     theObjects[i].removeAttribute('data');
    }
    var theParams = theObjects[i].getElementsByTagName("param");
    var theParamsLength = theParams.length;
    for (var j = 0; j < theParamsLength; j++) {
      if(theParams[j].name.toLowerCase() == 'flashvars'){
        var theFlashVars = theParams[j].value;
      }
    }
    var theOuterHTML = theObjects[i].outerHTML;
    var re = /<param name="FlashVars" value="">/ig;
    theOuterHTML = theOuterHTML.replace(re,
"<param name='FlashVars' value='" + theFlashVars + "'>");
    theObjects[i].outerHTML = theOuterHTML;
   }
  }
 }
}

function popupIMG(imgId){
	var popup = document.getElementById('popupValue');
	popup.value = imgId;
	window.open('popup.html','RGB','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=800,height=600');
}

function popupLIC(licURL){
	var URLtoOpen = licURL;
	window.open(URLtoOpen,'RGB','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=800,height=600');
}

function popupIMGS(imgsId){
	var popup = document.getElementById('popupValue');
	popup.value = imgsId;
	window.open('popup2.html','RGB','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=800,height=600');
}