var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502261&x=3726',
		'title': '',
		'imageId': '68502261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502264&x=3726',
		'title': '',
		'imageId': '68502264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502271&x=3726',
		'title': '',
		'imageId': '68502271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502262&x=3726',
		'title': '',
		'imageId': '68502262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502265&x=3726',
		'title': '',
		'imageId': '68502265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502266&x=3726',
		'title': '',
		'imageId': '68502266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502278&x=3726',
		'title': '',
		'imageId': '68502278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502272&x=3726',
		'title': '',
		'imageId': '68502272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502277&x=3726',
		'title': '',
		'imageId': '68502277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502268&x=3726',
		'title': '',
		'imageId': '68502268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502279&x=3726',
		'title': '',
		'imageId': '68502279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502260&x=3726',
		'title': '',
		'imageId': '68502260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502263&x=3726',
		'title': '',
		'imageId': '68502263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502274&x=3726',
		'title': '',
		'imageId': '68502274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502273&x=3726',
		'title': '',
		'imageId': '68502273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502270&x=3726',
		'title': '',
		'imageId': '68502270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502267&x=3726',
		'title': '',
		'imageId': '68502267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502276&x=3726',
		'title': '',
		'imageId': '68502276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502269&x=3726',
		'title': '',
		'imageId': '68502269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946766&docid=68502275&x=3726',
		'title': '',
		'imageId': '68502275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946766';

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