var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488283&x=1346',
		'title': '',
		'imageId': '68488283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488284&x=1346',
		'title': '',
		'imageId': '68488284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488285&x=1346',
		'title': '',
		'imageId': '68488285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488286&x=1346',
		'title': '',
		'imageId': '68488286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488287&x=1346',
		'title': '',
		'imageId': '68488287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488288&x=1346',
		'title': '',
		'imageId': '68488288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488289&x=1346',
		'title': '',
		'imageId': '68488289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488290&x=1346',
		'title': '',
		'imageId': '68488290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488291&x=1346',
		'title': '',
		'imageId': '68488291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488292&x=1346',
		'title': '',
		'imageId': '68488292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488293&x=1346',
		'title': '',
		'imageId': '68488293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488294&x=1346',
		'title': '',
		'imageId': '68488294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488295&x=1346',
		'title': '',
		'imageId': '68488295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488296&x=1346',
		'title': '',
		'imageId': '68488296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488297&x=1346',
		'title': '',
		'imageId': '68488297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488298&x=1346',
		'title': '',
		'imageId': '68488298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488299&x=1346',
		'title': '',
		'imageId': '68488299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488300&x=1346',
		'title': '',
		'imageId': '68488300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488301&x=1346',
		'title': '',
		'imageId': '68488301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946214&docid=68488302&x=1346',
		'title': '',
		'imageId': '68488302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946214';

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