function n_window(theurl)
{
 // set the width and height
 var the_width=640;
 var the_height=480;
 // set window position
 var from_top=50;
 var from_left=80;
 // set other attributes
 var has_toolbar='no';
 var has_location='no';
 var has_directories='no';
 var has_status='no';
 var has_menubar='no';
 var has_scrollbars='yes';
 var is_resizable='yes';
 // attributes put together
 var the_atts='width='+the_width+',height='+the_height+',top='+from_top+',screenY='+from_top+',left='+from_left+',screenX='+from_left;
 the_atts+=',toolbar='+has_toolbar+',location='+has_location+',directories='+has_directories+',status='+has_status;
 the_atts+=',menubar='+has_menubar+',scrollbars='+has_scrollbars+',resizable='+is_resizable;
 // open window
 window.open(theurl,'',the_atts);
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function openWindow(sugurl, height, width) 
{ 
newWindow = window.open(sugurl, "strategicoffer", "toolbar=0, location=0, directories=0, status=0, menubar=0,  resizeable=1, scrollbars=1, width="+ height +", height="+ width +", left=30, top=30")
}

function reasonsWindow(sugurl, w, h) 
{ 
var pos = 'center'
var infocus
var mypage = sugurl
var myname = 'new'
var sc = 'no'
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=" + sc + ",location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";
win=window.open(mypage,myname,settings);
win.focus();
top.location.href="five_reasons.html";}

 <!--
/****************************************************
     AUTHOR: WWW.CGISCRIPT.NET, LLC
     URL: http://www.cgiscript.net
     Use the code for FREE but leave this message intact.
     Download your FREE CGI/Perl Scripts today!
     ( http://www.cgiscript.net/scripts.htm )
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus,sc){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=" + sc + ",location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";win=window.open(mypage,myname,settings);
win.focus();}


//script créé par le webmaster de : 
//www.creation-de-site.net -->
//vous y trouverez des javascripts, des images, des tutoriaux et des ressources gratuites.

var i = 1;
function boucle_images()
{
var intervalle=6500 // temps en millisecondes entre deux affichages 5000 <==> 5 secondes -->
var img = new Array()
// placer ici les images que vous souhaitez faire afficher par cette boucle -->
// nous avons placer des liens sur ces images, a vous de voir si vous les laisser ou pas... -->
img[0]='<a href="about_asf/tv.html"><img src="/images/topbox-apads.jpg" border=0 ></a>';
img[1]='<a href="free_newsletter.html"><img src="/images/topbox-monthly.jpg" border=0 ></a>';// vous pouvez tout a fait rajouter (ou supprimer) des images, attention a la syntaxe ! -->
var nombre_total_images = 2; // nombre total d'images (ici 0,1,2 ==> 3) -->
 
boucle.innerHTML=img[i];
i++;
i%=nombre_total_images;
setTimeout("boucle_images()",intervalle);
}


