var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965123&x=157',
		'title': '',
		'imageId': '68965123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965132&x=157',
		'title': '',
		'imageId': '68965132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965126&x=157',
		'title': '',
		'imageId': '68965126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965139&x=157',
		'title': '',
		'imageId': '68965139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965121&x=157',
		'title': '',
		'imageId': '68965121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965129&x=157',
		'title': '',
		'imageId': '68965129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965136&x=157',
		'title': '',
		'imageId': '68965136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965122&x=157',
		'title': '',
		'imageId': '68965122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965134&x=157',
		'title': '',
		'imageId': '68965134',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965127&x=157',
		'title': '',
		'imageId': '68965127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965133&x=157',
		'title': '',
		'imageId': '68965133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965130&x=157',
		'title': '',
		'imageId': '68965130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965135&x=157',
		'title': '',
		'imageId': '68965135',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965128&x=157',
		'title': '',
		'imageId': '68965128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965131&x=157',
		'title': '',
		'imageId': '68965131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965125&x=157',
		'title': '',
		'imageId': '68965125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965124&x=157',
		'title': '',
		'imageId': '68965124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965140&x=157',
		'title': '',
		'imageId': '68965140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966611&docid=68965137&x=157',
		'title': '',
		'imageId': '68965137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966611';

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