var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971289&docid=69048060&x=01',
		'title': '',
		'imageId': '69048060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971289&docid=69048059&x=01',
		'title': '',
		'imageId': '69048059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971289&docid=69048061&x=01',
		'title': '',
		'imageId': '69048061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971289&docid=69048063&x=01',
		'title': '',
		'imageId': '69048063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971289&docid=69048062&x=01',
		'title': '',
		'imageId': '69048062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971289&docid=69048064&x=01',
		'title': '',
		'imageId': '69048064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971289&docid=69048058&x=01',
		'title': '',
		'imageId': '69048058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971289&docid=69048065&x=01',
		'title': '',
		'imageId': '69048065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971289&docid=69048057&x=01',
		'title': '',
		'imageId': '69048057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971289&docid=69048056&x=01',
		'title': '',
		'imageId': '69048056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971289';

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