var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981696&docid=69299647&x=5747',
		'title': '',
		'imageId': '69299647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981696&docid=69299648&x=5747',
		'title': '',
		'imageId': '69299648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981696&docid=69299649&x=5747',
		'title': '',
		'imageId': '69299649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981696&docid=69299650&x=5747',
		'title': '',
		'imageId': '69299650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981696&docid=69299651&x=5747',
		'title': '',
		'imageId': '69299651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981696&docid=69299652&x=5747',
		'title': '',
		'imageId': '69299652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981696&docid=69299653&x=5747',
		'title': '',
		'imageId': '69299653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981696&docid=69299654&x=5747',
		'title': '',
		'imageId': '69299654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981696&docid=69299655&x=5747',
		'title': '',
		'imageId': '69299655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981696&docid=69299656&x=5747',
		'title': '',
		'imageId': '69299656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981696';

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