var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703172&x=1848',
		'title': '',
		'imageId': '67703172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703171&x=1848',
		'title': '',
		'imageId': '67703171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703174&x=1848',
		'title': '',
		'imageId': '67703174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703176&x=1848',
		'title': '',
		'imageId': '67703176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703175&x=1848',
		'title': '',
		'imageId': '67703175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703178&x=1848',
		'title': '',
		'imageId': '67703178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703180&x=1848',
		'title': '',
		'imageId': '67703180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703179&x=1848',
		'title': '',
		'imageId': '67703179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703177&x=1848',
		'title': '',
		'imageId': '67703177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703181&x=1848',
		'title': '',
		'imageId': '67703181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703182&x=1848',
		'title': '',
		'imageId': '67703182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912847&docid=67703184&x=1848',
		'title': '',
		'imageId': '67703184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912847';

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