var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861234&x=429',
		'title': '',
		'imageId': '68861234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861241&x=429',
		'title': '',
		'imageId': '68861241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861246&x=429',
		'title': '',
		'imageId': '68861246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861247&x=429',
		'title': '',
		'imageId': '68861247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861158&x=429',
		'title': '',
		'imageId': '68861158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861196&x=429',
		'title': '',
		'imageId': '68861196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861227&x=429',
		'title': '',
		'imageId': '68861227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861143&x=429',
		'title': '',
		'imageId': '68861143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861157&x=429',
		'title': '',
		'imageId': '68861157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861219&x=429',
		'title': '',
		'imageId': '68861219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861142&x=429',
		'title': '',
		'imageId': '68861142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861206&x=429',
		'title': '',
		'imageId': '68861206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861235&x=429',
		'title': '',
		'imageId': '68861235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861214&x=429',
		'title': '',
		'imageId': '68861214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861152&x=429',
		'title': '',
		'imageId': '68861152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861240&x=429',
		'title': '',
		'imageId': '68861240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861115&x=429',
		'title': '',
		'imageId': '68861115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861117&x=429',
		'title': '',
		'imageId': '68861117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861119&x=429',
		'title': '',
		'imageId': '68861119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861116&x=429',
		'title': '',
		'imageId': '68861116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861118&x=429',
		'title': '',
		'imageId': '68861118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861122&x=429',
		'title': '',
		'imageId': '68861122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861253&x=429',
		'title': '',
		'imageId': '68861253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962308&docid=68861255&x=429',
		'title': '',
		'imageId': '68861255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962308';

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