var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3899741&docid=67388099&x=5754',
		'title': '',
		'imageId': '67388099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899741&docid=67388100&x=5754',
		'title': '',
		'imageId': '67388100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899741&docid=67388104&x=5754',
		'title': '',
		'imageId': '67388104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899741&docid=67388105&x=5754',
		'title': '',
		'imageId': '67388105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899741&docid=67388106&x=5754',
		'title': '',
		'imageId': '67388106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899741&docid=67388107&x=5754',
		'title': '',
		'imageId': '67388107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899741&docid=67388108&x=5754',
		'title': '',
		'imageId': '67388108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899741&docid=67388109&x=5754',
		'title': '',
		'imageId': '67388109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899741&docid=67388110&x=5754',
		'title': '',
		'imageId': '67388110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899741&docid=67388112&x=5754',
		'title': '',
		'imageId': '67388112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899741&docid=67388113&x=5754',
		'title': '',
		'imageId': '67388113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3899741';

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