var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956592&docid=68651629&x=3451',
		'title': '',
		'imageId': '68651629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956592&docid=68651626&x=3451',
		'title': '',
		'imageId': '68651626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956592&docid=68651631&x=3451',
		'title': '',
		'imageId': '68651631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956592&docid=68651628&x=3451',
		'title': '',
		'imageId': '68651628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956592&docid=68651627&x=3451',
		'title': '',
		'imageId': '68651627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956592&docid=68651630&x=3451',
		'title': '',
		'imageId': '68651630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956592&docid=68741892&x=3451',
		'title': '',
		'imageId': '68741892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956592';

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