var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223300&x=3249',
		'title': '',
		'imageId': '68223300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223301&x=3249',
		'title': '',
		'imageId': '68223301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223302&x=3249',
		'title': '',
		'imageId': '68223302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223303&x=3249',
		'title': '',
		'imageId': '68223303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223304&x=3249',
		'title': '',
		'imageId': '68223304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223305&x=3249',
		'title': '',
		'imageId': '68223305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223307&x=3249',
		'title': '',
		'imageId': '68223307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223308&x=3249',
		'title': '',
		'imageId': '68223308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223309&x=3249',
		'title': '',
		'imageId': '68223309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223310&x=3249',
		'title': '',
		'imageId': '68223310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223311&x=3249',
		'title': '',
		'imageId': '68223311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933728&docid=68223312&x=3249',
		'title': '',
		'imageId': '68223312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933728';

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