var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964034&docid=68906280&x=2345',
		'title': '',
		'imageId': '68906280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964034&docid=68906281&x=2345',
		'title': '',
		'imageId': '68906281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964034&docid=68906282&x=2345',
		'title': '',
		'imageId': '68906282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964034&docid=68906283&x=2345',
		'title': '',
		'imageId': '68906283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964034&docid=68906284&x=2345',
		'title': '',
		'imageId': '68906284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964034&docid=68906285&x=2345',
		'title': '',
		'imageId': '68906285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964034&docid=68906286&x=2345',
		'title': '',
		'imageId': '68906286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964034&docid=68906287&x=2345',
		'title': '',
		'imageId': '68906287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964034&docid=68906288&x=2345',
		'title': '',
		'imageId': '68906288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964034&docid=68906289&x=2345',
		'title': '',
		'imageId': '68906289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964034&docid=68906290&x=2345',
		'title': '',
		'imageId': '68906290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964034';

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