var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3995077&docid=69605160&x=1930',
		'title': '',
		'imageId': '69605160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995077&docid=69605260&x=1930',
		'title': '',
		'imageId': '69605260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995077&docid=69605163&x=1930',
		'title': '',
		'imageId': '69605163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995077&docid=69605244&x=1930',
		'title': '',
		'imageId': '69605244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995077&docid=69605250&x=1930',
		'title': '',
		'imageId': '69605250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995077&docid=69605182&x=1930',
		'title': '',
		'imageId': '69605182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995077&docid=69605143&x=1930',
		'title': '',
		'imageId': '69605143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995077&docid=69605153&x=1930',
		'title': '',
		'imageId': '69605153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995077&docid=69605157&x=1930',
		'title': '',
		'imageId': '69605157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995077&docid=69605232&x=1930',
		'title': '',
		'imageId': '69605232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3995077';

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