
function rC(nam) {var tC = document.cookie.split('; '); for (var i = tC.length - 1; i >= 0; i--) {var x = tC[i].split('='); if (nam == x[0]) return unescape(x[1]);} return '~';} function wC(nam,val) {document.cookie = nam + '=' + escape(val);} function lC(nam,pg) {var val = rC(nam); if (val.indexOf('~'+pg+'~') != -1) return false; val += pg + '~'; wC(nam,val); return true;} function firstTime(cN) {return lC('pWrD4jBo',cN);} function thisPage() {var page = location.href.substring(location.href.lastIndexOf('\/')+1); pos = page.indexOf('.');if (pos > -1) {page = page.substr(0,pos);} return page;}

// example code to call it - you may modify this as required
function start() {
   if (firstTime(thisPage())) {
      // this code only runs for first visit
     $('.intro-afc').css('visibility', 'visible')
	 $('.intro-afc-logo').css('visible', 'visible')
   
    $('.intro-afc').hide().delay(0).fadeIn(2000)		
	$('.intro-afc-logo').hide().delay(1500).fadeIn(2000)					
	$('#intro').delay(2000).fadeOut(3000)
   }
  
  else{
     $('#intro').css('display', 'none')
  }
}

onload = start;
