var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954087&docid=68675299&x=1815',
		'title': '',
		'imageId': '68675299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954087&docid=68675300&x=1815',
		'title': '',
		'imageId': '68675300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954087&docid=68675298&x=1815',
		'title': '',
		'imageId': '68675298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954087&docid=68675301&x=1815',
		'title': '',
		'imageId': '68675301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954087&docid=68675302&x=1815',
		'title': '',
		'imageId': '68675302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954087&docid=68675296&x=1815',
		'title': '',
		'imageId': '68675296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954087&docid=68675297&x=1815',
		'title': '',
		'imageId': '68675297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954087';

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