var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642968&x=5644',
		'title': '',
		'imageId': '67642968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642959&x=5644',
		'title': '',
		'imageId': '67642959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642967&x=5644',
		'title': '',
		'imageId': '67642967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642963&x=5644',
		'title': '',
		'imageId': '67642963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642962&x=5644',
		'title': '',
		'imageId': '67642962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642964&x=5644',
		'title': '',
		'imageId': '67642964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642965&x=5644',
		'title': '',
		'imageId': '67642965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642966&x=5644',
		'title': '',
		'imageId': '67642966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642961&x=5644',
		'title': '',
		'imageId': '67642961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642958&x=5644',
		'title': '',
		'imageId': '67642958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642960&x=5644',
		'title': '',
		'imageId': '67642960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910142&docid=67642969&x=5644',
		'title': '',
		'imageId': '67642969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910142';

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