var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359364&x=5634',
		'title': '',
		'imageId': '68359364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359367&x=5634',
		'title': '',
		'imageId': '68359367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359370&x=5634',
		'title': '',
		'imageId': '68359370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359375&x=5634',
		'title': '',
		'imageId': '68359375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359378&x=5634',
		'title': '',
		'imageId': '68359378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359381&x=5634',
		'title': '',
		'imageId': '68359381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359388&x=5634',
		'title': '',
		'imageId': '68359388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359407&x=5634',
		'title': '',
		'imageId': '68359407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359421&x=5634',
		'title': '',
		'imageId': '68359421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359422&x=5634',
		'title': '',
		'imageId': '68359422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359428&x=5634',
		'title': '',
		'imageId': '68359428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359433&x=5634',
		'title': '',
		'imageId': '68359433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359434&x=5634',
		'title': '',
		'imageId': '68359434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359437&x=5634',
		'title': '',
		'imageId': '68359437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359440&x=5634',
		'title': '',
		'imageId': '68359440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359445&x=5634',
		'title': '',
		'imageId': '68359445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359476&x=5634',
		'title': '',
		'imageId': '68359476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359479&x=5634',
		'title': '',
		'imageId': '68359479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359482&x=5634',
		'title': '',
		'imageId': '68359482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359488&x=5634',
		'title': '',
		'imageId': '68359488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359517&x=5634',
		'title': '',
		'imageId': '68359517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359520&x=5634',
		'title': '',
		'imageId': '68359520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359523&x=5634',
		'title': '',
		'imageId': '68359523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939653&docid=68359525&x=5634',
		'title': '',
		'imageId': '68359525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939653';

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