// JavaScript Document

function globeNews()
{
//find the height of the internal page		
var the_height = document.getElementById('news-iframe').contentWindow.document.body.scrollHeight;
//change the height of the iframe
document.getElementById('news-iframe').height=the_height;		
document.getElementById('news-iframe').style.visibility = 'visible';
}

function globeSwapOver()
{
document.getElementById('footer').style.zIndex = 1000;
}

function globeSwapUnder()
{
document.getElementById('footer').style.zIndex = -1000;
}


function navSwapOver()
{
document.getElementById('nav').style.zIndex = 999;
}

function navSwapUnder()
{
document.getElementById('nav').style.zIndex = -999;
}

function FullScreen(){
this.moveTo(0,0);
if (screen.availWidth >= 1600){
resizeTo(1600,screen.availHeight)}
else
resizeTo(screen.availWidth,screen.availHeight);
}


var thespeed=6 //Enter scroll speed in integer (Advised: 1-3)
var myspeed=0  //Set for initial scrolling, if desired (ex:3), otherwise 0

/////////////////Stop Editing///////////////
function scrollwindow(){
feed.scrollBy(0,myspeed)
}

function initializeIT(){
	if (myspeed!=0){
	scrollwindow()
	}
}

function scrollUp(){
	myspeed=-thespeed;
	}
	
function scrollDown(){
	myspeed=thespeed;
	}
function scrollClear(){
	myspeed=0;
}
function scrollDouble(){
	myspeed=-thespeed*100;
}

if (document.all||document.getElementById)
setInterval("initializeIT()",20)