var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910582&docid=67652808&x=3722',
		'title': '',
		'imageId': '67652808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910582&docid=67652809&x=3722',
		'title': '',
		'imageId': '67652809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910582&docid=67652811&x=3722',
		'title': '',
		'imageId': '67652811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910582&docid=67652812&x=3722',
		'title': '',
		'imageId': '67652812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910582&docid=67652813&x=3722',
		'title': '',
		'imageId': '67652813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910582&docid=67652803&x=3722',
		'title': '',
		'imageId': '67652803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910582&docid=67652804&x=3722',
		'title': '',
		'imageId': '67652804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910582&docid=67652814&x=3722',
		'title': '',
		'imageId': '67652814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910582&docid=67652805&x=3722',
		'title': '',
		'imageId': '67652805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910582&docid=67652806&x=3722',
		'title': '',
		'imageId': '67652806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910582&docid=67652807&x=3722',
		'title': '',
		'imageId': '67652807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910582';

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