/*---------------------------------------------------------------------
	File to contain Help functions for the Liberty Medical Website
-----------------------------------------------------------------------*/

function PopupHelp(sHelpType) {
	switch (sHelpType){
	case 'tbd':
		HelpWin = window.open('/store/help/popup_cart_tbd.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=300');
		break;
	case 'billedlater':
		HelpWin = window.open('/store/help/popup_cart_billedlater.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=300');
		break;
	case 'medicareno':
		HelpWin = window.open('/store/help/popup_cart_medicareno.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'securitycode':
		HelpWin = window.open('/store/help/popup_cart_securitycode.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=300');
		break;
	case 'paymentmethod':
		HelpWin = window.open('/store/help/popup_product_paymentmethod.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'brandvsgeneric':
		HelpWin = window.open('/store/help/popup_product_brandvsgeneric.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'therapeutic':
		HelpWin = window.open('/store/help/popup_product_therapeutic.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=430');
		break;
	case 'phone':
		HelpWin = window.open('/store/help/popup_help_phone.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'druginteractiontool':
		HelpWin = window.open('/store/help/popup_help_diat.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'askpharmacist':
		HelpWin = window.open('/store/help/popup_help_askpharmacist.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'faq':
		HelpWin = window.open('/store/help/popup_help_faq.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'insphone':
		HelpWin = window.open('/store/help/popup_help_insphone.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'policyno':
		HelpWin = window.open('/store/help/popup_help_policyno.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'groupno':
		HelpWin = window.open('/store/help/popup_help_groupno.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'policydob':
		HelpWin = window.open('/store/help/popup_help_policydob.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'rxbin':
		HelpWin = window.open('/store/help/popup_help_rxbin.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'rxgroup':
		HelpWin = window.open('/store/help/popup_help_rxgroup.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	case 'ssnum':
		HelpWin = window.open('/store/help/popup_help_ssnum.aspx', 'HelpWin', 'status=0,toolbar=0,width=500,height=250');
		break;
	default :
		alert('Help subject ['+sHelpType+'] not located.');
	}
}