


//*******  GOOGLE ANALYTICS *****************

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-9879645-5']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

//********************************************



function loadFile(filename, filetype)
{
	if (filetype == "js")
	{
		//if filename is a external JavaScript file
  		var fileref = document.createElement('script');
  		fileref.setAttribute("type","text/javascript");
  		fileref.setAttribute("src", filename);
 	}
	
 	else if (filetype == "css")
	{
		//if filename is an external CSS file
 		var fileref=document.createElement("link");
  		fileref.setAttribute("rel", "stylesheet");
  		fileref.setAttribute("type", "text/css");
  		fileref.setAttribute("href", filename);
	}
	
	if (typeof fileref != "undefined")
  		document.getElementsByTagName("head")[0].appendChild(fileref);
}//end loadFile
