﻿/*
----------------------------------------------------
Comments Block
----------------------------------------------------
@author			:	Fulvio Cusumano
@date			:	23/03/2007

@name           :   ViewDisclosurePopup.
@description    :   Displays Disclosure information
					for Membership Renewal	page.

@prerequisites  :   none.
@argument(s)    :   none.
@return         :   none.
----------------------------------------------------
*/
function ViewDisclosurePopup()
{
	var Heading = "Privacy Disclosure Statement";
	var MessageType = "MemberRenewalTerms";
	var PopupPage = '/Client/Popups/Popup.aspx?MessageType=' + MessageType + '&Heading=' + Heading;
    window.open(PopupPage, MessageType, 'width=600,height=400,scrollbars=yes,resizeable=yes');	  
}

/*
----------------------------------------------------
Comments Block
----------------------------------------------------
@author			:	Paul Medew
@date			:	26/03/2007

@name           :   flipChildList.
@description    :   Flips child list controls.

@prerequisites  :   none.
@argument(s)    :   control.
@return         :   none.
----------------------------------------------------
*/
function flipChildList(control)
{
	if (document.getElementById(control).style.display == "none")
	{
		document.getElementById(control).style.display = "block";
	}
	else
	{
		document.getElementById(control).style.display = "none";
	}
}

function glossary(id)
{	
    var strPopupPage = '/Client/Popups/FundRulesGlossary.aspx?GlossaryId=' + id;
    
    window.open(strPopupPage,'Glossary','scrollbars=yes,resize=yes,width=440,height=240');
    return false;
}
