var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4059766&docid=71251024&x=1442',
		'title': '',
		'imageId': '71251024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059766&docid=71251026&x=1442',
		'title': '',
		'imageId': '71251026',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059766&docid=71251021&x=1442',
		'title': '',
		'imageId': '71251021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059766&docid=71251022&x=1442',
		'title': '',
		'imageId': '71251022',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059766&docid=71251028&x=1442',
		'title': '',
		'imageId': '71251028',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059766&docid=71251030&x=1442',
		'title': '',
		'imageId': '71251030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059766&docid=71251025&x=1442',
		'title': '',
		'imageId': '71251025',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059766&docid=71251023&x=1442',
		'title': '',
		'imageId': '71251023',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059766&docid=71251029&x=1442',
		'title': '',
		'imageId': '71251029',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4059766';

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