window.onload=function(){
  gettradition()
  getconcept()
  getJFT()
}

// CCR
// I am stealing content from another site that has a page for each day
// and embedding it into this organization's site completely client side.
// http://www.primarypurposearea.org/_private/jft/1.1.htm Is January 1
// http://www.primarypurposearea.org/_private/jft/1.10.htm Is January 10
var myURL = "jft/";



function getJFT(){

// Use our jft stylesheet
/*
	var myframe = frames['jftframe'].document;
	var otherhead = myframe.getElementsByTagName("head")[0];
	var link = myframe.createElement("link");
	link.setAttribute("rel", "stylesheet");
	link.setAttribute("type", "text/css");
	link.setAttribute("href", "jftstyle.css");
	otherhead.appendChild(link);

	alert(link);*/

	var dateObj = new Date();
	var jftMonth = 1 + dateObj.getMonth();
	var jftDate = dateObj.getDate();
	
	// I only copied content up to 7/1 for now - update: 6/24/2010: I copied them all now
	//if (jftMonth>=7 && jftDate>=1) myURL = "http://www.primarypurposearea.org/_private/jft/";
	
	myURL = myURL + jftMonth + "." + jftDate + ".htm";
	
	document.getElementById('jftframe').src = myURL;
}

