// JScript File
function flip(divId)
{
    var div = document.getElementById(divId);

    if (div.style.display == 'none')div.style.display = 'block';
    elsediv.style.display = 'none';
}

function ShowElement(divId)
{
    var div = document.getElementById(divId);

    div.style.display = 'inline';
}

function ShowTblRow(divID)
{
    var div = document.getElementByID(divID);
    
    div.style.display = 'table-row';
}

function HideTblRow(divID)
{
    var div = document.getElementByID(divID);
    
    div.style.display = 'none'
}

function HideElement(divId)
{
    var div = document.getElementById(divId);

    div.style.display = 'none';
}
function NewsLetterSignup() 
{
    window.open('?task=about&subtask=reflections.signup','NewsLetter',	'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,width=495,height=485');
}

function NewsLetterLink(url,winwidth,winheight)
{
    var centerwin=window.open(url,'NewsLetter',	'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes');
    centerwin.resizeTo(winwidth, winheight);
    centerwin.moveTo(screen.width/2-winwidth/2, 0); // move to top center
}


// not using this function, using page info instead due to dynamic elements only available therE
function RequestInfo()
{
    window.open('?task=productcontact','RequestInfo',	'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,width=495,height=585');
}
function Feedback() 
{
    window.open('?task=feedback','RequestInfo',	'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,width=495,height=520');
}
function Privacy() 
{
    window.open('popUpPrivacy.html','Privacy',	'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=525,height=460');
}