// <!CDATA[

<!-- Begin
function go(loc) {
window.location.href = loc;
}
//  End -->


//###########################################
//
//          Page Disabled
//
//###########################################

function Page_Disabled()
{
    Darken_Page_Disabled();
    Open_Disabled();
}

//###########################################
//
//          Sponsor Window Open
//
//###########################################


function Sponsor_Load()
{
    Darken_Page0();
    Open_Window0();
}




//###########################################
//
//          Date and Time Window Open
//
//###########################################


function Date_Time()
{
    Darken_Page1();
    Open_Window1();
}


//###########################################
//
//             Search Box Open
//
//###########################################


function Search_Box()
{
    Darken_Page2();
    Open_Window2();
}


//###########################################
//
//            Functions
//
//###########################################

///////////////////////////////////////////
//#########################################

function Open_Disabled()
{
    var Disabled_Load = document.getElementById('Disabled_Load');
    
    // w is a width of the newsletter panel
    w = 200;
    // h is a height of the newsletter panel
    h = 200;
    
    // get the x and y coordinates to center the newsletter panel
    xc = 250
    yc = 50
    
    // show the newsletter panel
    Disabled_Load.style.left = xc + "px";
    Disabled_Load.style.top  = yc + "px";
    Disabled_Load.style.display = 'block';
}

///////////////////////////////////////////
//#########################################

function Open_Window0()
{
    var Sponsor_Load = document.getElementById('Sponsor_Load');
    
    // w is a width of the newsletter panel
    w = 200;
    // h is a height of the newsletter panel
    h = 200;
    
    // get the x and y coordinates to center the newsletter panel
    xc = 250
    yc = 100
    
    // show the newsletter panel
    Sponsor_Load.style.left = xc + "px";
    Sponsor_Load.style.top  = yc + "px";
    Sponsor_Load.style.display = 'block';
}




///////////////////////////////////////////
//#########################################

function Open_Window1()
{
    var Date_Time = document.getElementById('Date_Time');
    
    // w is a width of the newsletter panel
    w = 200;
    // h is a height of the newsletter panel
    h = 200;
    
    // get the x and y coordinates to center the newsletter panel
    xc = 700
    yc = 50
    
    // show the newsletter panel
    Date_Time.style.left = xc + "px";
    Date_Time.style.top  = yc + "px";
    Date_Time.style.display = 'block';
}

////////////////////////////////////////////
//##########################################


function Open_Window2()
{
    var Search_Box = document.getElementById('Search_Box');
    
    // w is a width of the newsletter panel
    w = 200;
    // h is a height of the newsletter panel
    h = 200;
    
    // get the x and y coordinates to center the newsletter panel
    xc = 250
    yc = 50
    
    // show the newsletter panel
    Search_Box.style.left = xc + "px";
    Search_Box.style.top  = yc + "px";
    Search_Box.style.display = 'block';
}

//////////////////////////////////////////////
//############################################


function Close_Window0()
{
    // hide the newsletter panel
    var Sponsor_Load = document.getElementById('Sponsor_Load');
    Sponsor_Load.style.display = 'none';
    // lighten the page again
    Lighten_Page0();
}


//////////////////////////////////////////////
//############################################


function Close_Window1()
{
    // hide the newsletter panel
    var Date_Time = document.getElementById('Date_Time');
    Date_Time.style.display = 'none';
    // lighten the page again
    Lighten_Page1();
}


/////////////////////////////////////////////
//###########################################


function Close_Window2()
{
    // hide the newsletter panel
    var Search_Box = document.getElementById('Search_Box');
    Search_Box.style.display = 'none';
    // lighten the page again
    Lighten_Page2();
}

//////////////////////////////////////////////////////////
// this function puts the dark screen over the entire page
//#######################################################


function Darken_Page_Disabled()
{
    var page_disabled = document.getElementById('page_disabled');
    page_disabled.style.height = document.body.parentNode.scrollHeight + 'px';
    page_disabled.style.width = document.body.parentNode.scrollWidth + 'px';
    page_disabled.style.display = 'block';
}



//////////////////////////////////////////////////////////
// this function puts the dark screen over the entire page
//#######################################################


function Darken_Page0()
{
    var page_screen0 = document.getElementById('page_screen0');
    page_screen0.style.height = document.body.parentNode.scrollHeight + 'px';
    page_screen0.style.width = document.body.parentNode.scrollWidth + 'px';
    page_screen0.style.display = 'block';
}

//////////////////////////////////////////////////////////
// this function puts the dark screen over the entire page
//#######################################################


function Darken_Page1()
{
    var page_screen = document.getElementById('page_screen1');
    page_screen.style.height = document.body.parentNode.scrollHeight + 'px';
    page_screen.style.width = document.body.parentNode.scrollWidth + 'px';
    page_screen.style.display = 'block';
}

//////////////////////////////////////////////////////////
// this function puts the dark screen over the entire page
//#######################################################


function Darken_Page2()
{
    var page_screen = document.getElementById('page_screen2');
    page_screen.style.height = document.body.parentNode.scrollHeight + 'px';
    page_screen.style.width = document.body.parentNode.scrollWidth + 'px';
    page_screen.style.display = 'block';
}

/////////////////////////////////////////////////////////////
// this function removes the dark screen and the page is light again
//###########################################################


function Lighten_Page0()
{
    var page_screen0 = document.getElementById('page_screen0');
    page_screen0.style.display = 'none';
}



/////////////////////////////////////////////////////////////
// this function removes the dark screen and the page is light again
//###########################################################


function Lighten_Page1()
{
    var page_screen = document.getElementById('page_screen1');
    page_screen.style.display = 'none';
}

/////////////////////////////////////////////////////////////
// this function removes the dark screen and the page is light again
//###########################################################


function Lighten_Page2()
{
    var page_screen = document.getElementById('page_screen2');
    page_screen.style.display = 'none';
}

// ]]>
