function csspoppper(id) {
  var myWidth = 0, myHeight = 0, idwidth = 0, idheight = 0;
  
  if( document.getElementById(id).style.visibility == 'hidden' ) {

    idwidth = document.getElementById(id).style.width;
    idwidth = idwidth.replace(/\D/g,""); //get rid of non-numerics from string chars
    idwidth = idwidth - 0; //convert String to numeric

    idheight = document.getElementById(id).style.height;
    idheight = idheight.replace(/\D/g,""); //get rid of non-numerics from string chars
    idheight = idheight - 0; //convert String to numeric
    
    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;
    }

    if (typeof document.height != 'undefined') { myHeight = document.height; }
    else if (document.compatMode && document.compatMode != 'BackCompat') { myHeight = document.documentElement.scrollHeight; }
    else if (document.body && typeof document.body.scrollHeight != 'undefined') { myHeight = document.body.scrollHeight; }
    
    //document.write('Width = ' + idwidth + '<br>windowWidth = ' + myWidth + '<br><br>Height = ' + idheight + '<br>windowHeight = ' + myHeight + '<br><br>Diff = ' + (0 + Math.abs(Math.round((myHeight - idheight)/2))));


    document.getElementById(id).style.top = Math.abs(Math.round((myHeight - idheight)/2)) + 'px'; //absolute value of rounded difference of window width/height and element width/height to center element
    document.getElementById(id).style.left = Math.abs(Math.round((myWidth - idwidth)/2)) + 'px';
    document.getElementById(id).style.visibility = 'visible';
    document.getElementById(id).style.display = 'block';

  }
  else { 
  	document.getElementById(id).style.visibility = 'hidden';
  	document.getElementById(id).style.display = 'none';
  }
}

function preload () {
	var path = arguments[0];
	var IName = new Array();
	for (var i=1; i < arguments.length; i++)
	{
		IName[i-1] = new Image;
	  IName[i-1].src = path + "/" + arguments[i];
	}
}
