var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837070&x=2246',
		'title': '',
		'imageId': '69837070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837080&x=2246',
		'title': '',
		'imageId': '69837080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837075&x=2246',
		'title': '',
		'imageId': '69837075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837077&x=2246',
		'title': '',
		'imageId': '69837077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837074&x=2246',
		'title': '',
		'imageId': '69837074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837073&x=2246',
		'title': '',
		'imageId': '69837073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837072&x=2246',
		'title': '',
		'imageId': '69837072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837076&x=2246',
		'title': '',
		'imageId': '69837076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837071&x=2246',
		'title': '',
		'imageId': '69837071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837079&x=2246',
		'title': '',
		'imageId': '69837079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837081&x=2246',
		'title': '',
		'imageId': '69837081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004967&docid=69837078&x=2246',
		'title': '',
		'imageId': '69837078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004967';

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