var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210409&x=3435',
		'title': '',
		'imageId': '70210409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210448&x=3435',
		'title': '',
		'imageId': '70210448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210412&x=3435',
		'title': '',
		'imageId': '70210412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210415&x=3435',
		'title': '',
		'imageId': '70210415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210421&x=3435',
		'title': '',
		'imageId': '70210421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210422&x=3435',
		'title': '',
		'imageId': '70210422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210425&x=3435',
		'title': '',
		'imageId': '70210425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210430&x=3435',
		'title': '',
		'imageId': '70210430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210436&x=3435',
		'title': '',
		'imageId': '70210436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210437&x=3435',
		'title': '',
		'imageId': '70210437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210445&x=3435',
		'title': '',
		'imageId': '70210445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019230&docid=70210442&x=3435',
		'title': '',
		'imageId': '70210442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019230';

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