var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68290085&x=114',
		'title': '',
		'imageId': '68290085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68289913&x=114',
		'title': '',
		'imageId': '68289913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68289910&x=114',
		'title': '',
		'imageId': '68289910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68289912&x=114',
		'title': '',
		'imageId': '68289912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68289911&x=114',
		'title': '',
		'imageId': '68289911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68289918&x=114',
		'title': '',
		'imageId': '68289918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68289915&x=114',
		'title': '',
		'imageId': '68289915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68289916&x=114',
		'title': '',
		'imageId': '68289916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68289914&x=114',
		'title': '',
		'imageId': '68289914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68289917&x=114',
		'title': '',
		'imageId': '68289917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68290084&x=114',
		'title': '',
		'imageId': '68290084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936905&docid=68290086&x=114',
		'title': '',
		'imageId': '68290086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936905';

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