﻿function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=610,height=589');
return false;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


function setPOESUS(){
	//set the auroral oval and link
	document.getElementById('poes_image').innerHTML='<a href="http://www.sec.noaa.gov/pmap/gif/pmapN.gif"><img src="http://spaceweather.com/POES_PICS/poes_image_20070818.gif" width="150" height="150" border="0"></a>';
}

function setPOESEurope(){
	//set the auroral oval and link
	document.getElementById('poes_image').innerHTML='<a href="http://www.sec.noaa.gov/pmap/gif/pmapN.gif"><img src="http://spaceweather.com/POES_PICS/poes_image_europe_20070818.gif" width="150" height="150" border="0"></a>';
}

function setPOESAntarctica(){
	//set the auroral oval and link
	document.getElementById('poes_image').innerHTML='<a href="http://www.sec.noaa.gov/pmap/gif/pmapS.gif"><img src="http://spaceweather.com/POES_PICS/poes_image_antarctica_20070818.gif" width="150" height="150" border="0"></a>';
}

function setPOESAustralia(){
	//set the auroral oval and link
	document.getElementById('poes_image').innerHTML='<a href="http://www.sec.noaa.gov/pmap/gif/pmapS.gif"><img src="http://spaceweather.com/POES_PICS/poes_image_australia_20070818.gif" width="150" height="150" border="0"></a>';
}
