align = "right"; width = 0; height = 0; keepAspect = 0; imageID = 4177; hostName = document.location.hostname; urlString= document.location+""; if(hostName.indexOf("gamevortex.com") >= 0 || hostName.indexOf("go64.com") >= 0 || hostName.indexOf("psillustrated.com") >= 0 || hostName.indexOf("teamps2.com") >= 0 || hostName.indexOf("localhost") >= 0 || hostName.indexOf("google.com") >= 0 || hostName.indexOf("64.233.179.104") >= 0 || urlString.indexOf(String.fromCharCode(116, 114, 97, 110, 115, 108, 97, 116, 101)) >= 0) { imgData = " 0 || hDiff > 0) // shrink image { if(wDiff > hDiff) { $("#img"+curImgID).width(width); } else { $("#img"+curImgID).height(height); } } // center image if(wDiff < 0) { $("#img"+curImgID).css("padding-left", parseInt(wDiff/2)*-1); } if (hDiff < 0) { $("#img"+curImgID).css("padding-top", parseInt(hDiff/2)*-1); } } }