var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965139&docid=68931326&x=113',
		'title': '',
		'imageId': '68931326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965139&docid=68931289&x=113',
		'title': '',
		'imageId': '68931289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965139&docid=68931293&x=113',
		'title': '',
		'imageId': '68931293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965139&docid=68931295&x=113',
		'title': '',
		'imageId': '68931295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965139&docid=68931287&x=113',
		'title': '',
		'imageId': '68931287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965139&docid=68931292&x=113',
		'title': '',
		'imageId': '68931292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965139&docid=68931288&x=113',
		'title': '',
		'imageId': '68931288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965139&docid=68931290&x=113',
		'title': '',
		'imageId': '68931290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965139&docid=68931291&x=113',
		'title': '',
		'imageId': '68931291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965139&docid=68931294&x=113',
		'title': '',
		'imageId': '68931294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965139&docid=68931286&x=113',
		'title': '',
		'imageId': '68931286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965139';

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