//
//
function FCx(x){
  var mysids=new Array()
      mysids[1]="31281"
      mysids[2]="24028"
      mysids[3]="37282"
      mysids[4]="40530"
      mysids[5]="31408"
      mysids[6]="37684"
      //mysids[7]="40531"
  var ry=Math.floor(Math.random()*mysids.length)
  if(ry==0) ry=1

//alert(mysids[ry])

  var min=15; // minimum minutes between interstitials (needs to be >15)
  if(x.indexOf('get.media')>0){
    x=unescape(x.substring(x.indexOf('&url=')+5,x.length));
  }else{
    if(document.cookie.indexOf('CxIC=1')<=0){
      x='http://media.fastclick.net/w/get.media?sid='+mysids[ry]+'&m=5&tp=6&url='+escape(x);
      var date_ob=new Date();
      date_ob.setTime(date_ob.getTime()+min*1000*60);
      document.cookie='FCxIC=1; path=/; expires='+date_ob.toGMTString();
    }
  }
  return x
}


//
// FASTCLICK_INTERSTITIAL() 
//
// Runs the Interstitial Code
// Call it first thing, before page load
//
// JMorris 2004-01-15
//
function FASTCLICK_INTERSTITIAL() {

	var url = FCx(document.location.href);	
	if (url != document.location.href) document.location.href = url;
}


// 
// Example link usage
// 


//
// Example script usage in html page
//
// <html>
// <head>
// <script>
//   FASTCLICK_INTERSTITIAL();
// </script>
// </head>
// <body>
// .
// .
// .
// </body>
// </html>

