var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004644&docid=69826928&x=32',
		'title': '',
		'imageId': '69826928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004644&docid=69826933&x=32',
		'title': '',
		'imageId': '69826933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004644&docid=69826929&x=32',
		'title': '',
		'imageId': '69826929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004644&docid=69826930&x=32',
		'title': '',
		'imageId': '69826930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004644&docid=69826931&x=32',
		'title': '',
		'imageId': '69826931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004644&docid=69826934&x=32',
		'title': '',
		'imageId': '69826934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004644&docid=69826932&x=32',
		'title': '',
		'imageId': '69826932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004644&docid=69826935&x=32',
		'title': '',
		'imageId': '69826935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004644&docid=69826936&x=32',
		'title': '',
		'imageId': '69826936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004644&docid=69826937&x=32',
		'title': '',
		'imageId': '69826937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004644&docid=69826938&x=32',
		'title': '',
		'imageId': '69826938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004644';

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