var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937606&docid=68309580&x=519',
		'title': '',
		'imageId': '68309580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937606&docid=68309582&x=519',
		'title': '',
		'imageId': '68309582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937606&docid=68309581&x=519',
		'title': '',
		'imageId': '68309581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937606&docid=68309141&x=519',
		'title': '',
		'imageId': '68309141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937606&docid=68309139&x=519',
		'title': '',
		'imageId': '68309139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937606&docid=68309134&x=519',
		'title': '',
		'imageId': '68309134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937606&docid=68309138&x=519',
		'title': '',
		'imageId': '68309138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937606&docid=68309137&x=519',
		'title': '',
		'imageId': '68309137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937606&docid=68309135&x=519',
		'title': '',
		'imageId': '68309135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937606&docid=68309140&x=519',
		'title': '',
		'imageId': '68309140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937606&docid=68309136&x=519',
		'title': '',
		'imageId': '68309136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937606';

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