var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043642&x=5552',
		'title': '',
		'imageId': '70043642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043643&x=5552',
		'title': '',
		'imageId': '70043643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043644&x=5552',
		'title': '',
		'imageId': '70043644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043645&x=5552',
		'title': '',
		'imageId': '70043645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043646&x=5552',
		'title': '',
		'imageId': '70043646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043647&x=5552',
		'title': '',
		'imageId': '70043647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043648&x=5552',
		'title': '',
		'imageId': '70043648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043649&x=5552',
		'title': '',
		'imageId': '70043649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043650&x=5552',
		'title': '',
		'imageId': '70043650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043651&x=5552',
		'title': '',
		'imageId': '70043651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043652&x=5552',
		'title': '',
		'imageId': '70043652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013443&docid=70043653&x=5552',
		'title': '',
		'imageId': '70043653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013443';

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