var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011118&docid=69980579&x=2913',
		'title': '',
		'imageId': '69980579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011118&docid=69980580&x=2913',
		'title': '',
		'imageId': '69980580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011118&docid=69980577&x=2913',
		'title': '',
		'imageId': '69980577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011118&docid=69980578&x=2913',
		'title': '',
		'imageId': '69980578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011118&docid=69980583&x=2913',
		'title': '',
		'imageId': '69980583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011118&docid=69980581&x=2913',
		'title': '',
		'imageId': '69980581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011118&docid=69980582&x=2913',
		'title': '',
		'imageId': '69980582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011118';

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