var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095239&x=4618',
		'title': '',
		'imageId': '68095239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095240&x=4618',
		'title': '',
		'imageId': '68095240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095241&x=4618',
		'title': '',
		'imageId': '68095241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095242&x=4618',
		'title': '',
		'imageId': '68095242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095243&x=4618',
		'title': '',
		'imageId': '68095243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095244&x=4618',
		'title': '',
		'imageId': '68095244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095245&x=4618',
		'title': '',
		'imageId': '68095245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095246&x=4618',
		'title': '',
		'imageId': '68095246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095247&x=4618',
		'title': '',
		'imageId': '68095247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095248&x=4618',
		'title': '',
		'imageId': '68095248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095249&x=4618',
		'title': '',
		'imageId': '68095249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928548&docid=68095250&x=4618',
		'title': '',
		'imageId': '68095250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928548';

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