var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977182&docid=69195332&x=3614',
		'title': '',
		'imageId': '69195332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977182&docid=69195333&x=3614',
		'title': '',
		'imageId': '69195333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977182&docid=69195334&x=3614',
		'title': '',
		'imageId': '69195334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977182&docid=69195335&x=3614',
		'title': '',
		'imageId': '69195335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977182&docid=69195336&x=3614',
		'title': '',
		'imageId': '69195336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977182&docid=69195337&x=3614',
		'title': '',
		'imageId': '69195337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977182&docid=69195338&x=3614',
		'title': '',
		'imageId': '69195338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977182&docid=69195339&x=3614',
		'title': '',
		'imageId': '69195339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977182&docid=69195340&x=3614',
		'title': '',
		'imageId': '69195340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977182&docid=69195341&x=3614',
		'title': '',
		'imageId': '69195341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977182&docid=69195342&x=3614',
		'title': '',
		'imageId': '69195342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977182';

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