var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279187&x=3741',
		'title': '',
		'imageId': '69279187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279194&x=3741',
		'title': '',
		'imageId': '69279194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279191&x=3741',
		'title': '',
		'imageId': '69279191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279186&x=3741',
		'title': '',
		'imageId': '69279186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279190&x=3741',
		'title': '',
		'imageId': '69279190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279185&x=3741',
		'title': '',
		'imageId': '69279185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279184&x=3741',
		'title': '',
		'imageId': '69279184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279188&x=3741',
		'title': '',
		'imageId': '69279188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279192&x=3741',
		'title': '',
		'imageId': '69279192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279193&x=3741',
		'title': '',
		'imageId': '69279193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279195&x=3741',
		'title': '',
		'imageId': '69279195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980647&docid=69279189&x=3741',
		'title': '',
		'imageId': '69279189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980647';

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