var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3904846&docid=67523075&x=1358',
		'title': '',
		'imageId': '67523075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904846&docid=67523079&x=1358',
		'title': '',
		'imageId': '67523079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904846&docid=67523088&x=1358',
		'title': '',
		'imageId': '67523088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904846&docid=67523091&x=1358',
		'title': '',
		'imageId': '67523091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904846&docid=67523094&x=1358',
		'title': '',
		'imageId': '67523094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904846&docid=67523098&x=1358',
		'title': '',
		'imageId': '67523098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904846&docid=67523103&x=1358',
		'title': '',
		'imageId': '67523103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904846&docid=67523107&x=1358',
		'title': '',
		'imageId': '67523107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904846&docid=67523110&x=1358',
		'title': '',
		'imageId': '67523110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904846&docid=67523113&x=1358',
		'title': '',
		'imageId': '67523113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3904846';

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