// ---------------------------------------------------------- CHACHE IMAGES ----------------------------------------- //
/*
Preload images script
By JavaScript Kit (http://javascriptkit.com)
Over 400+ free scripts here!
*/


var myimages=new Array()
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
myimages[i]=new Image()
myimages[i].src=preloadimages.arguments[i]
}
}


//Enter path of images to be preloaded inside parenthesis. Extend list as desired.
preloadimages("imgs/bg.gif","imgs/footer-bg.jpg","imgs/footer-logos.jpg","imgs/header.jpg","imgs/img-home.jpg","imgs/img-2level01.jpg","imgs/img-2level02.jpg","imgs/img-2level03.jpg","imgs/img-2level05.jpg","imgs/img-2level-atsim.jpg","imgs/logo.gif","imgs/pic-v001.jpg","imgs/pic-v002.jpg","imgs/pic-v003.jpg","imgs/pic-v004.jpg","imgs/pic-v005.jpg","imgs/pic-v006.jpg","imgs/pic-v007-2.jpg","imgs/ftgis-button.gif","imgs/intdas-button.gif")





<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->


// ---------------------------------------------------------- ORIGINAL ----------------------------------------- //

<!-- Begin Home
var theImages = new Array() 

theImages[0] = 'imgs/img-2level01.jpg'
theImages[1] = 'imgs/img-2level02.jpg'
theImages[2] = 'imgs/img-2level03.jpg'
theImages[3] = 'imgs/img-2level04.jpg'
theImages[4] = 'imgs/img-2level05.jpg'

// do not edit anything below this line

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImages(){
document.write('<img src="'+theImages[whichImage]+'">');
}

//  End Home -->

// ---------------------------------------------------------- INTDAS ----------------------------------------- //

<!-- Begin Home
var theImagesINTDAS = new Array() 

theImagesINTDAS[0] = 'imgs/img-2level01intdas.jpg'
theImagesINTDAS[1] = 'imgs/img-2level02intdas.jpg'
theImagesINTDAS[2] = 'imgs/img-2level03intdas.jpg'
theImagesINTDAS[3] = 'imgs/img-2level04intdas.jpg'
theImagesINTDAS[4] = 'imgs/img-2level05intdas.jpg'

// do not edit anything below this line

var j = 0
var p = theImagesINTDAS.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImagesINTDAS[i]
}
var whichImagesINTDAS = Math.round(Math.random()*(p-1));
function showImagesINTDAS(){
document.write('<img src="'+theImagesINTDAS[whichImagesINTDAS]+'">');
}

//  End Home -->

// ---------------------------------------------------------- FTGIS ----------------------------------------- //

<!-- Begin Home
var theImagesFTGIS = new Array() 

theImagesFTGIS[0] = 'imgs/img-2level01ftgis.jpg'
theImagesFTGIS[1] = 'imgs/img-2level02ftgis.jpg'
theImagesFTGIS[2] = 'imgs/img-2level03ftgis.jpg'
theImagesFTGIS[3] = 'imgs/img-2level04ftgis.jpg'
theImagesFTGIS[4] = 'imgs/img-2level05ftgis.jpg'

// do not edit anything below this line

var j = 0
var p = theImagesFTGIS.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImagesFTGIS[i]
}
var whichImagesFTGIS = Math.round(Math.random()*(p-1));
function showImagesFTGIS(){
document.write('<img src="'+theImagesFTGIS[whichImagesFTGIS]+'">');
}

//  End Home -->

// ---------------------------------------------------------- ATSIM ----------------------------------------- //

<!-- Begin Home
var theImagesATSIM = new Array() 

theImagesATSIM[0] = 'imgs/img-2level01atsim.jpg'
theImagesATSIM[1] = 'imgs/img-2level02atsim.jpg'
theImagesATSIM[2] = 'imgs/img-2level03atsim.jpg'
theImagesATSIM[3] = 'imgs/img-2level04atsim.jpg'
theImagesATSIM[4] = 'imgs/img-2level05atsim.jpg'

// do not edit anything below this line

var j = 0
var p = theImagesATSIM.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImagesATSIM[i]
}
var whichImagesATSIM = Math.round(Math.random()*(p-1));
function showImagesATSIM(){
document.write('<img src="'+theImagesATSIM[whichImagesATSIM]+'">');
}

//  End Home -->

// ---------------------------------------------------------- SUPPORT ----------------------------------------- //

<!-- Begin Home
var theImagesSUPPORT = new Array() 

theImagesSUPPORT[0] = 'imgs/img-2level01support.jpg'
theImagesSUPPORT[1] = 'imgs/img-2level02support.jpg'
theImagesSUPPORT[2] = 'imgs/img-2level03support.jpg'
theImagesSUPPORT[3] = 'imgs/img-2level04support.jpg'
theImagesSUPPORT[4] = 'imgs/img-2level05support.jpg'

// do not edit anything below this line

var j = 0
var p = theImagesSUPPORT.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImagesSUPPORT[i]
}
var whichImagesSUPPORT = Math.round(Math.random()*(p-1));
function showImagesSUPPORT(){
document.write('<img src="'+theImagesSUPPORT[whichImagesSUPPORT]+'">');
}

//  End Home -->

// ---------------------------------------------------------- LINKS ----------------------------------------- //

<!-- Begin Home
var theImagesLINKS = new Array() 

theImagesLINKS[0] = 'imgs/img-2level01links.jpg'
theImagesLINKS[1] = 'imgs/img-2level02links.jpg'
theImagesLINKS[2] = 'imgs/img-2level03links.jpg'
theImagesLINKS[3] = 'imgs/img-2level04links.jpg'
theImagesLINKS[4] = 'imgs/img-2level05links.jpg'

// do not edit anything below this line

var j = 0
var p = theImagesLINKS.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImagesLINKS[i]
}
var whichImagesLINKS = Math.round(Math.random()*(p-1));
function showImagesLINKS(){
document.write('<img src="'+theImagesLINKS[whichImagesLINKS]+'">');
}

//  End Home -->
