var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000475&docid=69729824&x=2247',
		'title': '',
		'imageId': '69729824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000475&docid=69729827&x=2247',
		'title': '',
		'imageId': '69729827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000475&docid=69729834&x=2247',
		'title': '',
		'imageId': '69729834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000475&docid=69729823&x=2247',
		'title': '',
		'imageId': '69729823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000475&docid=69729831&x=2247',
		'title': '',
		'imageId': '69729831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000475&docid=69729832&x=2247',
		'title': '',
		'imageId': '69729832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000475&docid=69729825&x=2247',
		'title': '',
		'imageId': '69729825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000475&docid=69729830&x=2247',
		'title': '',
		'imageId': '69729830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000475&docid=69729829&x=2247',
		'title': '',
		'imageId': '69729829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000475&docid=69729826&x=2247',
		'title': '',
		'imageId': '69729826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000475';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
