var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896278&x=5454',
		'title': '',
		'imageId': '69896278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896286&x=5454',
		'title': '',
		'imageId': '69896286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896280&x=5454',
		'title': '',
		'imageId': '69896280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896287&x=5454',
		'title': '',
		'imageId': '69896287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896279&x=5454',
		'title': '',
		'imageId': '69896279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896288&x=5454',
		'title': '',
		'imageId': '69896288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896283&x=5454',
		'title': '',
		'imageId': '69896283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896284&x=5454',
		'title': '',
		'imageId': '69896284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896281&x=5454',
		'title': '',
		'imageId': '69896281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896282&x=5454',
		'title': '',
		'imageId': '69896282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896289&x=5454',
		'title': '',
		'imageId': '69896289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007548&docid=69896285&x=5454',
		'title': '',
		'imageId': '69896285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007548';

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