var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69319548&x=4729',
		'title': '',
		'imageId': '69319548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69319553&x=4729',
		'title': '',
		'imageId': '69319553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69319550&x=4729',
		'title': '',
		'imageId': '69319550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69319552&x=4729',
		'title': '',
		'imageId': '69319552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69319549&x=4729',
		'title': '',
		'imageId': '69319549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69319554&x=4729',
		'title': '',
		'imageId': '69319554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69319551&x=4729',
		'title': '',
		'imageId': '69319551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69425377&x=4729',
		'title': '',
		'imageId': '69425377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69425374&x=4729',
		'title': '',
		'imageId': '69425374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69425375&x=4729',
		'title': '',
		'imageId': '69425375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69425373&x=4729',
		'title': '',
		'imageId': '69425373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982054&docid=69425376&x=4729',
		'title': '',
		'imageId': '69425376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3982054';

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