var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174492&x=465',
		'title': '',
		'imageId': '67174492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174493&x=465',
		'title': '',
		'imageId': '67174493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174494&x=465',
		'title': '',
		'imageId': '67174494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174495&x=465',
		'title': '',
		'imageId': '67174495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174496&x=465',
		'title': '',
		'imageId': '67174496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174498&x=465',
		'title': '',
		'imageId': '67174498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174499&x=465',
		'title': '',
		'imageId': '67174499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174500&x=465',
		'title': '',
		'imageId': '67174500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174501&x=465',
		'title': '',
		'imageId': '67174501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174502&x=465',
		'title': '',
		'imageId': '67174502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174503&x=465',
		'title': '',
		'imageId': '67174503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891167&docid=67174504&x=465',
		'title': '',
		'imageId': '67174504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891167';

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