var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931420&docid=68154395&x=1342',
		'title': '',
		'imageId': '68154395',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931420&docid=68154396&x=1342',
		'title': '',
		'imageId': '68154396',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931420&docid=68154398&x=1342',
		'title': '',
		'imageId': '68154398',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931420&docid=68154399&x=1342',
		'title': '',
		'imageId': '68154399',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931420&docid=68154400&x=1342',
		'title': '',
		'imageId': '68154400',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931420&docid=68154403&x=1342',
		'title': '',
		'imageId': '68154403',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931420&docid=68154414&x=1342',
		'title': '',
		'imageId': '68154414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931420&docid=68154406&x=1342',
		'title': '',
		'imageId': '68154406',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931420&docid=68154410&x=1342',
		'title': '',
		'imageId': '68154410',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931420&docid=68154415&x=1342',
		'title': '',
		'imageId': '68154415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931420&docid=68154397&x=1342',
		'title': '',
		'imageId': '68154397',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931420';

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