var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019197&docid=70209527&x=2611',
		'title': '',
		'imageId': '70209527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019197&docid=70209528&x=2611',
		'title': '',
		'imageId': '70209528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019197&docid=70209529&x=2611',
		'title': '',
		'imageId': '70209529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019197&docid=70209530&x=2611',
		'title': '',
		'imageId': '70209530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019197&docid=70209531&x=2611',
		'title': '',
		'imageId': '70209531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019197&docid=70209532&x=2611',
		'title': '',
		'imageId': '70209532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019197&docid=70209526&x=2611',
		'title': '',
		'imageId': '70209526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019197&docid=70209536&x=2611',
		'title': '',
		'imageId': '70209536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019197&docid=70209537&x=2611',
		'title': '',
		'imageId': '70209537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019197&docid=70209538&x=2611',
		'title': '',
		'imageId': '70209538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019197';

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