var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3907460&docid=67584744&x=1447',
		'title': '',
		'imageId': '67584744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907460&docid=67584743&x=1447',
		'title': '',
		'imageId': '67584743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907460&docid=67584745&x=1447',
		'title': '',
		'imageId': '67584745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907460&docid=67584749&x=1447',
		'title': '',
		'imageId': '67584749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907460&docid=67584751&x=1447',
		'title': '',
		'imageId': '67584751',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907460&docid=67584753&x=1447',
		'title': '',
		'imageId': '67584753',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907460&docid=67584747&x=1447',
		'title': '',
		'imageId': '67584747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907460&docid=67584748&x=1447',
		'title': '',
		'imageId': '67584748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907460&docid=67584746&x=1447',
		'title': '',
		'imageId': '67584746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907460&docid=67584752&x=1447',
		'title': '',
		'imageId': '67584752',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907460&docid=67584750&x=1447',
		'title': '',
		'imageId': '67584750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3907460';

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