var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856885&x=3127',
		'title': '',
		'imageId': '67856885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856890&x=3127',
		'title': '',
		'imageId': '67856890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856886&x=3127',
		'title': '',
		'imageId': '67856886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856888&x=3127',
		'title': '',
		'imageId': '67856888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856889&x=3127',
		'title': '',
		'imageId': '67856889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856891&x=3127',
		'title': '',
		'imageId': '67856891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856880&x=3127',
		'title': '',
		'imageId': '67856880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856881&x=3127',
		'title': '',
		'imageId': '67856881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856884&x=3127',
		'title': '',
		'imageId': '67856884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856882&x=3127',
		'title': '',
		'imageId': '67856882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856887&x=3127',
		'title': '',
		'imageId': '67856887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918170&docid=67856883&x=3127',
		'title': '',
		'imageId': '67856883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3918170';

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