var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930151&docid=68131456&x=2549',
		'title': '',
		'imageId': '68131456',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930151&docid=68131458&x=2549',
		'title': '',
		'imageId': '68131458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930151&docid=68131459&x=2549',
		'title': '',
		'imageId': '68131459',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930151&docid=68131463&x=2549',
		'title': '',
		'imageId': '68131463',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930151&docid=68131453&x=2549',
		'title': '',
		'imageId': '68131453',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930151&docid=68131457&x=2549',
		'title': '',
		'imageId': '68131457',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930151&docid=68131455&x=2549',
		'title': '',
		'imageId': '68131455',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930151&docid=68131460&x=2549',
		'title': '',
		'imageId': '68131460',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930151&docid=68131462&x=2549',
		'title': '',
		'imageId': '68131462',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930151&docid=68131454&x=2549',
		'title': '',
		'imageId': '68131454',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930151&docid=68131461&x=2549',
		'title': '',
		'imageId': '68131461',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930151';

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