var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002974&docid=69783964&x=3459',
		'title': '',
		'imageId': '69783964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002974&docid=69783966&x=3459',
		'title': '',
		'imageId': '69783966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002974&docid=69783969&x=3459',
		'title': '',
		'imageId': '69783969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002974&docid=69783970&x=3459',
		'title': '',
		'imageId': '69783970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002974&docid=69783971&x=3459',
		'title': '',
		'imageId': '69783971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002974&docid=69783968&x=3459',
		'title': '',
		'imageId': '69783968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002974&docid=69783967&x=3459',
		'title': '',
		'imageId': '69783967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002974&docid=69783965&x=3459',
		'title': '',
		'imageId': '69783965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002974&docid=69783962&x=3459',
		'title': '',
		'imageId': '69783962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002974&docid=69853073&x=3459',
		'title': '',
		'imageId': '69853073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002974';

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