var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029621&docid=70445030&x=1817',
		'title': '',
		'imageId': '70445030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029621&docid=70445031&x=1817',
		'title': '',
		'imageId': '70445031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029621&docid=70445032&x=1817',
		'title': '',
		'imageId': '70445032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029621&docid=70445033&x=1817',
		'title': '',
		'imageId': '70445033',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029621&docid=70445034&x=1817',
		'title': '',
		'imageId': '70445034',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029621&docid=70445035&x=1817',
		'title': '',
		'imageId': '70445035',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029621&docid=70445036&x=1817',
		'title': '',
		'imageId': '70445036',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029621';

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