﻿// JScript File

function GB_showCenter(a,url,b,c)
{
    var index=parseInt(url.indexOf('?'));
    if(index==-1)
    {
     url1 = url + '?KeepThis=true&TB_iframe=true&height=500&width=600&modal=true';    
     tb_show(a, url1);
    }
    else
    {
    url1 = url + '&KeepThis=true&TB_iframe=true&height=500&width=600&modal=true';    
    tb_show(a, url1);
    }
    return false;

}
function GB_showCenter4(a,url,b,c)
{
    var index=parseInt(url.indexOf('?'));
    if(index==-1)
    {
     url1 = url + '?KeepThis=true&TB_iframe=true&height=400&width=500&modal=true';    
     tb_show(a, url1);
    }
    else
    {
    url1 = url + '&KeepThis=true&TB_iframe=true&height=400&width=500&modal=true';    
    tb_show(a, url1);
    }
    return false;

}
function GB_showCenter2(a,url,b,c)
{
    var index=parseInt(url.indexOf('?'));
    if(index==-1)
    {
     url1 = url + '?KeepThis=true&TB_iframe=true&height=200&width=250&modal=true';    
     tb_show(a, url1);
    }
    else
    {
    url1 = url + '&KeepThis=true&TB_iframe=true&height=200&width=250&modal=true';    
    tb_show(a, url1);
    }
    return false;

}
function GB_showCenter3(a,url,b,c)
{
    var index=parseInt(url.indexOf('?'));
    if(index==-1)
    {
     url1 = url + '?KeepThis=true&TB_iframe=true&height=300&width=350&modal=true';    
     tb_show(a, url1);
    }
    else
    {
    url1 = url + '&KeepThis=true&TB_iframe=true&height=300&width=350&modal=true';    
    tb_show(a, url1);
    }
    return false;

}
function GB_showCenter23(a,url,b,c)
{
    var index=parseInt(url.indexOf('?'));
    if(index==-1)
    {
     url1 = url + '?KeepThis=true&TB_iframe=true&height=200&width=350&modal=true';    
     tb_show(a, url1);
    }
    else
    {
    url1 = url + '&KeepThis=true&TB_iframe=true&height=200&width=350&modal=true';    
    tb_show(a, url1);
    }
    return false;

}

function GB_showCenter5(a,url,b,c)
{
    var index=parseInt(url.indexOf('?'));
    if(index==-1)
    {
     url1 = url + '?KeepThis=true&TB_iframe=true&height=550&width=800&modal=true';    
     tb_show(a, url1);
    }
    else
    {
    url1 = url + '&KeepThis=true&TB_iframe=true&height=550&width=800&modal=true';    
    tb_show(a, url1);
    }
    return false;

}

function GB_showCenter6(a,url,b,c)
{
    var index=parseInt(url.indexOf('?'));
    if(index==-1)
    {
     url1 = url + '?KeepThis=true&TB_iframe=true&height=570&width=900&modal=true';    
     tb_show(a, url1);
    }
    else
    {
    url1 = url + '&KeepThis=true&TB_iframe=true&height=570&width=900&modal=true';    
    tb_show(a, url1);
    }
    return false;

}
function GB_hide()
{
    tb_remove(); 
}
