var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962689&docid=68870031&x=2938',
		'title': '',
		'imageId': '68870031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962689&docid=68870029&x=2938',
		'title': '',
		'imageId': '68870029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962689&docid=68870033&x=2938',
		'title': '',
		'imageId': '68870033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962689&docid=68870043&x=2938',
		'title': '',
		'imageId': '68870043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962689&docid=68870041&x=2938',
		'title': '',
		'imageId': '68870041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962689&docid=68870032&x=2938',
		'title': '',
		'imageId': '68870032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962689&docid=68870030&x=2938',
		'title': '',
		'imageId': '68870030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962689&docid=68870034&x=2938',
		'title': '',
		'imageId': '68870034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962689&docid=68870097&x=2938',
		'title': '',
		'imageId': '68870097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962689&docid=68870098&x=2938',
		'title': '',
		'imageId': '68870098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962689&docid=68870125&x=2938',
		'title': '',
		'imageId': '68870125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962689';

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