var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945912&x=4751',
		'title': '',
		'imageId': '68945912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945899&x=4751',
		'title': '',
		'imageId': '68945899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945920&x=4751',
		'title': '',
		'imageId': '68945920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945900&x=4751',
		'title': '',
		'imageId': '68945900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945907&x=4751',
		'title': '',
		'imageId': '68945907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945906&x=4751',
		'title': '',
		'imageId': '68945906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945914&x=4751',
		'title': '',
		'imageId': '68945914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945911&x=4751',
		'title': '',
		'imageId': '68945911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945913&x=4751',
		'title': '',
		'imageId': '68945913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945903&x=4751',
		'title': '',
		'imageId': '68945903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945902&x=4751',
		'title': '',
		'imageId': '68945902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945919&x=4751',
		'title': '',
		'imageId': '68945919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945905&x=4751',
		'title': '',
		'imageId': '68945905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945897&x=4751',
		'title': '',
		'imageId': '68945897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945916&x=4751',
		'title': '',
		'imageId': '68945916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945901&x=4751',
		'title': '',
		'imageId': '68945901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945918&x=4751',
		'title': '',
		'imageId': '68945918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945908&x=4751',
		'title': '',
		'imageId': '68945908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945917&x=4751',
		'title': '',
		'imageId': '68945917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945904&x=4751',
		'title': '',
		'imageId': '68945904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945910&x=4751',
		'title': '',
		'imageId': '68945910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945898&x=4751',
		'title': '',
		'imageId': '68945898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945909&x=4751',
		'title': '',
		'imageId': '68945909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965838&docid=68945915&x=4751',
		'title': '',
		'imageId': '68945915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965838';

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