var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882690&x=4424',
		'title': '',
		'imageId': '69882690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882686&x=4424',
		'title': '',
		'imageId': '69882686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882687&x=4424',
		'title': '',
		'imageId': '69882687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882689&x=4424',
		'title': '',
		'imageId': '69882689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882688&x=4424',
		'title': '',
		'imageId': '69882688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882691&x=4424',
		'title': '',
		'imageId': '69882691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882718&x=4424',
		'title': '',
		'imageId': '69882718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882722&x=4424',
		'title': '',
		'imageId': '69882722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882723&x=4424',
		'title': '',
		'imageId': '69882723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882721&x=4424',
		'title': '',
		'imageId': '69882721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882720&x=4424',
		'title': '',
		'imageId': '69882720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007102&docid=69882719&x=4424',
		'title': '',
		'imageId': '69882719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007102';

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