var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3904041&docid=68354239&x=134',
		'title': '',
		'imageId': '68354239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904041&docid=68354238&x=134',
		'title': '',
		'imageId': '68354238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904041&docid=68354234&x=134',
		'title': '',
		'imageId': '68354234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904041&docid=68354236&x=134',
		'title': '',
		'imageId': '68354236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904041&docid=68354235&x=134',
		'title': '',
		'imageId': '68354235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904041&docid=68354233&x=134',
		'title': '',
		'imageId': '68354233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904041&docid=68354237&x=134',
		'title': '',
		'imageId': '68354237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904041&docid=68415651&x=134',
		'title': '',
		'imageId': '68415651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904041&docid=68415657&x=134',
		'title': '',
		'imageId': '68415657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904041&docid=68415660&x=134',
		'title': '',
		'imageId': '68415660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904041&docid=68415663&x=134',
		'title': '',
		'imageId': '68415663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3904041';

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