var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855904&x=3136',
		'title': '',
		'imageId': '68855904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855900&x=3136',
		'title': '',
		'imageId': '68855900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855905&x=3136',
		'title': '',
		'imageId': '68855905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855912&x=3136',
		'title': '',
		'imageId': '68855912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855897&x=3136',
		'title': '',
		'imageId': '68855897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855898&x=3136',
		'title': '',
		'imageId': '68855898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855913&x=3136',
		'title': '',
		'imageId': '68855913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855907&x=3136',
		'title': '',
		'imageId': '68855907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855903&x=3136',
		'title': '',
		'imageId': '68855903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855910&x=3136',
		'title': '',
		'imageId': '68855910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855908&x=3136',
		'title': '',
		'imageId': '68855908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855899&x=3136',
		'title': '',
		'imageId': '68855899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855901&x=3136',
		'title': '',
		'imageId': '68855901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855911&x=3136',
		'title': '',
		'imageId': '68855911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855909&x=3136',
		'title': '',
		'imageId': '68855909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855914&x=3136',
		'title': '',
		'imageId': '68855914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855906&x=3136',
		'title': '',
		'imageId': '68855906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855902&x=3136',
		'title': '',
		'imageId': '68855902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855893&x=3136',
		'title': '',
		'imageId': '68855893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855896&x=3136',
		'title': '',
		'imageId': '68855896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855894&x=3136',
		'title': '',
		'imageId': '68855894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960854&docid=68855895&x=3136',
		'title': '',
		'imageId': '68855895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960854';

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