/*
	initialize.js
	
	Created:  2.15.07
	Creator:  M. Kircher, Mainline Media LLC
	Modified: ---
	
*/

function collectRSS(){
	
	/*--------------
	  LOCAL RSS
	--------------*/
	
	//getRSS("articles_latest.php", null, "wdpa-template-side1.html", "latest_articles_rss", true);
	getRSS("news_latest.php", 3, "wdpa-template-news1.html", "wdpa_events_rss", true);
	
	/*--------------
	  REMOTE RSS
	--------------*/
	
	//DIGITAL THREAD:
	//getRSS("http://digitalthread.com/webdesign/index.xml", "wdpa-template-side1.html", "digital_thread_rss")
	
	//WEB DESIGN WORLD:
	//getRSS("http://www.ftponline.com/conferences/webdesignworld/rss/wdw.xml", "wdpa-template-news1.html", "wdw_com_rss");
	
	//webdesign.meetup.com
	//getRSS("http://webdesign.meetup.com/events/upcoming/rss/","wdpa-template-news1.html", "wd_meetup_com_rss");
	
	//AEA Event listing
	//getRSS("http://www.aneventapart.com/index.xml", "wdpa-template-news1.html", "aea_events_rss");
	
	getRSS("http://z.about.com/6/g/webdesign/b/index.xml", 6, "wdpa-template-side1.html", "about_com_rss");	
}

window.onload = function(){
	// RSS
	collectRSS();
	
	// DOM-CSS
	setColumnHeights();
	monitorColumnHeights();
}