var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69971722&x=312',
		'title': '',
		'imageId': '69971722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69971717&x=312',
		'title': '',
		'imageId': '69971717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69971718&x=312',
		'title': '',
		'imageId': '69971718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69971719&x=312',
		'title': '',
		'imageId': '69971719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69971723&x=312',
		'title': '',
		'imageId': '69971723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69971716&x=312',
		'title': '',
		'imageId': '69971716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69971720&x=312',
		'title': '',
		'imageId': '69971720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69971715&x=312',
		'title': '',
		'imageId': '69971715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69971724&x=312',
		'title': '',
		'imageId': '69971724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69971713&x=312',
		'title': '',
		'imageId': '69971713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69971714&x=312',
		'title': '',
		'imageId': '69971714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010536&docid=69973538&x=312',
		'title': '',
		'imageId': '69973538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010536';

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