// JavaScript Document
	<!--
	var slidespeed=5000
	var slideimages=new Array
		slideimages[0] 	= "../../../en574nbxc-sprayerres/images/images/1.jpg";
		slideimages[1] 	= "../../../en574nbxc-sprayerres/images/images/2.jpg";
		slideimages[2] 	= "../../../en574nbxc-sprayerres/images/images/3.jpg";
					var slidelinks=new Array
		slidelinks[0] 	= "#";
		slidelinks[1] 	= "#";
		slidelinks[2] 	= "#";
				var imageholder=new Array()
	var ie55=window.createPopup

	for (i=0;i<slideimages.length;i++){
		imageholder[i]=new Image();
		imageholder[i].src=slideimages[i];
	}

	function gotoshow(){
		 //window.open(slidelinks[whichlink], "_target", "");//
		//window.location=slidelinks[whichlink] //
	}

	var whichlink=0
	var whichimage=0
	var pixeldelay=(ie55)? document.images.slide.filters[0].duration*1000 : 0

	function slideit(){
		if (!document.images) return
		if (ie55) document.images.slide.filters[0].apply()
		document.images.slide.src=imageholder[whichimage].src
		if (ie55) document.images.slide.filters[0].play()
		whichlink=whichimage
		whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
		setTimeout("slideit()",slidespeed+pixeldelay)
		
	}
	slideit()
	//-->



function DrawImage(ImgD , nWidth ,nHeight)
{
  var flag=false;
  var image=new Image();
  var nWidth = arguments[1]?arguments[1]:80;
  var nHeight= arguments[2]?arguments[2]:80;
  
  var ow;
  var oh;
  
  ow = ImgD.width;
  oh = ImgD.height;
	
  image.src=ImgD.src;
  if(image.width > 0 && image.height >0){
    flag=true;
    if(image.width/image.height >= nWidth/nHeight){
      if(image.width > nWidth){
        ImgD.width=nWidth;
        ImgD.height=(image.height*nHeight)/image.width;
      }
    else{
      ImgD.width=image.width;
      ImgD.height=image.height;
      }
    }
    else{
      if(image.height > nHeight){
        ImgD.height=nHeight;
        ImgD.width=(image.width*nHeight)/image.height;
        }
      else{
        ImgD.width=image.width;
        ImgD.height=image.height;
        }
      }
    }
    return{
		Width: ow,
		Height: oh
	};
}