var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190525&x=3955',
		'title': '',
		'imageId': '69190525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190533&x=3955',
		'title': '',
		'imageId': '69190533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190534&x=3955',
		'title': '',
		'imageId': '69190534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190535&x=3955',
		'title': '',
		'imageId': '69190535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190532&x=3955',
		'title': '',
		'imageId': '69190532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190531&x=3955',
		'title': '',
		'imageId': '69190531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190526&x=3955',
		'title': '',
		'imageId': '69190526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190527&x=3955',
		'title': '',
		'imageId': '69190527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190528&x=3955',
		'title': '',
		'imageId': '69190528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190529&x=3955',
		'title': '',
		'imageId': '69190529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190540&x=3955',
		'title': '',
		'imageId': '69190540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190530&x=3955',
		'title': '',
		'imageId': '69190530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190536&x=3955',
		'title': '',
		'imageId': '69190536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190539&x=3955',
		'title': '',
		'imageId': '69190539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190538&x=3955',
		'title': '',
		'imageId': '69190538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976959&docid=69190537&x=3955',
		'title': '',
		'imageId': '69190537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976959';

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