/* ------------------------------------------------------------------------
	Class: AjaxLoad Companion
	Use: Determines the scripts and styles that are native to the document
	Author: Chris Jones - Rust Design / Point Five Pixels
	Version: 0.0.1
  ----------------------------------------------------------------------- */

(function ($)
{
	var links = new Array();
	var scripts = new Array();
	
	$('head > link').each(function()
	{
		links.push($(this).attr('href'));
	});
	$('head > script').each(function()
	{
		scripts.push($(this).attr('src'));
	});
	
	$.ajaxload.setNativeLinks(links);
	$.ajaxload.setNativeScripts(scripts);

}
)(jQuery);
