var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984901&docid=69375629&x=391',
		'title': '',
		'imageId': '69375629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984901&docid=69375633&x=391',
		'title': '',
		'imageId': '69375633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984901&docid=69375631&x=391',
		'title': '',
		'imageId': '69375631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984901&docid=69375632&x=391',
		'title': '',
		'imageId': '69375632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984901&docid=69375630&x=391',
		'title': '',
		'imageId': '69375630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984901&docid=69375627&x=391',
		'title': '',
		'imageId': '69375627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984901&docid=69375715&x=391',
		'title': '',
		'imageId': '69375715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984901';

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