var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968868&docid=69165974&x=752',
		'title': '',
		'imageId': '69165974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968868&docid=69165979&x=752',
		'title': '',
		'imageId': '69165979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968868&docid=69165981&x=752',
		'title': '',
		'imageId': '69165981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968868&docid=69165980&x=752',
		'title': '',
		'imageId': '69165980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968868&docid=69165976&x=752',
		'title': '',
		'imageId': '69165976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968868&docid=69165975&x=752',
		'title': '',
		'imageId': '69165975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968868&docid=69165977&x=752',
		'title': '',
		'imageId': '69165977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968868&docid=56367157&x=752',
		'title': '',
		'imageId': '56367157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968868&docid=56367395&x=752',
		'title': '',
		'imageId': '56367395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968868&docid=69165978&x=752',
		'title': '',
		'imageId': '69165978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968868';

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