var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991697&docid=69527062&x=4359',
		'title': '',
		'imageId': '69527062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991697&docid=69527064&x=4359',
		'title': '',
		'imageId': '69527064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991697&docid=69527063&x=4359',
		'title': '',
		'imageId': '69527063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991697&docid=69527066&x=4359',
		'title': '',
		'imageId': '69527066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991697&docid=69527061&x=4359',
		'title': '',
		'imageId': '69527061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991697&docid=69527068&x=4359',
		'title': '',
		'imageId': '69527068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991697&docid=69527067&x=4359',
		'title': '',
		'imageId': '69527067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991697&docid=69527069&x=4359',
		'title': '',
		'imageId': '69527069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991697&docid=69527060&x=4359',
		'title': '',
		'imageId': '69527060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991697&docid=69527065&x=4359',
		'title': '',
		'imageId': '69527065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991697';

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