var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974373&docid=69132623&x=32',
		'title': '',
		'imageId': '69132623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974373&docid=69132683&x=32',
		'title': '',
		'imageId': '69132683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974373&docid=69132620&x=32',
		'title': '',
		'imageId': '69132620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974373&docid=69132678&x=32',
		'title': '',
		'imageId': '69132678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974373&docid=69132680&x=32',
		'title': '',
		'imageId': '69132680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974373&docid=69132619&x=32',
		'title': '',
		'imageId': '69132619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974373&docid=69132622&x=32',
		'title': '',
		'imageId': '69132622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974373&docid=69132621&x=32',
		'title': '',
		'imageId': '69132621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974373&docid=69132681&x=32',
		'title': '',
		'imageId': '69132681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974373&docid=69132679&x=32',
		'title': '',
		'imageId': '69132679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974373&docid=69132682&x=32',
		'title': '',
		'imageId': '69132682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974373';

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