/*
Jean-Luc MARTIN - Copyright SOFETEC 2009 ****** SKYSCRAPPER ******
*/

var nbimage2= 30;
var width2;
var height2;
var url2;
var alte2;
var numimage2= Math.round(Math.random()*(nbimage2-1)+1);
var html2 = '';
var annon_sky = '';

/*
Aucun ; dans les tags sinon il faut créer un .js indépendant (voir autodesk ou specific)
*/

/*
Adverline  Normal 
*/

if (numimage2 > 100 && numimage2 <= 10)
{
	annon_sky = 'Adverline';
	html2 = '<script charset="ISO-8859-1" type="text/javascript" src="http://adnext.fr/richmedia.adv?skyid=6579&tag=4&s=all"></script>';
}  


/*
Réseau Specific Media Skyscrapper
*/

/*if (numimage2 > 100 && numimage2 <= 20)
{
	annon_sky = 'Specific Media';
	html2 = '<SCRIPT type="text/JavaScript" SRC="http://www.machpro.fr/_pub/specific/_specific_sky.js"></SCRIPT>';
}*/


/*
R‚seau ValueClick Skyscrapper
*/

/*if (numimage2 > 200 && numimage2 <= 25)
{
	annon_sky = 'ValueClick';
	html2 = '<!-- ValueClick Media 120x600 and 160x600 SkyScraper CODE for machpro.fr -->';
	html2 = html2 + '<script type="text/JavaScript" src="http://media.fastclick.net/w/get.media?sid=29574&m=3&tp=7&d=j&t=n"></script>';
  html2 = html2 + '<noscript><a href="http://media.fastclick.net/w/click.here?sid=29574&m=3&c=1" target="_blank">';
  html2 = html2 + '<img src="http://media.fastclick.net/w/get.media?sid=29574&m=3&tp=7&d=s&c=1" width=160 height=600 border=1></a></noscript>';
  html2 = html2 + '<!-- ValueClick Media 120x600 and 160x600 SkyScraper CODE for machpro.fr -->';
} */


/*
Click-FR  Normal <!-- Publicite 120x600 Click-FR v3--> -  NE PLUS METTRE
*/

/*
 if (numimage2 > 220 && numimage2 <= 30)
{
	annon_sky = 'ClickFr';
	html2 = '<script type="text/JavaScript" SRC="http://adserver.click-fr.com/print.js?l=8324&s=8483&w=120&h=600&r=20&t=0"></script>';
    html2 = html2 + '<noscript><a href="http://adserver.click-fr.com/click.htm?l=8324&s=8483&b=auto&nbre=123" target="_blank"><img border=0 width=120 height=600 SRC="http://adserver.click-fr.com/print.js?l=8324&s=8483&w=120&h=600&nbre=123&t=4" alt="*** Visitez notre Sponsor ! ***"></a></noscript>';
}
 */


/*
SolidWorks septembre 2009 -->		
*/

/*if (numimage2 > 100 && numimage2 <= 20)
{
	annon_sky = 'SolidWorks';
	gotosite2 = "http://www.solidworks.fr/sw2010_machpro";
	width2 = 120;
	height2 = 600;
	url2 = 'http://www.machpro.fr/_pub/120x600/solidworks_0909_120x600.gif';
	alte2 = 'SolidWorks';
	html2 = '<A HREF="' + gotosite2 + '" target="_new"><IMG SRC="' + url2 + '" WIDTH=' + width2 + ' HEIGHT=' + height2 + ' ALT="' + alte2 + '" BORDER=0></A>';
}*/



/*
Quaker septembre 2011 -->		
*/

if (numimage2 > 0 && numimage2 <= 15)
{
	annon_sky = 'Quaker';
	gotosite2 = "http://www.quakerchem.com/emo/emo.html";
	width2 = 160;
	height2 = 600;
	url2 = 'http://www.machpro.fr/_pub/160x600/Quaker_160x600.gif';
	alte2 = 'Quaker';
	html2 = '<A HREF="' + gotosite2 + '" target="_new"><IMG SRC="' + url2 + '" WIDTH=' + width2 + ' HEIGHT=' + height2 + ' ALT="' + alte2 + '" BORDER=0></A>';
}

/*
Mesurexpovision septembre 2011 -->		
*/

