/*
Jean-Luc MARTIN - Copyright SOFETEC 2003-2009
*/

var nbimage= 30;
var width;
var height;
var url;
var alte;
numimage= Math.round(Math.random()*(nbimage-1)+1);
lnRandom_bandeau= Math.random();
html = '';
annon = '';

/*
Aucun ; dans les tags sinon il faut créer un .js indépendant (voir autodesk ou specific)
*/

/*
Adverline  Normal 
*/
if (numimage >= 0 && numimage <= 15)
{
	annon = 'Adverline';
	html = '<script charset="ISO-8859-1" type="text/javascript" src="http://adnext.fr/richmedia.adv?id=6579&tag=1&s=all"></script>';
} 

/*
Bandeaux Dp techno
*/

/*if (numimage > 0 && numimage <= 15)
{
	annon = 'DP Technology';
	gotosite = "http://www.dptechnology.com/fr";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/dptechno_1010_728x90.gif";
	alte = "DP Technology";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
}   */

/*
Bandeaux Vertex
*/

/*if (numimage > 25 && numimage <= 30)
{
	annon = 'Vertex';
	gotosite = "http://www.vertex.mc";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/vertex_1010_728x90.jpg";
	alte = "Vertex";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
}  */

/*
4 Bandeaux Tornos
*/

/*if (numimage > 15 && numimage <= 18)
{
	annon = 'Tornos';
	gotosite = "http://www.tornos.ch";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/tornos_almac.jpg";
	alte = "Tornos";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
}  

if (numimage > 18 && numimage <= 20)
{
	annon = 'Tornos';
	gotosite = "http://www.tornos.ch";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/tornos_automobile.jpg";
	alte = "Tornos";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
}  

if (numimage > 20 && numimage <= 22)
{
	annon = 'Tornos';
	gotosite = "http://www.tornos.ch";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/tornos_horlogerie.jpg";
	alte = "Tornos";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
}  

if (numimage > 22 && numimage <= 25)
{
	annon = 'Tornos';
	gotosite = "http://www.tornos.ch";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/tornos_medical.jpg";
	alte = "Tornos";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
} */ 

/*
Réseau Specific Media megabannière - > .js particulier = 1€
*/

/*if (numimage > 0 && numimage <= 8)
{
	annon = 'Specific';
	html = '<SCRIPT type="text/JavaScript" SRC="http://www.machpro.fr/_pub/specific/_specific_bandeau.js"></SCRIPT>';
}*/


/*
Réseau ValueClick bannière 
*/

/*if (numimage > 15 && numimage <= 25)
{
	annon = 'ValueClick';
  html = '<!-- ValueClick Media 468x60 and 728x90 Banner CODE for Le portail industriel -->';
  html = html + '<script type="text/JavaScript" src="http://media.fastclick.net/w/get.media?sid=29574&m=1&tp=5&d=j&t=n"></script>';
  html = html + '<noscript><a href="http://media.fastclick.net/w/click.here?sid=29574&m=1&c=1" target="_blank">';
  html = html + '<img src="http://media.fastclick.net/w/get.media?sid=29574&m=1&tp=5&d=s&c=1" width=728 height=90 border=1></a></noscript>';
  html = html + '<!-- ValueClick Media 468x60 and 728x90 Banner CODE for Le portail industriel -->';
  
} */

/*
Bandeau Autodesk 
*/

/*if (numimage > 10 && numimage <= 25)
{
  html = '<SCRIPT language="JavaScript1.1" SRC="http://ad-emea.doubleclick.net/adj/N3763.275921.MACHPRO.FR1/B4498525;sz=728x90;ord=[timestamp]?">';
  html = html + '</SCRIPT>';
  html = html + '<NOSCRIPT>';
  html = html + '<A HREF="http://ad-emea.doubleclick.net/jump/N3763.275921.MACHPRO.FR1/B4498525;sz=728x90;ord=[timestamp]?">';
  html = html + '<IMG SRC="http://ad-emea.doubleclick.net/ad/N3763.275921.MACHPRO.FR1/B4498525;sz=728x90;ord=[timestamp]?" BORDER=0 WIDTH=728 HEIGHT=90 ALT="Click Here"></A>';
  html = html + '</NOSCRIPT>';
} */


