var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975669&docid=69165192&x=5312',
		'title': '',
		'imageId': '69165192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975669&docid=69165194&x=5312',
		'title': '',
		'imageId': '69165194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975669&docid=69165189&x=5312',
		'title': '',
		'imageId': '69165189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975669&docid=69165188&x=5312',
		'title': '',
		'imageId': '69165188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975669&docid=69165190&x=5312',
		'title': '',
		'imageId': '69165190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975669&docid=69165191&x=5312',
		'title': '',
		'imageId': '69165191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975669&docid=69165187&x=5312',
		'title': '',
		'imageId': '69165187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975669&docid=69165186&x=5312',
		'title': '',
		'imageId': '69165186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975669&docid=69165175&x=5312',
		'title': '',
		'imageId': '69165175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975669&docid=69165176&x=5312',
		'title': '',
		'imageId': '69165176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975669';

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