var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071559&docid=71490876&x=1311',
		'title': '',
		'imageId': '71490876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071559&docid=71490877&x=1311',
		'title': '',
		'imageId': '71490877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071559&docid=71490878&x=1311',
		'title': '',
		'imageId': '71490878',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071559&docid=71490881&x=1311',
		'title': '',
		'imageId': '71490881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071559&docid=71490882&x=1311',
		'title': '',
		'imageId': '71490882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071559&docid=71490888&x=1311',
		'title': '',
		'imageId': '71490888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071559&docid=71490894&x=1311',
		'title': '',
		'imageId': '71490894',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071559&docid=71490895&x=1311',
		'title': '',
		'imageId': '71490895',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071559&docid=71490896&x=1311',
		'title': '',
		'imageId': '71490896',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071559&docid=71490872&x=1311',
		'title': '',
		'imageId': '71490872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071559&docid=71490863&x=1311',
		'title': '',
		'imageId': '71490863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071559';

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