﻿{  }
if (document.images) {	
	
img1on=new Image;
img1on.src="siteart/buttons/home2.jpg";
img2on=new Image;
img2on.src="siteart/buttons/about2.jpg";
img3on=new Image;
img3on.src="siteart/buttons/forsale2.jpg";
img4on=new Image;
img4on.src="siteart/buttons/services2.jpg";
img5on=new Image;
img5on.src="siteart/buttons/acquisitions2.jpg"
img6on=new Image;
img6on.src="siteart/buttons/successstories2.jpg";
img7on=new Image;
img7on.src="siteart/buttons/contactus2.jpg";
img8on=new Image;
img8on.src="siteart/buttons/sold2.gif";




	
img1off=new Image;
img1off.src="siteart/buttons/home1.jpg";
img2off=new Image;
img2off.src="siteart/buttons/about1.jpg";;
img3off=new Image;
img3off.src="siteart/buttons/forsale1.jpg";
img4off=new Image;
img4off.src="siteart/buttons/services1.jpg";
img5off=new Image;
img5off.src="siteart/buttons/acquisitions1.jpg";
img6off=new Image;
img6off.src="siteart/buttons/successstories1.jpg";
img7off=new Image;
img7off.src="siteart/buttons/contactus1.jpg";
img8off=new Image;
img8off.src="siteart/buttons/sold1.gif";
	
//add
	
}

//function to turn images on.
function imgOn (img1) {
	if (document.images) {
		document [img1].src = eval (img1 + "on.src");
	}
}
	
//function to turn images off.
function imgOff (img1) {
	if (document.images) {
		document [img1].src = eval (img1 + "off.src");
	}
}
//-->


function reapply(){
setTimeout("slideit()",2000)
return true
}
window.onerror=reapply
//-->

var image1=new Image()
image1.src="siteart/homepage/1.jpg"
var image2=new Image()
image2.src="siteart/homepage/4.jpg"
var image3=new Image()
image3.src="siteart/homepage/5.jpg"
var image4=new Image()
image4.src="siteart/homepage/6.jpg"
var image5=new Image()
image5.src="siteart/homepage/7.jpg"
var image6=new Image()
image6.src="siteart/homepage/8.jpg"
var image7=new Image()
image7.src="siteart/homepage/9.jpg"
var image8=new Image()
image8.src="siteart/homepage/10.jpg"
var image9=new Image()
image9.src="siteart/homepage/11.jpg"
var image10=new Image()
image10.src="siteart/homepage/12.jpg"


//-->

////change number of images below 
var number_of_images=10
//change speed below (in seconds)
var speed=3
var step=1
var whichimage=1
function slideit(){
if (!document.images)
return
if (document.all)
slide.filters.blendTrans.apply()
document.images.slide.src=eval("image"+step+".src")
if (document.all)
slide.filters.blendTrans.play()
whichimage=step
if (step<number_of_images)
step++
else
step=1
if (document.all)
setTimeout("slideit()",speed*1000+3000)
else
setTimeout("slideit()",speed*1000)
}
//-->


function WindowOpenUp(sURL){
	window.open(sURL,null,'height=560,width=820,status=yes,toolbar=yes,menubar=yes,location=yes,resizable=yes,scrollbars=yes',false);
}
//-->






