var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830674&x=5321',
		'title': '',
		'imageId': '68830674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830668&x=5321',
		'title': '',
		'imageId': '68830668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830667&x=5321',
		'title': '',
		'imageId': '68830667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830661&x=5321',
		'title': '',
		'imageId': '68830661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830665&x=5321',
		'title': '',
		'imageId': '68830665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830662&x=5321',
		'title': '',
		'imageId': '68830662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830670&x=5321',
		'title': '',
		'imageId': '68830670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830673&x=5321',
		'title': '',
		'imageId': '68830673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830672&x=5321',
		'title': '',
		'imageId': '68830672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830671&x=5321',
		'title': '',
		'imageId': '68830671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830669&x=5321',
		'title': '',
		'imageId': '68830669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960724&docid=68830666&x=5321',
		'title': '',
		'imageId': '68830666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960724';

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