function changeBGImage(){
var backImage = new Array(); 
//Change the next line 2 to however many images you want to choose from
var randNumber = Math.floor(Math.random() * 8);

backImage[0] = "Bark.jpg";
backImage[1] = "Boards.jpg";
backImage[2] = "Dirt.jpg";
backImage[3] = "Glitter1.jpg";
backImage[4] = "Glitter2.jpg";
backImage[5] = "Grass.jpg";
backImage[6] = "Rocks.jpg";
backImage[7] = "Sequins.jpg";
//Duplicate above and follow the same pattern to add more images

    if (document.body){
        document.body.background = 'art/'+backImage[randNumber];
    }
}


function setLogoPos() { 
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
	
  }
	var myWidth = parseInt(myWidth) - 120;
	var myHeight = parseInt(myHeight) - 270;

  var rand1a = Math.floor(Math.random()*myWidth)
  var rand1b = Math.floor(Math.random()*myHeight)+150
 
// window.alert('rand=' + rand1a + ' rand=' + rand1b + ' rand=' + rand2a + ' rand=' + rand2b + ' rand=' + rand3a + ' rand=' + rand3b + ' rand=' + rand4a + ' rand=' + rand4b);
 
  document.getElementById("homeLogo").style.left = rand1a;
  document.getElementById("homeLogo").style.top = rand1b;
  document.getElementById("homeLogo").style.display = "block";
  
}
function expand(whatObj) {
	var el = document.getElementById(whatObj);
		if ( el.style.display != 'block' ) {
			el.style.display = 'block';
		}
		else {
			el.style.display = 'none';
		}
}
	

function submitForm( whichForm )
{
  //document.supportform.supporttype.value = selectedtype ;
  document.newsLetter.submit() ;
  //alert('trace');
}
