var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006071&docid=69157548&x=1112',
		'title': '',
		'imageId': '69157548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006071&docid=69157549&x=1112',
		'title': '',
		'imageId': '69157549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006071&docid=69157551&x=1112',
		'title': '',
		'imageId': '69157551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006071&docid=69157552&x=1112',
		'title': '',
		'imageId': '69157552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006071&docid=69157553&x=1112',
		'title': '',
		'imageId': '69157553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006071&docid=69157554&x=1112',
		'title': '',
		'imageId': '69157554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006071&docid=69157555&x=1112',
		'title': '',
		'imageId': '69157555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006071&docid=69157556&x=1112',
		'title': '',
		'imageId': '69157556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006071&docid=69157557&x=1112',
		'title': '',
		'imageId': '69157557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006071&docid=69157558&x=1112',
		'title': '',
		'imageId': '69157558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006071';

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