var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850767&x=263',
		'title': '',
		'imageId': '69850767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850766&x=263',
		'title': '',
		'imageId': '69850766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850765&x=263',
		'title': '',
		'imageId': '69850765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850753&x=263',
		'title': '',
		'imageId': '69850753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850748&x=263',
		'title': '',
		'imageId': '69850748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850749&x=263',
		'title': '',
		'imageId': '69850749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850751&x=263',
		'title': '',
		'imageId': '69850751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850750&x=263',
		'title': '',
		'imageId': '69850750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850764&x=263',
		'title': '',
		'imageId': '69850764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850752&x=263',
		'title': '',
		'imageId': '69850752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850768&x=263',
		'title': '',
		'imageId': '69850768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005878&docid=69850771&x=263',
		'title': '',
		'imageId': '69850771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005878';

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