var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930159&docid=68131929&x=3130',
		'title': '',
		'imageId': '68131929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930159&docid=68131928&x=3130',
		'title': '',
		'imageId': '68131928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930159&docid=68131931&x=3130',
		'title': '',
		'imageId': '68131931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930159&docid=68131930&x=3130',
		'title': '',
		'imageId': '68131930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930159&docid=68131933&x=3130',
		'title': '',
		'imageId': '68131933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930159&docid=68131935&x=3130',
		'title': '',
		'imageId': '68131935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930159&docid=68131936&x=3130',
		'title': '',
		'imageId': '68131936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930159&docid=68131937&x=3130',
		'title': '',
		'imageId': '68131937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930159&docid=68131934&x=3130',
		'title': '',
		'imageId': '68131934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930159&docid=68131932&x=3130',
		'title': '',
		'imageId': '68131932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930159&docid=68131938&x=3130',
		'title': '',
		'imageId': '68131938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930159';

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