var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927198&docid=68069308&x=4129',
		'title': '',
		'imageId': '68069308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927198&docid=68069314&x=4129',
		'title': '',
		'imageId': '68069314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927198&docid=68069315&x=4129',
		'title': '',
		'imageId': '68069315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927198&docid=68069310&x=4129',
		'title': '',
		'imageId': '68069310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927198&docid=68069309&x=4129',
		'title': '',
		'imageId': '68069309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927198&docid=68069317&x=4129',
		'title': '',
		'imageId': '68069317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927198&docid=68069316&x=4129',
		'title': '',
		'imageId': '68069316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927198&docid=68069312&x=4129',
		'title': '',
		'imageId': '68069312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927198&docid=68069313&x=4129',
		'title': '',
		'imageId': '68069313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927198&docid=68069311&x=4129',
		'title': '',
		'imageId': '68069311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927198';

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