var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3918279&docid=67864282&x=3129',
		'title': '',
		'imageId': '67864282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918279&docid=67864283&x=3129',
		'title': '',
		'imageId': '67864283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918279&docid=67864284&x=3129',
		'title': '',
		'imageId': '67864284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918279&docid=67864281&x=3129',
		'title': '',
		'imageId': '67864281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918279&docid=67864276&x=3129',
		'title': '',
		'imageId': '67864276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918279&docid=67864277&x=3129',
		'title': '',
		'imageId': '67864277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918279&docid=67864280&x=3129',
		'title': '',
		'imageId': '67864280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918279&docid=67864285&x=3129',
		'title': '',
		'imageId': '67864285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918279&docid=67864278&x=3129',
		'title': '',
		'imageId': '67864278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918279&docid=67864279&x=3129',
		'title': '',
		'imageId': '67864279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3918279';

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