var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595897&x=4231',
		'title': '',
		'imageId': '68595897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595916&x=4231',
		'title': '',
		'imageId': '68595916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595915&x=4231',
		'title': '',
		'imageId': '68595915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595928&x=4231',
		'title': '',
		'imageId': '68595928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595927&x=4231',
		'title': '',
		'imageId': '68595927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595903&x=4231',
		'title': '',
		'imageId': '68595903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595921&x=4231',
		'title': '',
		'imageId': '68595921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595912&x=4231',
		'title': '',
		'imageId': '68595912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595924&x=4231',
		'title': '',
		'imageId': '68595924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595929&x=4231',
		'title': '',
		'imageId': '68595929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595923&x=4231',
		'title': '',
		'imageId': '68595923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595926&x=4231',
		'title': '',
		'imageId': '68595926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595918&x=4231',
		'title': '',
		'imageId': '68595918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595914&x=4231',
		'title': '',
		'imageId': '68595914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595907&x=4231',
		'title': '',
		'imageId': '68595907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595898&x=4231',
		'title': '',
		'imageId': '68595898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595909&x=4231',
		'title': '',
		'imageId': '68595909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595908&x=4231',
		'title': '',
		'imageId': '68595908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595900&x=4231',
		'title': '',
		'imageId': '68595900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595920&x=4231',
		'title': '',
		'imageId': '68595920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595922&x=4231',
		'title': '',
		'imageId': '68595922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595917&x=4231',
		'title': '',
		'imageId': '68595917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595899&x=4231',
		'title': '',
		'imageId': '68595899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595902&x=4231',
		'title': '',
		'imageId': '68595902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595910&x=4231',
		'title': '',
		'imageId': '68595910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595901&x=4231',
		'title': '',
		'imageId': '68595901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595906&x=4231',
		'title': '',
		'imageId': '68595906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595911&x=4231',
		'title': '',
		'imageId': '68595911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595919&x=4231',
		'title': '',
		'imageId': '68595919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595905&x=4231',
		'title': '',
		'imageId': '68595905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595913&x=4231',
		'title': '',
		'imageId': '68595913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595925&x=4231',
		'title': '',
		'imageId': '68595925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950467&docid=68595904&x=4231',
		'title': '',
		'imageId': '68595904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950467';

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