var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932918&docid=67387527&x=434',
		'title': '',
		'imageId': '67387527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932918&docid=67387530&x=434',
		'title': '',
		'imageId': '67387530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932918&docid=67387531&x=434',
		'title': '',
		'imageId': '67387531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932918&docid=67387532&x=434',
		'title': '',
		'imageId': '67387532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932918&docid=67387523&x=434',
		'title': '',
		'imageId': '67387523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932918&docid=67387524&x=434',
		'title': '',
		'imageId': '67387524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932918&docid=67387525&x=434',
		'title': '',
		'imageId': '67387525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932918&docid=67387526&x=434',
		'title': '',
		'imageId': '67387526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932918&docid=67387533&x=434',
		'title': '',
		'imageId': '67387533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932918&docid=67387534&x=434',
		'title': '',
		'imageId': '67387534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932918&docid=67387535&x=434',
		'title': '',
		'imageId': '67387535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932918';

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