var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006081&x=3521',
		'title': '',
		'imageId': '69006081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006077&x=3521',
		'title': '',
		'imageId': '69006077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006086&x=3521',
		'title': '',
		'imageId': '69006086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006078&x=3521',
		'title': '',
		'imageId': '69006078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006076&x=3521',
		'title': '',
		'imageId': '69006076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006082&x=3521',
		'title': '',
		'imageId': '69006082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006085&x=3521',
		'title': '',
		'imageId': '69006085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006079&x=3521',
		'title': '',
		'imageId': '69006079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006084&x=3521',
		'title': '',
		'imageId': '69006084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006080&x=3521',
		'title': '',
		'imageId': '69006080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006083&x=3521',
		'title': '',
		'imageId': '69006083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969260&docid=69006075&x=3521',
		'title': '',
		'imageId': '69006075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969260';

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