var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4077832&docid=71655504&x=2757',
		'title': '',
		'imageId': '71655504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077832&docid=71655509&x=2757',
		'title': '',
		'imageId': '71655509',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077832&docid=71655507&x=2757',
		'title': '',
		'imageId': '71655507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077832&docid=71655508&x=2757',
		'title': '',
		'imageId': '71655508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077832&docid=71655506&x=2757',
		'title': '',
		'imageId': '71655506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077832&docid=71655503&x=2757',
		'title': '',
		'imageId': '71655503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077832&docid=71655511&x=2757',
		'title': '',
		'imageId': '71655511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077832&docid=71655505&x=2757',
		'title': '',
		'imageId': '71655505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077832&docid=71655512&x=2757',
		'title': '',
		'imageId': '71655512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077832&docid=71655510&x=2757',
		'title': '',
		'imageId': '71655510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077832&docid=71655513&x=2757',
		'title': '',
		'imageId': '71655513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4077832';

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";
	})
}
