var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161945&x=3418',
		'title': '',
		'imageId': '68161945',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161946&x=3418',
		'title': '',
		'imageId': '68161946',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161947&x=3418',
		'title': '',
		'imageId': '68161947',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161948&x=3418',
		'title': '',
		'imageId': '68161948',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161949&x=3418',
		'title': '',
		'imageId': '68161949',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161950&x=3418',
		'title': '',
		'imageId': '68161950',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161951&x=3418',
		'title': '',
		'imageId': '68161951',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161952&x=3418',
		'title': '',
		'imageId': '68161952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161932&x=3418',
		'title': '',
		'imageId': '68161932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161933&x=3418',
		'title': '',
		'imageId': '68161933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161934&x=3418',
		'title': '',
		'imageId': '68161934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161935&x=3418',
		'title': '',
		'imageId': '68161935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161936&x=3418',
		'title': '',
		'imageId': '68161936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161937&x=3418',
		'title': '',
		'imageId': '68161937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161938&x=3418',
		'title': '',
		'imageId': '68161938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161939&x=3418',
		'title': '',
		'imageId': '68161939',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161940&x=3418',
		'title': '',
		'imageId': '68161940',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161941&x=3418',
		'title': '',
		'imageId': '68161941',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161942&x=3418',
		'title': '',
		'imageId': '68161942',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931869&docid=68161943&x=3418',
		'title': '',
		'imageId': '68161943',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931869';

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