var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856101&x=26',
		'title': '',
		'imageId': '67856101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856098&x=26',
		'title': '',
		'imageId': '67856098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856102&x=26',
		'title': '',
		'imageId': '67856102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856099&x=26',
		'title': '',
		'imageId': '67856099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856094&x=26',
		'title': '',
		'imageId': '67856094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856095&x=26',
		'title': '',
		'imageId': '67856095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856096&x=26',
		'title': '',
		'imageId': '67856096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856097&x=26',
		'title': '',
		'imageId': '67856097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856093&x=26',
		'title': '',
		'imageId': '67856093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856090&x=26',
		'title': '',
		'imageId': '67856090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856100&x=26',
		'title': '',
		'imageId': '67856100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918109&docid=67856091&x=26',
		'title': '',
		'imageId': '67856091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3918109';

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