var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500443&x=496',
		'title': '',
		'imageId': '67500443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500442&x=496',
		'title': '',
		'imageId': '67500442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500440&x=496',
		'title': '',
		'imageId': '67500440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500441&x=496',
		'title': '',
		'imageId': '67500441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500444&x=496',
		'title': '',
		'imageId': '67500444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500461&x=496',
		'title': '',
		'imageId': '67500461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500445&x=496',
		'title': '',
		'imageId': '67500445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500458&x=496',
		'title': '',
		'imageId': '67500458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500456&x=496',
		'title': '',
		'imageId': '67500456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500460&x=496',
		'title': '',
		'imageId': '67500460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500465&x=496',
		'title': '',
		'imageId': '67500465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904116&docid=67500463&x=496',
		'title': '',
		'imageId': '67500463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3904116';

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