var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977920&docid=69205851&x=500',
		'title': '',
		'imageId': '69205851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977920&docid=69205855&x=500',
		'title': '',
		'imageId': '69205855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977920&docid=69205853&x=500',
		'title': '',
		'imageId': '69205853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977920&docid=69205850&x=500',
		'title': '',
		'imageId': '69205850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977920&docid=69205856&x=500',
		'title': '',
		'imageId': '69205856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977920&docid=69205847&x=500',
		'title': '',
		'imageId': '69205847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977920&docid=69205849&x=500',
		'title': '',
		'imageId': '69205849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977920&docid=69205848&x=500',
		'title': '',
		'imageId': '69205848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977920&docid=69205852&x=500',
		'title': '',
		'imageId': '69205852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977920&docid=69205854&x=500',
		'title': '',
		'imageId': '69205854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977920';

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