/*
Bandeau LMT / DMG
*/

/*if (numimage > 100 && numimage <= 25)
{
	annon = 'LMT France';
	gotosite = "mailto:j.depoilly-lmt@orange.fr";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/lmt_1009_728x90.gif";
	alte = "LMT France";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
} */  

/*
Bandeau Solidworks
*/
/*if (numimage > 100 && numimage <= 30)
{
	annon = 'Solidworks';
	gotosite = "http://www.solidworks.fr/sw2010_machpro";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/solidworks_0909_728x90.gif";
	alte = "Solidworks";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
}    */

/*
Bandeau Midest - Mima - 15/03/2011 - 02/04/2011
*/
/*if (numimage > 10 && numimage <= 20)
{
	annon = 'Mima';
	gotosite = "http://www.mima-expo.com";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/ban_mima728x90_.gif";
	alte = "Midest";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
}       */

/*
Bandeau Midest - Systep - 15/03/2011 - 02/04/2011
*/
/*if (numimage > 20 && numimage <= 25)
{
	annon = 'Sistep';
	gotosite = "http://www.sistep-midest.com";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/ban_sistep_728x90_FR.gif";
	alte = "Sistep";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
}     */


/*
Andrea Media
*/

/*if (numimage > 100 && numimage <= 20)
{
  annon = 'AndreaMedia';
  html = '<script src="http://www.smartadserver.com/call/pubj/7067/43517/655/M/'+lnRandom_bandeau+'/?"></script>';
}   */


/*
Bandeau Technomark semaine 11
*/
/*
if (numimage > 25 && numimage <= 30)
{
	annon = 'Technomark';
	gotosite = "http://www.Technomark.fr";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/Technomark_1003_728x90.gif";
	alte = "Technomark";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
}*/    

/*
Bandeau Axiome 15/03/2011 - 02/04/2011
*/
/*if (numimage > 100 && numimage <=15)
{
	annon = 'Axiome';
	gotosite = "http://www.axiome.com";
	width = 728;
	height = 90;
	url = "http://www.machpro.fr/_pub/728x90/axiome_1103_728x90.gif";
	alte = "Axiome";
	html = '<A HREF="' + gotosite + '" target="_new"><IMG SRC="' + url + '" WIDTH=' + width + ' HEIGHT=' + height + ' ALT="' + alte + '" BORDER=0></A><br>';
} */


/*
Autodesk  Octobre et novembre 2008
*/

/* if (numimage > 15 && numimage <= 30)
{
  annon = 'Autodesk';
  html = '<SCRIPT type="text/JavaScript" SRC="http://www.machpro.fr/_pub/autodesk/_autodesk_bandeau.js"></SCRIPT>';
} */ 

/*
MECATRONIC
*/

/*if (numimage > 20 && numimage <= 30)				
{
	annon = 'Mecatronic';
	html = '<object type="application/x-shockwave-flash" data="http://www.machpro.fr/_pub/468x60/Mecatronic_468x60.swf" width="468" height="60">';
    html = html + '<PARAM NAME=movie VALUE="http://www.machpro.fr/_pub/468x60/Mecatronic_468x60.swf"> ';
   	html = html + '<param name="wmode" value="transparent" />';
   	html = html + '<img src="" alt="MECATRONIC" title="MECATRONIC" />';
   	html = html + '</OBJECT>';
}*/

/*
MachPro  bandeau
*/ 

if (numimage > 20 && numimage <= 30)
{
	annon = 'Machpro';
	html = '<SCRIPT type="text/JavaScript" SRC="http://www.machpro.fr/_pub/machpro/_machpro_728x90.js"></SCRIPT>';
} 


/*html = html + '<font size="1" color="#8ea5bc">' + annon +' ('+ numimage + ')' + '</font>';*/ 

document.write(html);


