var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945926&docid=67180310&x=5739',
		'title': '',
		'imageId': '67180310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945926&docid=67180311&x=5739',
		'title': '',
		'imageId': '67180311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945926&docid=67180316&x=5739',
		'title': '',
		'imageId': '67180316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945926&docid=67180315&x=5739',
		'title': '',
		'imageId': '67180315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945926&docid=67180317&x=5739',
		'title': '',
		'imageId': '67180317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945926&docid=67180359&x=5739',
		'title': '',
		'imageId': '67180359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945926&docid=67180312&x=5739',
		'title': '',
		'imageId': '67180312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945926&docid=67180358&x=5739',
		'title': '',
		'imageId': '67180358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945926&docid=67180357&x=5739',
		'title': '',
		'imageId': '67180357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945926&docid=67180360&x=5739',
		'title': '',
		'imageId': '67180360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945926&docid=67180313&x=5739',
		'title': '',
		'imageId': '67180313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945926';

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