function showpopup(filelink){
	var mywin ; 
	//mywin = window.open(filelink);
	mywin = window.open(filelink,'myWindow','scrollbars=yes,resizable=yes,status=no,width=700,height=550') ;

}
						
// Build the rate structures		
// Function to display the rate in the text box

function displayRateLCC(x){
	var inRate;
	var outRate;
	var emptyString = "";
	var currVal = x.options[x.selectedIndex].value;
	var currText = x.options[x.selectedIndex].text;
	split = currVal.split("+");
	outRate =split[0];
	inRate = split[1]; 
	document.forms[0].ucLowestICCRates_fromuscalls.value = inRate;
	document.forms[0].ucLowestICCRates_touscalls.value = outRate;
	if(currVal == "Select country")
    {
       document.forms[0].ucLowestICCRates_fromuscalls.value ="";
       document.forms[0].ucLowestICCRates_touscalls.value = "";
    }
}	
function displayRateICC(x){
	var inRate
	var outRate
	var emptyString = "";
	var currVal = x.options[x.selectedIndex].value;
	var currText = x.options[x.selectedIndex].text;	split = currVal.split("+");
	outRate =split[0];
	inRate = split[1]; 
	
	document.forms[0].ucBasicICCRates_fromuscalls.value = inRate;
	document.forms[0].ucBasicICCRates_touscalls.value = outRate;	if(currVal == "Select country")
    {
       document.forms[0].ucBasicICCRates_fromuscalls.value ="";
       document.forms[0].ucBasicICCRates_touscalls.value = "";
    }}	
function AmericanSamoa(x)
{
	if ( x.options[x.selectedIndex].text  == 'AMERICAN SAMOA' )
	{
		if(document.getElementById("discAmericanSamoa")!=null)
		{
			var cDisclaimerSection = document.getElementById("discAmericanSamoa");
			cDisclaimerSection.innerHTML = "Effective 4/21/07, calls placed to American Samoa will now require dialing 1 + area code (684) + telephone number.  Additionally, these calls will now be billed as domestic calls and your rate per minute may increase or decrease depending upon your long distance plan.<br><br>Call your local business office for more information.<br><br>"
		}
	}
	else
	{
		if(document.getElementById("discAmericanSamoa")!=null)
		{
			var cDisclaimerSection = document.getElementById("discAmericanSamoa");
			cDisclaimerSection.innerHTML = ""
		}
	}
}


