var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140183&x=1128',
		'title': '',
		'imageId': '68140183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140187&x=1128',
		'title': '',
		'imageId': '68140187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140181&x=1128',
		'title': '',
		'imageId': '68140181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140191&x=1128',
		'title': '',
		'imageId': '68140191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140188&x=1128',
		'title': '',
		'imageId': '68140188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140194&x=1128',
		'title': '',
		'imageId': '68140194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140146&x=1128',
		'title': '',
		'imageId': '68140146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140160&x=1128',
		'title': '',
		'imageId': '68140160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140167&x=1128',
		'title': '',
		'imageId': '68140167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140145&x=1128',
		'title': '',
		'imageId': '68140145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140153&x=1128',
		'title': '',
		'imageId': '68140153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140170&x=1128',
		'title': '',
		'imageId': '68140170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140151&x=1128',
		'title': '',
		'imageId': '68140151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140163&x=1128',
		'title': '',
		'imageId': '68140163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140173&x=1128',
		'title': '',
		'imageId': '68140173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140141&x=1128',
		'title': '',
		'imageId': '68140141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140142&x=1128',
		'title': '',
		'imageId': '68140142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140143&x=1128',
		'title': '',
		'imageId': '68140143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140159&x=1128',
		'title': '',
		'imageId': '68140159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140164&x=1128',
		'title': '',
		'imageId': '68140164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140179&x=1128',
		'title': '',
		'imageId': '68140179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140197&x=1128',
		'title': '',
		'imageId': '68140197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930628&docid=68140200&x=1128',
		'title': '',
		'imageId': '68140200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930628';

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