var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211720&x=5556',
		'title': '',
		'imageId': '68211720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211724&x=5556',
		'title': '',
		'imageId': '68211724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211719&x=5556',
		'title': '',
		'imageId': '68211719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211722&x=5556',
		'title': '',
		'imageId': '68211722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211723&x=5556',
		'title': '',
		'imageId': '68211723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211727&x=5556',
		'title': '',
		'imageId': '68211727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211716&x=5556',
		'title': '',
		'imageId': '68211716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211725&x=5556',
		'title': '',
		'imageId': '68211725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211718&x=5556',
		'title': '',
		'imageId': '68211718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211823&x=5556',
		'title': '',
		'imageId': '68211823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211726&x=5556',
		'title': '',
		'imageId': '68211726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946075&docid=68211721&x=5556',
		'title': '',
		'imageId': '68211721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946075';

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