var flashRun = 0;
var octarun = 0;

function flashWindow(theFile,features){

	if (flashRun == 1) 
	{
		if ( ! flashstatus.closed){flashstatus.close();};
	};

	flashstatus = window.open(theFile,"flash",features);
				
	flashRun = 1;
}


function octa_window (theURL,features)
{
	if (octarun == 1) 
	{
		if ( ! octastatus.closed){octastatus.close();};
	};

	 octastatus = window.open(theURL,"octa",features);

	octarun = 1;
}

function lastUpdated(){

	var friendlymonth
	var friendlyyear

	var today = new Date()
	var thisdayofmonth = today.getDate()
	var thismonth = today.getMonth()
	var thisyear = today.getYear()

	if (thismonth == 0) friendlymonth = "January"
	if (thismonth == 1) friendlymonth = "February"
	if (thismonth == 2) friendlymonth = "March"
	if (thismonth == 3) friendlymonth = "April"
	if (thismonth == 4) friendlymonth = "May"
	if (thismonth == 5) friendlymonth = "June"
	if (thismonth == 6) friendlymonth = "July"
	if (thismonth == 7) friendlymonth = "August"
	if (thismonth == 8) friendlymonth = "September"
	if (thismonth == 9) friendlymonth = "October"
	if (thismonth == 10) friendlymonth = "November"
	if (thismonth == 11) friendlymonth = "December"

	return "document.write(\"" + thisdayofmonth + " " + friendlymonth + " " + thisyear + "\");";

}