var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197919&x=035',
		'title': '',
		'imageId': '69197919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197915&x=035',
		'title': '',
		'imageId': '69197915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197918&x=035',
		'title': '',
		'imageId': '69197918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197917&x=035',
		'title': '',
		'imageId': '69197917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197916&x=035',
		'title': '',
		'imageId': '69197916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197920&x=035',
		'title': '',
		'imageId': '69197920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197938&x=035',
		'title': '',
		'imageId': '69197938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197936&x=035',
		'title': '',
		'imageId': '69197936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197937&x=035',
		'title': '',
		'imageId': '69197937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197940&x=035',
		'title': '',
		'imageId': '69197940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197939&x=035',
		'title': '',
		'imageId': '69197939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977236&docid=69197941&x=035',
		'title': '',
		'imageId': '69197941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977236';

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