var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967900&x=1856',
		'title': '',
		'imageId': '69967900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967896&x=1856',
		'title': '',
		'imageId': '69967896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967895&x=1856',
		'title': '',
		'imageId': '69967895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967898&x=1856',
		'title': '',
		'imageId': '69967898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967907&x=1856',
		'title': '',
		'imageId': '69967907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967902&x=1856',
		'title': '',
		'imageId': '69967902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967894&x=1856',
		'title': '',
		'imageId': '69967894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967899&x=1856',
		'title': '',
		'imageId': '69967899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967903&x=1856',
		'title': '',
		'imageId': '69967903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967908&x=1856',
		'title': '',
		'imageId': '69967908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967906&x=1856',
		'title': '',
		'imageId': '69967906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967897&x=1856',
		'title': '',
		'imageId': '69967897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967904&x=1856',
		'title': '',
		'imageId': '69967904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967901&x=1856',
		'title': '',
		'imageId': '69967901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967893&x=1856',
		'title': '',
		'imageId': '69967893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010345&docid=69967905&x=1856',
		'title': '',
		'imageId': '69967905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010345';

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