var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925229&docid=68025898&x=3035',
		'title': '',
		'imageId': '68025898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925229&docid=68025899&x=3035',
		'title': '',
		'imageId': '68025899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925229&docid=68025900&x=3035',
		'title': '',
		'imageId': '68025900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925229&docid=68025901&x=3035',
		'title': '',
		'imageId': '68025901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925229&docid=68025902&x=3035',
		'title': '',
		'imageId': '68025902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925229&docid=68025903&x=3035',
		'title': '',
		'imageId': '68025903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925229&docid=68025904&x=3035',
		'title': '',
		'imageId': '68025904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925229&docid=68025905&x=3035',
		'title': '',
		'imageId': '68025905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925229&docid=68025906&x=3035',
		'title': '',
		'imageId': '68025906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925229&docid=68025907&x=3035',
		'title': '',
		'imageId': '68025907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925229';

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