splash image background fix

function makeImageFromBackground( pArray )
{
for (var i = 0; i < pArray.length; i++) {
var ID = pArray[i];

var origImage = $(ID).get( 0 );

var image = document.createElement(‘img’);
image.id = ID.substr(1);
image.style.width = origImage.style.width;
image.style.height = origImage.style.height;
image.style.left = origImage.style.left;
image.style.top = origImage.style.top;
image.style.position = ‘absolute';

var imageUrl = origImage.style.backgroundImage.slice(4, -1);
image.src = imageUrl.replace(/”/g, “” );

$( ID ).replaceWith( image );
}

TweenMax.set(pArray,{rotation:0.001});
}

var imageArray = [
“#”,

];

makeImageFromBackground( imageArray );