var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960566&docid=68828083&x=1552',
		'title': '',
		'imageId': '68828083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960566&docid=68828080&x=1552',
		'title': '',
		'imageId': '68828080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960566&docid=68828087&x=1552',
		'title': '',
		'imageId': '68828087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960566&docid=68828081&x=1552',
		'title': '',
		'imageId': '68828081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960566&docid=68828086&x=1552',
		'title': '',
		'imageId': '68828086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960566&docid=68828082&x=1552',
		'title': '',
		'imageId': '68828082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960566&docid=68828085&x=1552',
		'title': '',
		'imageId': '68828085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960566&docid=68828079&x=1552',
		'title': '',
		'imageId': '68828079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960566&docid=68828084&x=1552',
		'title': '',
		'imageId': '68828084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960566&docid=68828088&x=1552',
		'title': '',
		'imageId': '68828088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960566';

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