var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912951&docid=67704984&x=2639',
		'title': '',
		'imageId': '67704984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912951&docid=67704985&x=2639',
		'title': '',
		'imageId': '67704985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912951&docid=67704986&x=2639',
		'title': '',
		'imageId': '67704986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912951&docid=67704987&x=2639',
		'title': '',
		'imageId': '67704987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912951&docid=67704988&x=2639',
		'title': '',
		'imageId': '67704988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912951&docid=67704989&x=2639',
		'title': '',
		'imageId': '67704989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912951&docid=67704990&x=2639',
		'title': '',
		'imageId': '67704990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912951&docid=67704991&x=2639',
		'title': '',
		'imageId': '67704991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912951&docid=67704992&x=2639',
		'title': '',
		'imageId': '67704992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912951&docid=67704993&x=2639',
		'title': '',
		'imageId': '67704993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912951';

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