﻿var lastopened = null;

function DisplayPopup(identifier)
{
   if (lastopened != null)
        HidePopup(lastopened);
   
   document.getElementById(identifier).style.left='auto';
   document.getElementById(identifier).style.top='auto';
   lastopened = identifier;
}


function HidePopup(id)
{
     document.getElementById(id).style.left='-5000px';
     //alert(id);
     document.getElementById(id).style.top='-1000px';
}


