function copydata() {
	with (document.order) {
		Bname.value=name.value
		Baddress.value=addr1.value
		Bcity.value=city.value
		Bstate.value=state.value
		Bzip.value=zip.value
		Bphone.value=phone.value
		Bemail.value=email.value
	}
}

function rembadchrs(what) {
        result=""
        for (x=0;x<=what.length;x++) {
            if (what.substring(x,x+1) !="," && what.substr(x,x+1) != "`" && what.substr(x,x+1) != "/" && what.substr(x,x+1) != "-" ) {
                result=result+what.substring(x,x+1)
            }
        }
        return result
}
function testmsg()
		{
		alert("Please WORK")
}

function everythingok() {
   with (document.order) {
   	  ccnum.value=rembadchrs(ccnum.value);

          testing=Bname.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please enter your Name as it appears on your Card")
                  return false
          }
          testing=Baddress.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please the Address on your Credit Card Statement")
                  return false
          }
          testing=Bcity.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please enter your City")
                  return false
          }
          testing=Bstate.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please enter your State")
                  return false
          }
          testing=Bzip.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please enter your Zip")
                  return false
          }
          testing=ccnum.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please Enter Your Card Number")
                  return false
          }
          testing=ccexp.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please enter your Expiration Date")
                  return false
          }
         return true
 }
}
function everythingok2() {
   with (document.order) {

          testing=name.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please enter your Name")
                  return false
          }
          testing=addr1.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please enter your Address")
                  return false
          }
          testing=city.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please enter your City")
                  return false
          }
          testing=state.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please enter your State")
                  return false
          }
          testing=zip.value;
          if (testing.length == 0 || testing=="") {
                  alert("Please enter your Zip")
                  return false
          }
         return true
 }
}

// JScript File

var slideShowSpeed = 5000
var slideShowSpeed2=4000

var Pic = new Array()
Pic[0] = 'fadebanner/banner1.jpg'
Pic[1] = 'fadebanner/banner2.jpg'
Pic[2] = 'fadebanner/banner3.jpg'
var t
var t2
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)
}

