var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960300&x=5916',
		'title': '',
		'imageId': '68960300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960307&x=5916',
		'title': '',
		'imageId': '68960307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960314&x=5916',
		'title': '',
		'imageId': '68960314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960317&x=5916',
		'title': '',
		'imageId': '68960317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960298&x=5916',
		'title': '',
		'imageId': '68960298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960316&x=5916',
		'title': '',
		'imageId': '68960316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960301&x=5916',
		'title': '',
		'imageId': '68960301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960297&x=5916',
		'title': '',
		'imageId': '68960297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960304&x=5916',
		'title': '',
		'imageId': '68960304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960311&x=5916',
		'title': '',
		'imageId': '68960311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960312&x=5916',
		'title': '',
		'imageId': '68960312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960315&x=5916',
		'title': '',
		'imageId': '68960315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960308&x=5916',
		'title': '',
		'imageId': '68960308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960313&x=5916',
		'title': '',
		'imageId': '68960313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960306&x=5916',
		'title': '',
		'imageId': '68960306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960303&x=5916',
		'title': '',
		'imageId': '68960303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960302&x=5916',
		'title': '',
		'imageId': '68960302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960309&x=5916',
		'title': '',
		'imageId': '68960309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960305&x=5916',
		'title': '',
		'imageId': '68960305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966493&docid=68960299&x=5916',
		'title': '',
		'imageId': '68960299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966493';

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