// * check for toll calls when not in international mode
if ( globals.document.vars.intlMode.value != "yes" )
{
ispPhoneNumber = new String( plugin.GetISPModemNumber( globals.selectedISP, selectedIndex ) );
areaCode = globals.getAreaCode( ispPhoneNumber );
if ( areaCode != "" )
{
//globals.debug( "areaCode: " + areaCode );s
if ( areaCode != "800" && areaCode != "888" )
if ( confirm( "The area code to call this ISP is " + areaCode + ". This might be a toll call from your area code. Do you wish to continue?" ) == false )
var list = globals.document.setupPlugin.GetISPPopList( globals.selectedISP );
//globals.debug( "generating pop list" );
if ( list && list.length > 0 )
{
//globals.debug( "emitting table" );
document.writeln( "<TABLE CELLPADDING=2 CELLSPACING=0 ID='minspace'><TR><TD ALIGN=LEFT VALIGN=TOP HEIGHT=25><spacer type=vertical size=2><B>Pick a phone number from the following list to connect to:</B></TD><TD ALIGN=LEFT VALIGN=TOP><FORM><SELECT NAME='popList'>");
for ( var x = 0; x < list.length; x++ )
{
var name = list[ x ];
var selected = ( x == 0 ) ? " SELECTED" : "";
document.writeln( "<OPTION VALUE='" + x + "'" + selected + ">" + name );