var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435680&x=175',
		'title': '',
		'imageId': '69435680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435686&x=175',
		'title': '',
		'imageId': '69435686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435689&x=175',
		'title': '',
		'imageId': '69435689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435705&x=175',
		'title': '',
		'imageId': '69435705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435712&x=175',
		'title': '',
		'imageId': '69435712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435720&x=175',
		'title': '',
		'imageId': '69435720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435729&x=175',
		'title': '',
		'imageId': '69435729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435733&x=175',
		'title': '',
		'imageId': '69435733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435736&x=175',
		'title': '',
		'imageId': '69435736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435740&x=175',
		'title': '',
		'imageId': '69435740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435743&x=175',
		'title': '',
		'imageId': '69435743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006964&docid=69435780&x=175',
		'title': '',
		'imageId': '69435780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006964';

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