var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937538&docid=68308322&x=134',
		'title': '',
		'imageId': '68308322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937538&docid=66971515&x=134',
		'title': '',
		'imageId': '66971515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937538&docid=66971512&x=134',
		'title': '',
		'imageId': '66971512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937538&docid=66971514&x=134',
		'title': '',
		'imageId': '66971514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937538&docid=66971513&x=134',
		'title': '',
		'imageId': '66971513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937538&docid=68308198&x=134',
		'title': '',
		'imageId': '68308198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937538&docid=68308197&x=134',
		'title': '',
		'imageId': '68308197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937538&docid=68308199&x=134',
		'title': '',
		'imageId': '68308199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937538&docid=68308200&x=134',
		'title': '',
		'imageId': '68308200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937538&docid=68308290&x=134',
		'title': '',
		'imageId': '68308290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937538';

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