var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=928007&docid=7439960&x=1316',
		'title': '',
		'imageId': '7439960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928007&docid=7439951&x=1316',
		'title': '',
		'imageId': '7439951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928007&docid=7439954&x=1316',
		'title': '',
		'imageId': '7439954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928007&docid=7439978&x=1316',
		'title': '',
		'imageId': '7439978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928007&docid=7439957&x=1316',
		'title': '',
		'imageId': '7439957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928007&docid=7439963&x=1316',
		'title': '',
		'imageId': '7439963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928007&docid=7439966&x=1316',
		'title': '',
		'imageId': '7439966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928007&docid=7439969&x=1316',
		'title': '',
		'imageId': '7439969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928007&docid=7439972&x=1316',
		'title': '',
		'imageId': '7439972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928007&docid=7439975&x=1316',
		'title': '',
		'imageId': '7439975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #928007';

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