var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640294&x=3414',
		'title': '',
		'imageId': '67640294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640297&x=3414',
		'title': '',
		'imageId': '67640297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640308&x=3414',
		'title': '',
		'imageId': '67640308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640369&x=3414',
		'title': '',
		'imageId': '67640369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640401&x=3414',
		'title': '',
		'imageId': '67640401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640404&x=3414',
		'title': '',
		'imageId': '67640404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640414&x=3414',
		'title': '',
		'imageId': '67640414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640419&x=3414',
		'title': '',
		'imageId': '67640419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640445&x=3414',
		'title': '',
		'imageId': '67640445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640451&x=3414',
		'title': '',
		'imageId': '67640451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640455&x=3414',
		'title': '',
		'imageId': '67640455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909968&docid=67640458&x=3414',
		'title': '',
		'imageId': '67640458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909968';

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