var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177321&x=5942',
		'title': '',
		'imageId': '67177321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177322&x=5942',
		'title': '',
		'imageId': '67177322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177325&x=5942',
		'title': '',
		'imageId': '67177325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177326&x=5942',
		'title': '',
		'imageId': '67177326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177332&x=5942',
		'title': '',
		'imageId': '67177332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177338&x=5942',
		'title': '',
		'imageId': '67177338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177339&x=5942',
		'title': '',
		'imageId': '67177339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177340&x=5942',
		'title': '',
		'imageId': '67177340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177343&x=5942',
		'title': '',
		'imageId': '67177343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177344&x=5942',
		'title': '',
		'imageId': '67177344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177345&x=5942',
		'title': '',
		'imageId': '67177345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891325&docid=67177347&x=5942',
		'title': '',
		'imageId': '67177347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891325';

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