var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864743&x=2527',
		'title': '',
		'imageId': '68864743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864760&x=2527',
		'title': '',
		'imageId': '68864760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864751&x=2527',
		'title': '',
		'imageId': '68864751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864756&x=2527',
		'title': '',
		'imageId': '68864756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864752&x=2527',
		'title': '',
		'imageId': '68864752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864746&x=2527',
		'title': '',
		'imageId': '68864746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864739&x=2527',
		'title': '',
		'imageId': '68864739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864740&x=2527',
		'title': '',
		'imageId': '68864740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864735&x=2527',
		'title': '',
		'imageId': '68864735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864736&x=2527',
		'title': '',
		'imageId': '68864736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864737&x=2527',
		'title': '',
		'imageId': '68864737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962398&docid=68864738&x=2527',
		'title': '',
		'imageId': '68864738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962398';

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