var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69510573&x=5754',
		'title': '',
		'imageId': '69510573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043761&x=5754',
		'title': '',
		'imageId': '69043761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043752&x=5754',
		'title': '',
		'imageId': '69043752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043773&x=5754',
		'title': '',
		'imageId': '69043773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043776&x=5754',
		'title': '',
		'imageId': '69043776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043796&x=5754',
		'title': '',
		'imageId': '69043796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043835&x=5754',
		'title': '',
		'imageId': '69043835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043847&x=5754',
		'title': '',
		'imageId': '69043847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043856&x=5754',
		'title': '',
		'imageId': '69043856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043862&x=5754',
		'title': '',
		'imageId': '69043862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043865&x=5754',
		'title': '',
		'imageId': '69043865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043871&x=5754',
		'title': '',
		'imageId': '69043871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69043906&x=5754',
		'title': '',
		'imageId': '69043906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69510662&x=5754',
		'title': '',
		'imageId': '69510662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69510668&x=5754',
		'title': '',
		'imageId': '69510668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69510680&x=5754',
		'title': '',
		'imageId': '69510680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69510683&x=5754',
		'title': '',
		'imageId': '69510683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69510686&x=5754',
		'title': '',
		'imageId': '69510686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007270&docid=69510689&x=5754',
		'title': '',
		'imageId': '69510689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007270';

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