var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606415&x=5752',
		'title': '',
		'imageId': '68606415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606420&x=5752',
		'title': '',
		'imageId': '68606420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606406&x=5752',
		'title': '',
		'imageId': '68606406',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606417&x=5752',
		'title': '',
		'imageId': '68606417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606410&x=5752',
		'title': '',
		'imageId': '68606410',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606412&x=5752',
		'title': '',
		'imageId': '68606412',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606413&x=5752',
		'title': '',
		'imageId': '68606413',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606418&x=5752',
		'title': '',
		'imageId': '68606418',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606419&x=5752',
		'title': '',
		'imageId': '68606419',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606416&x=5752',
		'title': '',
		'imageId': '68606416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606423&x=5752',
		'title': '',
		'imageId': '68606423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606407&x=5752',
		'title': '',
		'imageId': '68606407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606408&x=5752',
		'title': '',
		'imageId': '68606408',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606421&x=5752',
		'title': '',
		'imageId': '68606421',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606411&x=5752',
		'title': '',
		'imageId': '68606411',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606409&x=5752',
		'title': '',
		'imageId': '68606409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606422&x=5752',
		'title': '',
		'imageId': '68606422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950897&docid=68606414&x=5752',
		'title': '',
		'imageId': '68606414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950897';

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