if (numimage2 > 15 && numimage2 <= 25)
{
	annon_sky = 'MesurexpoVision';
	gotosite2 = "http://www.mesurexpovision.com ";
	width2 = 120;
	height2 = 600;
	url2 = 'http://www.machpro.fr/_pub/120x600/Mesurexpovision_120x600.jpg';
	alte2 = 'MesurexpoVision';
	html2 = '<A HREF="' + gotosite2 + '" target="_new"><IMG SRC="' + url2 + '" WIDTH=' + width2 + ' HEIGHT=' + height2 + ' ALT="' + alte2 + '" BORDER=0></A>';
}

/*
 if (numimage2 > 200 && numimage2 <= 30)
{
	annon_sky = 'MachPro.fr';
	gotosite2 = "http://www.machpro.fr/Annonceur_ajoute.sof";
	width2 = 160;
	height2 = 600;
	url2 = 'http://www.machpro.fr/_pub/160x600/extranet_160x600.gif';
	alte2 = 'MachPro.fr';
	html2 = '<A HREF="' + gotosite2 + '" target="_new"><IMG SRC="' + url2 + '" WIDTH=' + width2 + ' HEIGHT=' + height2 + ' ALT="' + alte2 + '" BORDER=0></A>';
}
*/

/*
Haas Sky enlever le 11/06/2010 PR
*/


/*if (numimage2 > 10 && numimage2 <= 25)				
{
	annon_sky = 'Haas';
	html2 = '<object type="application/x-shockwave-flash" data="http://www.machpro.fr/_pub/160x600/Hass_160x600_201006.swf" width="160" height="600">';
    html2 = html2 + '<PARAM NAME=movie VALUE="http://www.machpro.fr/_pub/160x600/Hass_160x600_201006.swf"> ';
   	html2 = html2 + '<param name="wmode" value="transparent" />';
   	html2 = html2 + '<img src="" alt="HAAS" title="HAAS" />';
   	html2 = html2 + '</OBJECT>';
}      */



/*
Adconion  -->
*/

/*if (numimage2 > 25 && numimage2 <= 30)
{
	annon_sky = 'Adconion';
	html2 = '<iframe name="Adconion" width="160" height="600" src="http://ad.amgdgt.com/ads/?t=i&f=i&p=3039&pl=aed7128e&rnd=99999" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>';
}*/



/*
Machpro  -->
*/


if (numimage2 > 100 && numimage2 <= 20)
{
	annon_sky = 'Machpro';
	html2 = '<SCRIPT type="text/JavaScript" SRC="http://www.machpro.fr/_pub/machpro/_machpro_160x600.js"></SCRIPT>';
}


/*
INTERACT à mettre 2 semaine en mars...
*/

/*if (numimage2 > 15 && numimage2 <= 30)				
{
	annon_sky = 'Interact';
	gotosite2 = "http://www.interactfrance.net";
	width2 = 160;
	height2 = 600;
	url2 = 'http://www.machpro.fr/_pub/160x600/interact_0903_160x600.gif';
	alte2 = 'Interact';
	html2 = '<A HREF="' + gotosite2 + '" target="_new"><IMG SRC="' + url2 + '" WIDTH=' + width2 + ' HEIGHT=' + height2 + ' ALT="' + alte2 + '" BORDER=0></A>';
} */


/*
EMPLOI Sky 
*/

if (numimage2 > 25 && numimage2 <= 30)				
{
	annon_sky = 'Emploi';
	html2 = '<object type="application/x-shockwave-flash" data="http://www.machpro.fr/_pub/160x600/Emploi_0904.swf" width="160" height="600">';
    html2 = html2 + '<PARAM NAME=movie VALUE="http://www.machpro.fr/_pub/160x600/Emploi_0904.swf"> ';
   	html2 = html2 + '<param name="wmode" value="#333333" />';
   	html2 = html2 + '<img src="" alt="Emploi MachPro" title="Emploi MachPro" />';
   	html2 = html2 + '</OBJECT>';
}

chat = "<!-- Begin Volusion Live Chat -->";
chat = chat + "<div align='center' id='VolusionLiveChat'><a href='http://www.volusion.com/livechat_software.asp'>Free Live Chat Software</a></div>";
chat = chat + "<script defer type='text/javascript' src='https://livechat.volusion.com/script.aspx?id=480258' ></script>";
chat = chat + "<!-- End Volusion Live Chat -->";

chat = '<script language="javascript" src="http://beta.quickprez.com/widget/573c3cf3b318e7dde681f581afedd75a"></script>'


html2 = html2 + '<br><font size="1" color="#8ea5bc">' + annon_sky +' ('+ numimage2 + ')' + '</font>';
document.write(html2);


