var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886399&x=3417',
		'title': '',
		'imageId': '66886399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886405&x=3417',
		'title': '',
		'imageId': '66886405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886404&x=3417',
		'title': '',
		'imageId': '66886404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886400&x=3417',
		'title': '',
		'imageId': '66886400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886406&x=3417',
		'title': '',
		'imageId': '66886406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886409&x=3417',
		'title': '',
		'imageId': '66886409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886410&x=3417',
		'title': '',
		'imageId': '66886410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886411&x=3417',
		'title': '',
		'imageId': '66886411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886412&x=3417',
		'title': '',
		'imageId': '66886412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886403&x=3417',
		'title': '',
		'imageId': '66886403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886402&x=3417',
		'title': '',
		'imageId': '66886402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880302&docid=66886413&x=3417',
		'title': '',
		'imageId': '66886413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3880302';

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