var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164502&x=2620',
		'title': '',
		'imageId': '68164502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164505&x=2620',
		'title': '',
		'imageId': '68164505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164506&x=2620',
		'title': '',
		'imageId': '68164506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164507&x=2620',
		'title': '',
		'imageId': '68164507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164508&x=2620',
		'title': '',
		'imageId': '68164508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164509&x=2620',
		'title': '',
		'imageId': '68164509',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164510&x=2620',
		'title': '',
		'imageId': '68164510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164511&x=2620',
		'title': '',
		'imageId': '68164511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164519&x=2620',
		'title': '',
		'imageId': '68164519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164520&x=2620',
		'title': '',
		'imageId': '68164520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164512&x=2620',
		'title': '',
		'imageId': '68164512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164514&x=2620',
		'title': '',
		'imageId': '68164514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164515&x=2620',
		'title': '',
		'imageId': '68164515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164516&x=2620',
		'title': '',
		'imageId': '68164516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164517&x=2620',
		'title': '',
		'imageId': '68164517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164518&x=2620',
		'title': '',
		'imageId': '68164518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164504&x=2620',
		'title': '',
		'imageId': '68164504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932034&docid=68164513&x=2620',
		'title': '',
		'imageId': '68164513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932034';

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