<!--
if (top != self) {
	top.location.href = location.href
}
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}
function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}
var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		contact_on = newImage("images/link_contact_on.gif");
		donate_on = newImage("images/link_donate_on.gif");
		home_on = newImage("images/link_home_on.gif");
		preloadFlag = true;
	}
}
function newWin(page, features) {
	 newwin = window.open(page, 'pic', features);
	 newwin.focus()
} 
function printWindow(){
	version = parseInt(navigator.appVersion)
	if (version >= 4) window.print()
}

//
// slide show
var slideShowSpeed1 = 3500;
var crossFadeDuration = 15;

var Pic1 = new Array();
	Pic1[0] = 'images/home_01.jpg';
	Pic1[1] = 'images/home_02.jpg';
	Pic1[2] = 'images/home_03.jpg';
	Pic1[3] = 'images/home_04.jpg';
	Pic1[4] = 'images/home_05.jpg';
	Pic1[5] = 'images/home_06.jpg';
	Pic1[6] = 'images/home_07.jpg';
	Pic1[7] = 'images/home_08.jpg';
	Pic1[8] = 'images/home_09.jpg';
	Pic1[9] = 'images/home_10.jpg';
	Pic1[10] = 'images/home_11.jpg';
	Pic1[11] = 'images/home_12.jpg';
	Pic1[12] = 'images/home_13.jpg';
	Pic1[13] = 'images/home_14.jpg';
var t1;
var j1 = 0;
var p1 = Pic1.length;

var preLoad1 = new Array();

for (i = 0; i < p1; i++){
   preLoad1[i] = new Image();
   preLoad1[i].src = Pic1[i];
}

function runSlideShow1(){
   if (document.all){
      document.images.SlideShow1.style.filter="blendTrans(duration=2)";
      document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration)";
      document.images.SlideShow1.filters.blendTrans.Apply();      
   }
   document.images.SlideShow1.src = preLoad1[j1].src;
   if (document.all){
      document.images.SlideShow1.filters.blendTrans.Play();
   }
   j1 = j1 + 1;
   if (j1 > (p1-1)) j1=0
   t1 = setTimeout('runSlideShow1()', slideShowSpeed1);
}
// end of slide show

var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-19183120-1']);
  _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);
  })();
// End of script -->
