/**
* This script was built to replace the one provided by GeoTrust because
* it did not adhere to our site requirements (html 4.01, DOM only browsers)
*/
var sPopupUri = "https://smarticon.geotrust.com/smarticonprofile?Referer=https://www.e-onlinedata.com";
var sImageUri = "//smarticon.geotrust.com/smarticon?ref=" + window.location.hostname;
var sPopupHeight = 600;
if(screen != null) if(screen.height < 670) sPopupHeight = screen.height - 70;
var sPopupProperties = "status=1,location=0,scrollbars=1,width=400,height=" + sPopupHeight;
var oPopup = null;

/**
* launch a popup window describing our certificate
*/
function geoPopup()
{
    oPopup = window.open(sPopupUri, 'GT__SIP', sPopupProperties);
    if (oPopup != null) oPopup.focus();
}

/**
* load the geo image in the preloaded container (if possible)
*/
function loadGeoImage()
{
    if (document.getElementById('geoImage'))
    {
        document.getElementById('geoImage').setAttribute('src', sImageUri);
    }
}

