var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947172&docid=68514378&x=044',
		'title': '',
		'imageId': '68514378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947172&docid=68514383&x=044',
		'title': '',
		'imageId': '68514383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947172&docid=68514381&x=044',
		'title': '',
		'imageId': '68514381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947172&docid=68514379&x=044',
		'title': '',
		'imageId': '68514379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947172&docid=68514385&x=044',
		'title': '',
		'imageId': '68514385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947172&docid=68514387&x=044',
		'title': '',
		'imageId': '68514387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947172&docid=68514389&x=044',
		'title': '',
		'imageId': '68514389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947172&docid=68514391&x=044',
		'title': '',
		'imageId': '68514391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947172&docid=68514390&x=044',
		'title': '',
		'imageId': '68514390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947172&docid=68514384&x=044',
		'title': '',
		'imageId': '68514384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947172&docid=68514392&x=044',
		'title': '',
		'imageId': '68514392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947172';

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