var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962325&docid=68862488&x=3427',
		'title': '',
		'imageId': '68862488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962325&docid=68862489&x=3427',
		'title': '',
		'imageId': '68862489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962325&docid=68862490&x=3427',
		'title': '',
		'imageId': '68862490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962325&docid=68862491&x=3427',
		'title': '',
		'imageId': '68862491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962325&docid=68862492&x=3427',
		'title': '',
		'imageId': '68862492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962325&docid=68862493&x=3427',
		'title': '',
		'imageId': '68862493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962325&docid=68862494&x=3427',
		'title': '',
		'imageId': '68862494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962325&docid=68862495&x=3427',
		'title': '',
		'imageId': '68862495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962325&docid=68862498&x=3427',
		'title': '',
		'imageId': '68862498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962325&docid=68862499&x=3427',
		'title': '',
		'imageId': '68862499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962325';

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