var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956196&docid=68730659&x=4540',
		'title': '',
		'imageId': '68730659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956196&docid=68730660&x=4540',
		'title': '',
		'imageId': '68730660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956196&docid=68730664&x=4540',
		'title': '',
		'imageId': '68730664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956196&docid=68730668&x=4540',
		'title': '',
		'imageId': '68730668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956196&docid=68730663&x=4540',
		'title': '',
		'imageId': '68730663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956196&docid=68730661&x=4540',
		'title': '',
		'imageId': '68730661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956196&docid=68730665&x=4540',
		'title': '',
		'imageId': '68730665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956196&docid=68730666&x=4540',
		'title': '',
		'imageId': '68730666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956196&docid=68730667&x=4540',
		'title': '',
		'imageId': '68730667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956196&docid=68730662&x=4540',
		'title': '',
		'imageId': '68730662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956196';

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