var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946286&docid=68372793&x=5938',
		'title': '',
		'imageId': '68372793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946286&docid=68372795&x=5938',
		'title': '',
		'imageId': '68372795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946286&docid=68372796&x=5938',
		'title': '',
		'imageId': '68372796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946286&docid=68372794&x=5938',
		'title': '',
		'imageId': '68372794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946286&docid=68372801&x=5938',
		'title': '',
		'imageId': '68372801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946286&docid=68372797&x=5938',
		'title': '',
		'imageId': '68372797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946286&docid=68372800&x=5938',
		'title': '',
		'imageId': '68372800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946286&docid=68372799&x=5938',
		'title': '',
		'imageId': '68372799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946286&docid=68372798&x=5938',
		'title': '',
		'imageId': '68372798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946286&docid=68372804&x=5938',
		'title': '',
		'imageId': '68372804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946286&docid=68372802&x=5938',
		'title': '',
		'imageId': '68372802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946286';

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