var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952501&docid=68725247&x=4356',
		'title': '',
		'imageId': '68725247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952501&docid=68725252&x=4356',
		'title': '',
		'imageId': '68725252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952501&docid=68725249&x=4356',
		'title': '',
		'imageId': '68725249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952501&docid=68725248&x=4356',
		'title': '',
		'imageId': '68725248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952501&docid=68725251&x=4356',
		'title': '',
		'imageId': '68725251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952501&docid=68725250&x=4356',
		'title': '',
		'imageId': '68725250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952501&docid=68725253&x=4356',
		'title': '',
		'imageId': '68725253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952501';

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