var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559925&x=1853',
		'title': 'NV-20-7',
		'imageId': '67559925',
		'alt' : 'NV-20-7',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559926&x=1853',
		'title': '',
		'imageId': '67559926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559927&x=1853',
		'title': '',
		'imageId': '67559927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559928&x=1853',
		'title': '',
		'imageId': '67559928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559929&x=1853',
		'title': '',
		'imageId': '67559929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559930&x=1853',
		'title': '',
		'imageId': '67559930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559931&x=1853',
		'title': '',
		'imageId': '67559931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559932&x=1853',
		'title': '',
		'imageId': '67559932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559935&x=1853',
		'title': '',
		'imageId': '67559935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559936&x=1853',
		'title': '',
		'imageId': '67559936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559937&x=1853',
		'title': '',
		'imageId': '67559937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559938&x=1853',
		'title': '',
		'imageId': '67559938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559939&x=1853',
		'title': '',
		'imageId': '67559939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559940&x=1853',
		'title': '',
		'imageId': '67559940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559941&x=1853',
		'title': '',
		'imageId': '67559941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559942&x=1853',
		'title': '',
		'imageId': '67559942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906503&docid=67559943&x=1853',
		'title': '',
		'imageId': '67559943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3906503';

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