var nome=document.title;

var str='www.abbaziagreca.it - ';
var str1='Liturgy and Celebrations - ';
var str2='Activities - ';
var str3='Publishing - ';
var str4='Art and Culture - ';
var str5='History and Origins - ';
var str6='Vocation - ';

preloadImgs(/*url*/'images/home/stemma1.gif');

switch(nome){
  
  case str+'Homepage': case str+'Ecumenism': case str+'Documentation':
  case str+'Photo Galleries': case str+'Site Map':
  	preloadImgs(/*url*/'images/buttons/home/button1.gif',/*url*/'images/buttons/home/button2.gif',
    			/*url*/'images/buttons/vocation/button5.gif',/*url*/'images/buttons/vocation/button6.gif',
  				/*url*/'images/buttons/home/button3.gif',/*url*/'images/buttons/home/button7.gif',
  				/*url*/'images/buttons/home/button8.gif',/*url*/'images/buttons/home/button9.gif',
				/*url*/'images/buttons/home/button10.gif',/*url*/'images/buttons/home/button11.gif',
				/*url*/'images/buttons/home/button12.gif',/*url*/'images/buttons/home/buttonD.gif',
				/*url*/'images/buttons/home/buttonE.gif',/*url*/'images/buttons/home/buttonF.gif');
  break;
  
  case str+str1+'Preface': case str+str1+'The Byzantine Rite': case str+str1+'Daily Schedule':
  case str+str1+'The Liturgical Calendar': case str+str1+'Marriages':
    preloadImgs(/*url*/'../images/buttons/liturgy/buttonD.gif',/*url*/'../images/buttons/liturgy/buttonE.gif',
    			/*url*/'../images/buttons/liturgy/buttonF.gif',/*url*/'../images/buttons/liturgy/button11.gif',
    			/*url*/'../images/buttons/liturgy/button12.gif',/*url*/'../images/buttons/liturgy/button13.gif',
				/*url*/'../images/buttons/liturgy/button14.gif',/*url*/'../images/buttons/liturgy/button15.gif',
				/*url*/'../images/buttons/liturgy/button16.gif',
				/*url*/'../images/buttons/liturgy/button1B.gif',/*url*/'../images/buttons/liturgy/button1C.gif',
				/*url*/'../images/buttons/liturgy/button1D.gif',/*url*/'../images/buttons/liturgy/button2C.gif',
				/*url*/'../images/buttons/liturgy/button2D.gif',/*url*/'../images/buttons/liturgy/button2E.gif');
  break;

  case str+str2+'Hospitality': case str+str2+'Book Restoration': case str+str2+'The High School':
	preloadImgs(/*url*/'../images/buttons/activities/button3.gif',
				/*url*/'../images/buttons/activities/button4.gif',/*url*/'../images/buttons/activities/button5.gif',
				/*url*/'../images/buttons/activities/buttonC.gif',/*url*/'../images/buttons/activities/buttonD.gif',
				/*url*/'../images/buttons/activities/buttonE.gif',/*url*/'../images/buttons/activities/button10.gif',
				/*url*/'../images/buttons/activities/button11.gif',/*url*/'../images/buttons/activities/buttonF.gif',
				/*url*/'../images/buttons/activities/button12.gif',/*url*/'../images/buttons/activities/button13.gif',
				/*url*/'../images/buttons/activities/button14.gif',/*url*/'../images/buttons/activities/button15.gif',
				/*url*/'../images/buttons/activities/button16.gif',/*url*/'../images/buttons/activities/button17.gif');
  break;
  
  case str+str3+'Preface': case str+str3+'Bulletin': case str+str3+'Multimedia Support': case str+str3+'Calendars':
	preloadImgs(/*url*/'../images/buttons/publishing/button10.gif',/*url*/'../images/buttons/publishing/button14.gif',
				/*url*/'../images/buttons/publishing/button15.gif',/*url*/'../images/buttons/publishing/button16.gif',
				/*url*/'../images/buttons/publishing/button17.gif',/*url*/'../images/buttons/publishing/button18.gif',
				/*url*/'../images/buttons/publishing/button19.gif',/*url*/'../images/buttons/publishing/buttonB.gif',
				/*url*/'../images/buttons/publishing/buttonC.gif',/*url*/'../images/buttons/publishing/buttonD.gif',
				/*url*/'../images/buttons/publishing/buttonE.gif',/*url*/'../images/buttons/publishing/buttonF.gif');
  break;
 
  case str+str4+'The Basilica': case str+str4+'The Icon of the Mother of God': case str+str4+'The Farnesian Chapel':
  case str+str4+'The Crypta Ferrata': case str+str4+'The Roverian Castle': case str+str4+'Loggia del ´500':
  case str+str4+'The Museum': case str+str4+'Catacombe': case str+str4+'The Libraries': case str+str4+'Filatelia':
	preloadImgs(/*url*/'../images/buttons/art/button1.gif',/*url*/'../images/buttons/art/button2.gif',
				/*url*/'../images/buttons/art/button3.gif',/*url*/'../images/buttons/art/buttonA.gif',
				/*url*/'../images/buttons/art/buttonB.gif',/*url*/'../images/buttons/art/buttonC.gif',
				/*url*/'../images/buttons/art/buttonD.gif',/*url*/'../images/buttons/art/buttonE.gif',
				/*url*/'../images/buttons/art/buttonF.gif',/*url*/'../images/buttons/art/button10.gif',
				/*url*/'../images/buttons/art/button11.gif',/*url*/'../images/buttons/art/button12.gif',
				/*url*/'../images/buttons/art/button13.gif',/*url*/'../images/buttons/art/button14.gif',
				/*url*/'../images/buttons/art/button15.gif',/*url*/'../images/buttons/art/button16.gif',
				/*url*/'../images/buttons/art/button17.gif',/*url*/'../images/buttons/art/button18.gif',
				/*url*/'../images/buttons/art/button19.gif',/*url*/'../images/buttons/art/button1A.gif',
				/*url*/'../images/buttons/art/button1B.gif',/*url*/'../images/buttons/art/button1C.gif',
				/*url*/'../images/buttons/art/button1D.gif',/*url*/'../images/buttons/art/button1E.gif',
				/*url*/'../images/buttons/art/button1F.gif',/*url*/'../images/buttons/art/button20.gif',
				/*url*/'../images/buttons/art/button21.gif',/*url*/'../images/buttons/art/button22.gif',
				/*url*/'../images/buttons/art/button23.gif',/*url*/'../images/buttons/art/button24.gif');
  break;
  
  case str+str5+'Introduction': case str+str5+'Saint Basil': case str+str5+'Saint Nilus':
  	preloadImgs(/*url*/'../images/buttons/origins/buttonB.gif',/*url*/'../images/buttons/origins/buttonC.gif',
				/*url*/'../images/buttons/origins/button26.gif',/*url*/'../images/buttons/origins/button27.gif',
				/*url*/'../images/buttons/origins/button29.gif',/*url*/'../images/buttons/origins/button2A.gif');
  break;
  
  case str+str6+'Monastic life': case str+str6+'The Typikòn': case str+'Vocation':
  case str+str6+'Vocation Discernment': case str+str6+'Monastic Formation': case str+str6+'Videoclips':
    preloadImgs(/*url*/'../images/buttons/vocation/button4.gif',/*url*/'../images/buttons/vocation/button5.gif',
    			/*url*/'../images/buttons/vocation/button6.gif',/*url*/'../images/buttons/vocation/button7.gif',
    			/*url*/'../images/buttons/vocation/button8.gif',/*url*/'../images/buttons/vocation/button9.gif',
    			/*url*/'../images/buttons/vocation/button16.gif',/*url*/'../images/buttons/vocation/button17.gif',
    			/*url*/'../images/buttons/vocation/button18.gif',/*url*/'../images/buttons/vocation/button19.gif',
    			/*url*/'../images/buttons/vocation/button20.gif',/*url*/'../images/buttons/vocation/button21.gif',
    			/*url*/'../images/buttons/vocation/button39.gif',/*url*/'../images/buttons/vocation/button3A.gif',
    			/*url*/'../images/buttons/vocation/button3B.gif',/*url*/'../images/buttons/vocation/buttonD.gif',
    			/*url*/'../images/buttons/vocation/buttonE.gif',/*url*/'../images/buttons/vocation/buttonF.gif');


}