var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934334&docid=68235428&x=2130',
		'title': '',
		'imageId': '68235428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934334&docid=68235436&x=2130',
		'title': '',
		'imageId': '68235436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934334&docid=68235429&x=2130',
		'title': '',
		'imageId': '68235429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934334&docid=68235427&x=2130',
		'title': '',
		'imageId': '68235427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934334&docid=68235430&x=2130',
		'title': '',
		'imageId': '68235430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934334&docid=68235431&x=2130',
		'title': '',
		'imageId': '68235431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934334&docid=68235435&x=2130',
		'title': '',
		'imageId': '68235435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934334&docid=68235433&x=2130',
		'title': '',
		'imageId': '68235433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934334&docid=68235432&x=2130',
		'title': '',
		'imageId': '68235432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934334&docid=68235434&x=2130',
		'title': '',
		'imageId': '68235434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934334';

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