///////////////////////////////////////////////
//                                           //
// iRotate v.1                               //
// ----------------------------------------- //
// by Graeme (webmaster@phpscriptcenter.com) //
// http://www.phpscriptcenter.com            //
//                                           ////////////////////////////
// PHP Script CENTER offers no warranties on this script.              //
// The owner/licensee of the script is solely responsible for any      //
// problems caused by installation of the script or use of the script  //
//                                                                     //
// All copyright notices regarding iRotate, must remain intact on      //
// the scripts and in the HTML for the scripts.                        //
//                                                                     //
// (c) Copyright 2001 PHP Script CENTER                                //
//                                                                     //
// For more info on iRotate,                                           //
// see http://www.phpscriptcenter.com/irotate.php3                     //
//                                                                     //
/////////////////////////////////////////////////////////////////////////

  if ((self.Width == null) || (self.Height == null)) {
      Width  = "468";
      Height = "60";
  }
  
  Random   = Math.round(Math.random()*1000) + 1;  
  
  if (self.Zone == null) {
  ZoneInfo  = '&page=' + Random +'';
  } else {
  ZoneInfo = '&zone=' + Zone + '&page=' + Random +'';
  }
  
  SizeInfo = '?size=' + Width + 'x' + Height +'';

  AdServer   = "http://www.nlp.net/ads/display.php3";

  document.write('<IFRAME SRC="' + AdServer + SizeInfo + ZoneInfo + '&type=IFRAME" NORESIZE SCROLLING=NO ');
  document.write(' HSPACE=0 VSPACE=0 FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0 WIDTH=' + Width + ' HEIGHT=' + Height + '>');
  document.write('<SCR'+'IPT SRC="' + AdServer + SizeInfo + ZoneInfo + '&type=JAVASCRIPT">');
  document.write('</SCR'+'IPT></IFRAME>');