var img_Height=175;
var img_Width=250;
var img_Border="1";
var img_MarginBottom="5px";


var step_a=1;
var image_a1=new Image()
image_a1.src="/_img/banner_chemical_textile_image1.jpg";

var image_a2=new Image()
image_a2.src="/_img/banner_chemical_textile_image2.jpg";

var image_a3=new Image()
image_a3.src="/_img/banner_chemical_textile_image3.jpg";

var image_a4=new Image()
image_a4.src="/_img/banner_chemical_textile_image3.jpg";

// -------------------------------------------------------------------------------------------------------

var step_b=1;
var image_b1=new Image()
image_b1.src="/_img/banner_dyestuffs_image1.jpg";

// -------------------------------------------------------------------------------------------------------

var step_c=1;
var image_c1=new Image()
image_c1.src="/_img/banner_chemical_nontextile_image1.jpg";

// -------------------------------------------------------------------------------------------------------

var step_d=1;
var image_d1=new Image()
image_d1.src="/_img/banner_laboratory_image1.jpg";

var image_d2=new Image()
image_d2.src="/_img/banner_laboratory_image2.jpg";

var image_d3=new Image()
image_d3.src="/_img/banner_laboratory_image3.jpg";

var image_d4=new Image()
image_d4.src="/_img/banner_laboratory_image4.jpg";

// -------------------------------------------------------------------------------------------------------





function slideit_setup(){
//if browser does not support the image object, exit.
if (!document.images)
return
document.images.slide1.width=img_Width;
document.images.slide1.height=img_Height;
document.images.slide1.border=img_Border;
document.images.slide1.style.marginBottom=img_MarginBottom;

document.images.slide2.width=img_Width;
document.images.slide2.height=img_Height;
document.images.slide2.border=img_Border;
document.images.slide2.style.marginBottom=img_MarginBottom;

document.images.slide3.width=img_Width;
document.images.slide3.height=img_Height;
document.images.slide3.border=img_Border;
document.images.slide3.style.marginBottom=img_MarginBottom;

document.images.slide4.width=img_Width;
document.images.slide4.height=img_Height;
document.images.slide4.border=img_Border;
document.images.slide4.style.marginBottom=img_MarginBottom;





}





function slideit(){
//if browser does not support the image object, exit.
if (!document.images)
return
document.images.slide1.src=eval("image_a"+step_a+".src")
document.images.slide2.src=eval("image_b"+step_b+".src")
document.images.slide3.src=eval("image_c"+step_c+".src")
document.images.slide4.src=eval("image_d"+step_d+".src")


if (step_a<3)
step_a++
else
step_a=1

if (step_b<1)
step_b++
else
step_b=1

if (step_c<1)
step_c++
else
step_c=1

if (step_d<4)
step_d++
else
step_d=1



setTimeout("slideit()",3000)
}

