var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151160&x=832',
		'title': '',
		'imageId': '68151160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151124&x=832',
		'title': '',
		'imageId': '68151124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151122&x=832',
		'title': '',
		'imageId': '68151122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151121&x=832',
		'title': '',
		'imageId': '68151121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151120&x=832',
		'title': '',
		'imageId': '68151120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151125&x=832',
		'title': '',
		'imageId': '68151125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151140&x=832',
		'title': '',
		'imageId': '68151140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151142&x=832',
		'title': '',
		'imageId': '68151142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151139&x=832',
		'title': '',
		'imageId': '68151139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151141&x=832',
		'title': '',
		'imageId': '68151141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151226&x=832',
		'title': '',
		'imageId': '68151226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931315&docid=68151225&x=832',
		'title': '',
		'imageId': '68151225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931315';

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