var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916121&docid=67405938&x=1337',
		'title': '',
		'imageId': '67405938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916121&docid=67405939&x=1337',
		'title': '',
		'imageId': '67405939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916121&docid=67405940&x=1337',
		'title': '',
		'imageId': '67405940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916121&docid=67405941&x=1337',
		'title': '',
		'imageId': '67405941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916121&docid=67405942&x=1337',
		'title': '',
		'imageId': '67405942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916121&docid=67405944&x=1337',
		'title': '',
		'imageId': '67405944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916121&docid=67405945&x=1337',
		'title': '',
		'imageId': '67405945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916121&docid=67405946&x=1337',
		'title': '',
		'imageId': '67405946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916121&docid=67405947&x=1337',
		'title': '',
		'imageId': '67405947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916121&docid=67405948&x=1337',
		'title': '',
		'imageId': '67405948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916121';

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