var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67177696&x=330',
		'title': '',
		'imageId': '67177696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67177697&x=330',
		'title': '',
		'imageId': '67177697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67177698&x=330',
		'title': '',
		'imageId': '67177698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67177706&x=330',
		'title': '',
		'imageId': '67177706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67177710&x=330',
		'title': '',
		'imageId': '67177710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67177715&x=330',
		'title': '',
		'imageId': '67177715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67177721&x=330',
		'title': '',
		'imageId': '67177721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67177726&x=330',
		'title': '',
		'imageId': '67177726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67177732&x=330',
		'title': '',
		'imageId': '67177732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67177738&x=330',
		'title': '',
		'imageId': '67177738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67184140&x=330',
		'title': '',
		'imageId': '67184140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891331&docid=67184141&x=330',
		'title': '',
		'imageId': '67184141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891331';

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