var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=62824129&x=1835',
		'title': '',
		'imageId': '62824129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=69397126&x=1835',
		'title': '',
		'imageId': '69397126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=69397130&x=1835',
		'title': '',
		'imageId': '69397130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=69397129&x=1835',
		'title': '',
		'imageId': '69397129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=69397123&x=1835',
		'title': '',
		'imageId': '69397123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=69397132&x=1835',
		'title': '',
		'imageId': '69397132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=69397131&x=1835',
		'title': '',
		'imageId': '69397131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=69397128&x=1835',
		'title': '',
		'imageId': '69397128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=69397124&x=1835',
		'title': '',
		'imageId': '69397124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=69397127&x=1835',
		'title': '',
		'imageId': '69397127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=69397133&x=1835',
		'title': '',
		'imageId': '69397133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985579&docid=69397125&x=1835',
		'title': '',
		'imageId': '69397125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985579';

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