// JavaScript Document


var variableslide=new Array() 

//variableslide[0]=['flashs/Saha_Aidkoum_flash_AR.swf',20000 ,'']
//variableslide[0]=['flashs/1Novembre_ar.swf',17000 ,'']


variableslide[0]=['flashs/mawlid_ar.swf',12000 ,'']

//variableslide[0]=['flashs/promo2012_ar.swf',30000 ,'']
variableslide[1]=['flashs/anim_blackberry_corporate_ar.swf',18000 ,'']
variableslide[2]=['flashs/Fin_A2011_ar.swf',51000 ,'']
variableslide[3]=['flashs/Mobicontrol_ar.swf',17000 ,'']
variableslide[4]=['flashs/racimo_new_ar.swf',13000 ,'']
variableslide[5]=['flashs/Awal_anim_AR.swf',23000 ,'']

//variableslide[2]=['flashs/kadaar.swf',16000 ,'']

//variableslide[2]=['flashs/250ara.swf',10000 ,'']
//variableslide[3]=['flashs/400ara.swf',10000 ,'']

//variableslide[3]=['flashs/anim_05_juillet_ar.swf',13000 ,'']
variableslide[6]=['flashs/anim_mobicorporate_bureau_ar.swf',10000 ,'']
variableslide[7]=['flashs/anim_premium_top_ar.swf',17000 ,'']
variableslide[8]=['flashs/ani_gosto_ar.swf',16000 ,'']
variableslide[9]=['flashs/ANIM_mobicorporate_chantier_ar.swf',10000 ,'']
//variableslide[6]=['flashs/anim_racidi_ar.swf',30000 ,'']
variableslide[10]=['flashs/ANIM_mobicorporate_roaming_ar.swf',10000 ,'']
variableslide[11]=['flashs/ANIM_mobicorporate_avocat_ar.swf',10000 ,'']

//variableslide[2]=['flashs/Animation_Info_SMS.swf',23000 ,'']




var slidewidth='506px' //set to width of LARGEST image in your slideshow
var slideheight='230px' //set to height of LARGEST iamge in your slideshow, plus any text description
var slidebgcolor='#F3F3F3'

//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay=12000

////Do not edit pass this line////////////////

var ie=document.all
var dom=document.getElementById

for (i=0;i<variableslide.length;i++){
var cacheimage=new Image()
cacheimage.src=variableslide[i][0]
}

var currentslide=0

function rotateimages(){
contentcontainer='<center>'

//****************************************************
contentcontainer+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="506" height="230">'
contentcontainer+='<param name="movie" value="'+variableslide[currentslide][0]+'">'
contentcontainer+='<param name="quality" value="high">'
contentcontainer+='<param name="wmode" value="transparent">'
contentcontainer+='<embed src="'+variableslide[currentslide][0]+'"  wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="506" height="230"></embed>'
contentcontainer+='</object>'
//********************************************************************
//************************************************
slidedelay1=variableslide[currentslide][1]
//*******************************************************
if (document.layers){
crossrotateobj.document.write(contentcontainer)
crossrotateobj.document.close()
}
else if (ie||dom)
crossrotateobj.innerHTML=contentcontainer
if (currentslide==variableslide.length-1) currentslide=0
else currentslide++

setTimeout("rotateimages()",slidedelay1)
}

if (ie||dom)
document.write('<div id="slidedom" style="width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'"></div>')

function start_slider(){
crossrotateobj=dom? document.getElementById("slidedom") : ie? document.all.slidedom : document.slidensmain.document.slidenssub
if (document.layers)
document.slidensmain.visibility="show"
rotateimages()
}

if (ie||dom)
start_slider()
else if (document.layers)
window.onload=start_slider



