var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69006154&x=4441',
		'title': '',
		'imageId': '69006154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69006155&x=4441',
		'title': '',
		'imageId': '69006155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69006156&x=4441',
		'title': '',
		'imageId': '69006156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69006157&x=4441',
		'title': '',
		'imageId': '69006157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69006158&x=4441',
		'title': '',
		'imageId': '69006158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69006160&x=4441',
		'title': '',
		'imageId': '69006160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69006161&x=4441',
		'title': '',
		'imageId': '69006161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69006162&x=4441',
		'title': '',
		'imageId': '69006162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69006163&x=4441',
		'title': '',
		'imageId': '69006163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69006164&x=4441',
		'title': '',
		'imageId': '69006164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69858940&x=4441',
		'title': '',
		'imageId': '69858940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969297&docid=69858947&x=4441',
		'title': '',
		'imageId': '69858947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969297';

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