var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916804&docid=67821024&x=5159',
		'title': '',
		'imageId': '67821024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916804&docid=67821025&x=5159',
		'title': '',
		'imageId': '67821025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916804&docid=67821026&x=5159',
		'title': '',
		'imageId': '67821026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916804&docid=67821027&x=5159',
		'title': '',
		'imageId': '67821027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916804&docid=67821028&x=5159',
		'title': '',
		'imageId': '67821028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916804&docid=67821033&x=5159',
		'title': '',
		'imageId': '67821033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916804&docid=67821034&x=5159',
		'title': '',
		'imageId': '67821034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916804&docid=67821039&x=5159',
		'title': '',
		'imageId': '67821039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916804&docid=67821040&x=5159',
		'title': '',
		'imageId': '67821040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916804&docid=67821023&x=5159',
		'title': '',
		'imageId': '67821023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916804';

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