var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972286&docid=69078686&x=4257',
		'title': '',
		'imageId': '69078686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972286&docid=69078684&x=4257',
		'title': '',
		'imageId': '69078684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972286&docid=69078683&x=4257',
		'title': '',
		'imageId': '69078683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972286&docid=69078682&x=4257',
		'title': '',
		'imageId': '69078682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972286&docid=69078685&x=4257',
		'title': '',
		'imageId': '69078685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972286&docid=69103210&x=4257',
		'title': '',
		'imageId': '69103210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972286&docid=69103207&x=4257',
		'title': '',
		'imageId': '69103207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972286&docid=69103206&x=4257',
		'title': '',
		'imageId': '69103206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972286&docid=69103208&x=4257',
		'title': '',
		'imageId': '69103208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972286&docid=69103209&x=4257',
		'title': '',
		'imageId': '69103209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972286';

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