var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152043&x=348',
		'title': '',
		'imageId': '70152043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152166&x=348',
		'title': '',
		'imageId': '70152166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152040&x=348',
		'title': '',
		'imageId': '70152040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152038&x=348',
		'title': '',
		'imageId': '70152038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152035&x=348',
		'title': '',
		'imageId': '70152035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152033&x=348',
		'title': '',
		'imageId': '70152033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152041&x=348',
		'title': '',
		'imageId': '70152041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152036&x=348',
		'title': '',
		'imageId': '70152036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152034&x=348',
		'title': '',
		'imageId': '70152034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152039&x=348',
		'title': '',
		'imageId': '70152039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152037&x=348',
		'title': '',
		'imageId': '70152037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016924&docid=70152042&x=348',
		'title': '',
		'imageId': '70152042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016924';

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