var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3905055&docid=67527868&x=23',
		'title': '',
		'imageId': '67527868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905055&docid=67527869&x=23',
		'title': '',
		'imageId': '67527869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905055&docid=67527870&x=23',
		'title': '',
		'imageId': '67527870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905055&docid=67527871&x=23',
		'title': '',
		'imageId': '67527871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905055&docid=67527872&x=23',
		'title': '',
		'imageId': '67527872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905055&docid=67527873&x=23',
		'title': '',
		'imageId': '67527873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905055&docid=67527874&x=23',
		'title': '',
		'imageId': '67527874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905055&docid=67527875&x=23',
		'title': '',
		'imageId': '67527875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905055&docid=67527876&x=23',
		'title': '',
		'imageId': '67527876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905055&docid=67527877&x=23',
		'title': '',
		'imageId': '67527877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905055&docid=67527878&x=23',
		'title': '',
		'imageId': '67527878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3905055';

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