var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471258&x=5933',
		'title': '',
		'imageId': '67471258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471272&x=5933',
		'title': '',
		'imageId': '67471272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471274&x=5933',
		'title': '',
		'imageId': '67471274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471278&x=5933',
		'title': '',
		'imageId': '67471278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471279&x=5933',
		'title': '',
		'imageId': '67471279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471280&x=5933',
		'title': '',
		'imageId': '67471280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471284&x=5933',
		'title': '',
		'imageId': '67471284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471275&x=5933',
		'title': '',
		'imageId': '67471275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471262&x=5933',
		'title': '',
		'imageId': '67471262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471261&x=5933',
		'title': '',
		'imageId': '67471261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471260&x=5933',
		'title': '',
		'imageId': '67471260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471269&x=5933',
		'title': '',
		'imageId': '67471269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471259&x=5933',
		'title': '',
		'imageId': '67471259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471268&x=5933',
		'title': '',
		'imageId': '67471268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471277&x=5933',
		'title': '',
		'imageId': '67471277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471266&x=5933',
		'title': '',
		'imageId': '67471266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471270&x=5933',
		'title': '',
		'imageId': '67471270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471271&x=5933',
		'title': '',
		'imageId': '67471271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471276&x=5933',
		'title': '',
		'imageId': '67471276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471273&x=5933',
		'title': '',
		'imageId': '67471273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471267&x=5933',
		'title': '',
		'imageId': '67471267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471265&x=5933',
		'title': '',
		'imageId': '67471265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471263&x=5933',
		'title': '',
		'imageId': '67471263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931085&docid=67471264&x=5933',
		'title': '',
		'imageId': '67471264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931085';

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