var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553130&x=348',
		'title': '',
		'imageId': '69553130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553129&x=348',
		'title': '',
		'imageId': '69553129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553136&x=348',
		'title': '',
		'imageId': '69553136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553127&x=348',
		'title': '',
		'imageId': '69553127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553128&x=348',
		'title': '',
		'imageId': '69553128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553131&x=348',
		'title': '',
		'imageId': '69553131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553132&x=348',
		'title': '',
		'imageId': '69553132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553138&x=348',
		'title': '',
		'imageId': '69553138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553134&x=348',
		'title': '',
		'imageId': '69553134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553137&x=348',
		'title': '',
		'imageId': '69553137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553133&x=348',
		'title': '',
		'imageId': '69553133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992879&docid=69553135&x=348',
		'title': '',
		'imageId': '69553135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992879';

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