var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915668&docid=67784439&x=3447',
		'title': '',
		'imageId': '67784439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915668&docid=67784436&x=3447',
		'title': '',
		'imageId': '67784436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915668&docid=67784438&x=3447',
		'title': '',
		'imageId': '67784438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915668&docid=67784440&x=3447',
		'title': '',
		'imageId': '67784440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915668&docid=67784442&x=3447',
		'title': '',
		'imageId': '67784442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915668&docid=67784441&x=3447',
		'title': '',
		'imageId': '67784441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915668&docid=67784443&x=3447',
		'title': '',
		'imageId': '67784443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915668&docid=67784437&x=3447',
		'title': '',
		'imageId': '67784437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915668&docid=67952553&x=3447',
		'title': '',
		'imageId': '67952553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915668&docid=67952552&x=3447',
		'title': '',
		'imageId': '67952552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915668';

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