var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69511996&x=5613',
		'title': '',
		'imageId': '69511996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69511998&x=5613',
		'title': '',
		'imageId': '69511998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69512000&x=5613',
		'title': '',
		'imageId': '69512000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69512003&x=5613',
		'title': '',
		'imageId': '69512003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69512004&x=5613',
		'title': '',
		'imageId': '69512004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69512001&x=5613',
		'title': '',
		'imageId': '69512001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69512002&x=5613',
		'title': '',
		'imageId': '69512002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69512007&x=5613',
		'title': '',
		'imageId': '69512007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69512008&x=5613',
		'title': '',
		'imageId': '69512008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69512005&x=5613',
		'title': '',
		'imageId': '69512005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69512006&x=5613',
		'title': '',
		'imageId': '69512006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991074&docid=69512009&x=5613',
		'title': '',
		'imageId': '69512009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991074';

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