function ss() {
 if (document.getElementById("search_form").value==" Поиск по сайту ") {
  document.getElementById("search_form").value = "";
 }
}
function so() {
 if (document.getElementById("search_form").value=="") {
  document.getElementById("search_form").value = " Поиск по сайту ";
 }
}


function ssen() {
 if (document.getElementById("search_form").value==" Site search ") {
  document.getElementById("search_form").value = "";
 }
}
function soen() {
 if (document.getElementById("search_form").value=="") {
  document.getElementById("search_form").value = " Site search ";
 }
}



var slideShowSpeed = 4000
var crossFadeDuration = 8
var Pic = new Array()
Pic[0] = '/img/ba/pro.jpg'
Pic[1] = '/img/ba/pro1.jpg'
Pic[2] = '/img/ba/pro2.jpg'

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.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
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}