//For www.basel-ii-association.com

var id = 3159;
var name = 'www.basel-ii-association.com';

var video = new iSpeakVideo();
if (mini == undefined) var mini = false;
if (fixed == undefined) var fixed = true;

if (mini)
{
    video.src = 'https://secure.trust-guard.com/seals/videos/security-mini.swf';        
    video.height=184;
    video.width=122; 
}
else
{
    video.src = 'https://secure.trust-guard.com/seals/videos/security-large.swf';
    video.height=320;
    video.width=200;    
}

if (fixed)
{
    if (typeof y != 'undefined')
    {
        video.positionFrom='fromBottom';
        video.positionHorizontalFrom=align;
        video.Location.X = x; // - 15; //65;

        if (video.isIE || video.isOpera || document.compatMode.indexOf('CSS') != -1)
            y -=  25;
        else
            y += 17;

        video.Location.Y = y;
    }
    else
    {
        video.ReferenceID = 'video-seal';
    }
    video.Intialize();
    
    var container = document.getElementById('iSpeakVideo_Container');
    var adjy = (video.isFirefox) ? '-30px' : '-25px';
    var adjx = (video.isFirefox) ? 0 : 2; // 27 : 29; 
    var size;
    var width;
    var bump = 0;
    
    if (!demo) //Don't bump anything on our site
    {
        switch (bump)
        {
            case 1: //Bump both once.
                adjx += (mini) ? 13 : 27;
                break;
            case 2: //Bump only mini once.
                if (mini) adjx += 13;
                break;
            case 3: //Only large once.
                if (!mini) adjx += 27;
                break;        
        }
    }

    if (mini)
    {
        size = 'mini';
        width = '100px';
    }
    else
    {
        size = 'header';
        width = '150px';    
    }

    var link = 'https://secure.trust-guard.com/seals/' + id + '/security/' + size;
    if (demo) link += '/demo';
    container.innerHTML += '<a name="trustlink" href="https://secure.trust-guard.com/certificates/' 
        + name + '" target="_blank">'
        + '<img id="video-seal" style="z-index:1000000; border:0px; position:relative; left:' + adjx + 'px; top:' 
        + adjy + '; width:' + width + ';" name="trust-seal" alt="security certified" src="' + link + '"/></a>';
}
else
{
    video.WriteMovieObject();
}

function hideWhenFinished()
{
    video.HideWhenFinished();
}
