var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771528&x=1315',
		'title': '',
		'imageId': '69771528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771527&x=1315',
		'title': '',
		'imageId': '69771527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771520&x=1315',
		'title': '',
		'imageId': '69771520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771519&x=1315',
		'title': '',
		'imageId': '69771519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771525&x=1315',
		'title': '',
		'imageId': '69771525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771522&x=1315',
		'title': '',
		'imageId': '69771522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771526&x=1315',
		'title': '',
		'imageId': '69771526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771523&x=1315',
		'title': '',
		'imageId': '69771523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771524&x=1315',
		'title': '',
		'imageId': '69771524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771521&x=1315',
		'title': '',
		'imageId': '69771521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771518&x=1315',
		'title': '',
		'imageId': '69771518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002417&docid=69771517&x=1315',
		'title': '',
		'imageId': '69771517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002417';

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