var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141530&x=1622',
		'title': '',
		'imageId': '68141530',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141531&x=1622',
		'title': '',
		'imageId': '68141531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141535&x=1622',
		'title': '',
		'imageId': '68141535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141545&x=1622',
		'title': '',
		'imageId': '68141545',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141533&x=1622',
		'title': '',
		'imageId': '68141533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141534&x=1622',
		'title': '',
		'imageId': '68141534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141544&x=1622',
		'title': '',
		'imageId': '68141544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141546&x=1622',
		'title': '',
		'imageId': '68141546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141547&x=1622',
		'title': '',
		'imageId': '68141547',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141555&x=1622',
		'title': '',
		'imageId': '68141555',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141559&x=1622',
		'title': '',
		'imageId': '68141559',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141576&x=1622',
		'title': '',
		'imageId': '68141576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141562&x=1622',
		'title': '',
		'imageId': '68141562',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141560&x=1622',
		'title': '',
		'imageId': '68141560',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141566&x=1622',
		'title': '',
		'imageId': '68141566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141584&x=1622',
		'title': '',
		'imageId': '68141584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141583&x=1622',
		'title': '',
		'imageId': '68141583',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141575&x=1622',
		'title': '',
		'imageId': '68141575',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141572&x=1622',
		'title': '',
		'imageId': '68141572',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930670&docid=68141571&x=1622',
		'title': '',
		'imageId': '68141571',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930670';

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