var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047161&x=3653',
		'title': '',
		'imageId': '69047161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047157&x=3653',
		'title': '',
		'imageId': '69047157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047163&x=3653',
		'title': '',
		'imageId': '69047163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047160&x=3653',
		'title': '',
		'imageId': '69047160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047162&x=3653',
		'title': '',
		'imageId': '69047162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047165&x=3653',
		'title': '',
		'imageId': '69047165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047158&x=3653',
		'title': '',
		'imageId': '69047158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047155&x=3653',
		'title': '',
		'imageId': '69047155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047154&x=3653',
		'title': '',
		'imageId': '69047154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047159&x=3653',
		'title': '',
		'imageId': '69047159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047156&x=3653',
		'title': '',
		'imageId': '69047156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971248&docid=69047164&x=3653',
		'title': '',
		'imageId': '69047164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971248';

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