// JavaScript Document<script>
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)

var slideShowSpeed = 4000

// Duration of crossfade (seconds)
var crossFadeDuration = 3
 var sitepath='http://www.silicon.net.pk/wp-content/themes/silicontechnology/';
// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0]=sitepath+"images/clientlogo/logo05.gif";
Pic[1]=sitepath+"images/clientlogo/logo06.gif";
Pic[2]=sitepath+"images/clientlogo/logo07.gif";
Pic[3]=sitepath+"images/clientlogo/logo08.gif";
Pic[4]=sitepath+"images/clientlogo/logo09.gif";
Pic[5]=sitepath+"images/clientlogo/logo10.gif";
Pic[6]=sitepath+"images/clientlogo/logo11.gif";
Pic[7]=sitepath+"images/clientlogo/logo12.gif";
Pic[8]=sitepath+"images/clientlogo/logo13.gif";
Pic[9]=sitepath+"images/clientlogo/logo14.gif";
Pic[10]=sitepath+"images/clientlogo/logo15.gif";
Pic[11]=sitepath+"images/clientlogo/logo16.gif";
Pic[12]=sitepath+"images/clientlogo/logo17.gif";
Pic[13]=sitepath+"images/clientlogo/logo18.gif";
Pic[14]=sitepath+"images/clientlogo/logo19.gif";
Pic[15]=sitepath+"images/clientlogo/logo04.gif";
Pic[16]=sitepath+"images/clientlogo/logo03.gif";
Pic[17]=sitepath+"images/clientlogo/logo02.gif";
Pic[18]=sitepath+"images/clientlogo/logo01.gif";

var hrefLoad = new Array() // don't touch this


hrefLoad[0]="http://www.alkaram.com/";
hrefLoad[1]="http://www.aku.edu/";
hrefLoad[2]="http://www.bayercropscience.com/";
hrefLoad[3]="http://www.iobm.edu.pk/";
hrefLoad[4]="http://www.mcb.com.pk/";
hrefLoad[5]="http://www.db.com/";
hrefLoad[6]="http://www.dibpak.com/";
hrefLoad[7]="http://www.eni.com/";
hrefLoad[8]="http://www.iobm.edu.pk/";
hrefLoad[9]="http://www.uok.edu.pk/";
hrefLoad[10]="http://www.ssgc.com.pk/";
hrefLoad[11]="http://www.caapakistan.com.pk/";
hrefLoad[12]="http://www.geo.tv/";
hrefLoad[13]="http://www.piac.com.pk/";
hrefLoad[14]="http://www.sanofi-aventis.com.pk/";
hrefLoad[15]="http://www.suparco.gov.pk/";
hrefLoad[16]="http://www.tethyan.com/";
hrefLoad[17]="http://www.neduet.edu.pk/";
hrefLoad[18]="http://www.nji.com.pk/";


// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}

function runSlideShow(){
  
   if(document.getElementById('SlideShow')){
	  if (document.all){
		  document.images.SlideShow.style.filter="blendTrans(duration=2)"
		  document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
		  document.images.SlideShow.filters.blendTrans.Apply()      
	   }
	
	 document.images.SlideShow.src = preLoad[j].src
	 
	 document.getElementById('slideshowhref').href = hrefLoad[j];
	  if (document.all){
      	document.images.SlideShow.filters.blendTrans.Play()
 	  }
	   j = j + 1
	   if (j > (p-1)) j=0
	   t = setTimeout('runSlideShow()', slideShowSpeed)
   }
  
}
