var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979894&x=2326',
		'title': '',
		'imageId': '68979894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979897&x=2326',
		'title': '',
		'imageId': '68979897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979898&x=2326',
		'title': '',
		'imageId': '68979898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979899&x=2326',
		'title': '',
		'imageId': '68979899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979900&x=2326',
		'title': '',
		'imageId': '68979900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979901&x=2326',
		'title': '',
		'imageId': '68979901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979902&x=2326',
		'title': '',
		'imageId': '68979902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979903&x=2326',
		'title': '',
		'imageId': '68979903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979904&x=2326',
		'title': '',
		'imageId': '68979904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979905&x=2326',
		'title': '',
		'imageId': '68979905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979906&x=2326',
		'title': '',
		'imageId': '68979906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979907&x=2326',
		'title': '',
		'imageId': '68979907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979908&x=2326',
		'title': '',
		'imageId': '68979908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979909&x=2326',
		'title': '',
		'imageId': '68979909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979910&x=2326',
		'title': '',
		'imageId': '68979910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979911&x=2326',
		'title': '',
		'imageId': '68979911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979912&x=2326',
		'title': '',
		'imageId': '68979912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979913&x=2326',
		'title': '',
		'imageId': '68979913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979914&x=2326',
		'title': '',
		'imageId': '68979914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979915&x=2326',
		'title': '',
		'imageId': '68979915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979916&x=2326',
		'title': '',
		'imageId': '68979916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967754&docid=68979917&x=2326',
		'title': '',
		'imageId': '68979917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967754';

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