var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061538&x=4313',
		'title': '',
		'imageId': '70061538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061535&x=4313',
		'title': '',
		'imageId': '70061535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061549&x=4313',
		'title': '',
		'imageId': '70061549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061548&x=4313',
		'title': '',
		'imageId': '70061548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061542&x=4313',
		'title': '',
		'imageId': '70061542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061537&x=4313',
		'title': '',
		'imageId': '70061537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061547&x=4313',
		'title': '',
		'imageId': '70061547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061546&x=4313',
		'title': '',
		'imageId': '70061546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061534&x=4313',
		'title': '',
		'imageId': '70061534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061543&x=4313',
		'title': '',
		'imageId': '70061543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061530&x=4313',
		'title': '',
		'imageId': '70061530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061541&x=4313',
		'title': '',
		'imageId': '70061541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061544&x=4313',
		'title': '',
		'imageId': '70061544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061531&x=4313',
		'title': '',
		'imageId': '70061531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061528&x=4313',
		'title': '',
		'imageId': '70061528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061545&x=4313',
		'title': '',
		'imageId': '70061545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061533&x=4313',
		'title': '',
		'imageId': '70061533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061540&x=4313',
		'title': '',
		'imageId': '70061540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061529&x=4313',
		'title': '',
		'imageId': '70061529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061532&x=4313',
		'title': '',
		'imageId': '70061532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061539&x=4313',
		'title': '',
		'imageId': '70061539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998611&docid=70061536&x=4313',
		'title': '',
		'imageId': '70061536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998611';

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