<!--
var popunder="load.html"
var winfeatures="width=700,height=500,scrollbars='yes',resizable=1,toolbar=0,location=0,menubar=0,status=0,directories=0"
var once_per_session=0

function get_cookie(Name) {
	var search = Name + "="
	var returnvalue = "";
		if (document.cookie.length > 0) {
			offset = document.cookie.indexOf(search)
			if (offset != -1) { // if cookie exists
				offset += search.length
				// set index of beginning of value
				end = document.cookie.indexOf(";", offset);
				// set index of end of cookie value
				if (end == -1)
					end = document.cookie.length;
				returnvalue=unescape(document.cookie.substring(offset, end))
			}
		}
	return returnvalue;
}
function loadornot(){
	if (get_cookie('popunder')==''){
		loadpopunder()
		document.cookie="popunder=yes"
	}
}
function loadpopunder(){
	if (screen.availWidth && screen.availHeight) {
		Width = screen.availWidth;
		Height = screen.availHeight;
	}
	else {
		Width = screen.width;
		Height = screen.height;
	}
	win2=window.open(popunder,"special",winfeatures)
	win2.moveTo(0,0);
	win2.moveBy((Width-700)/2,(Height-500)/2);
	win2.blur()
	window.focus()
}
function extraWin(){
	if (once_per_session==0)
		loadpopunder()
	else
		loadornot()
}

function updSelected(country) {
		// alert(country);
		document.getElementById( 'CountryDD' ).options[country].selected=true;
}
function updateCountryPrice(){
	var theLabel = document.getElementById( 'lblPrice' );
	var theCombo = document.getElementById( 'CountryDD' );
	var theValue = theCombo.value;
	var effectiveRateLabel = document.getElementById( 'effPrice' );
	if ( document.getElementById( 'rdoLocalAccess' ).checked ){
		theValue = theValue - 1.0;
	}
	var effRateValue = 2000 / (2500 / theValue);
	effRateValue = Math.round(effRateValue*100)/100;
	//effRateValue = effRateValue.replace(/0$/,"");
	theValue = Math.round(theValue*100)/100;
	//theValue = theValue.replace(/0$/,"");
	if ( theValue < 100.0 ){
		theLabel.innerHTML = theValue + "&cent;";
		effectiveRateLabel.innerHTML = effRateValue + "&cent;";	
	}
	else {
		theLabel.innerHTML = "$" + (theValue / 100.0);
		effectiveRateLabel.innerHTML = "$" + (effRateValue / 100.0);
	}
}
function MM_openBrWindow(theURL,winName,features){
	window.open(theURL,winName,features);
}

//-->