// JavaScript Document

function fadeIt(ele,url){
Spry.Effect.DoFade(ele,{ duration: 500, from: 100, to: 0, finish: function() {
Spry.Utils.updateContent(ele, url, function() {
Spry.Effect.DoFade(ele,{ duration: 500, from: 0, to: 100 });
});
}
});
}

function pageLoad(){
 Spry.Utils.updateContent("event","resslot.html");
 }
 
 function pageLoad2(){
 fadeIt('event','jarvisslot.html');	 
// Spry.Utils.updateContent("event","jarvisslot.html");
 }
 
 function pageLoad3(){
 Spry.Utils.updateContent("event","jackholeslot.html");
 }
 
  function creditLoad(){
Spry.Utils.updateContent("infoWrapper","creditsInfo/beachRd_cd.html");
Spry.Utils.updateContent("creditImageWrapper","images/gallery/credits_image/beachRoad_cdImage.html");
 }
 
 function creditLoad1(){
fadeIt("infoWrapper","creditsInfo/beachRd_cd.html");
fadeIt("creditImageWrapper","images/gallery/credits_image/beachRoad_cdImage.html");
 }
 

 function awardLoad(ele, url){
fadeIt(ele,url);
 }
 
 function awardProfile(){
fadeIt('profileImageWrapper','images/gallery/procon/hl_profile.html');
}

function awardProfile2(){
fadeIt('profileImageWrapper','images/gallery/procon/hl_profile2.html');
}


function awardProfile3(){
fadeIt('profileImageWrapper','images/gallery/procon/hl_profile3.html');
}


function awardProfile4(){
fadeIt('profileImageWrapper','images/gallery/procon/hl_profile4.html');
}


 function hlContact(){
fadeIt('contactImageWrapper','images/gallery/procon/hl_contact.html');
}
 
 
 //awardLoad('awardImageWrapper','images/gallery/credits_image/belvedereLagoon_cdImage.html'); hl_profile.jpg
 
//<a onclick="sp2.showPanel('ex2_p2'); return false;" href="#">Private Residence</a></li>
 
 function portfolioLoad(ele, url){
 Spry.Utils.updateContent(ele, url);
 }