var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595209&x=5743',
		'title': '',
		'imageId': '67595209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595210&x=5743',
		'title': '',
		'imageId': '67595210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595213&x=5743',
		'title': '',
		'imageId': '67595213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595214&x=5743',
		'title': '',
		'imageId': '67595214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595211&x=5743',
		'title': '',
		'imageId': '67595211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595212&x=5743',
		'title': '',
		'imageId': '67595212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595203&x=5743',
		'title': '',
		'imageId': '67595203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595204&x=5743',
		'title': '',
		'imageId': '67595204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595205&x=5743',
		'title': '',
		'imageId': '67595205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595206&x=5743',
		'title': '',
		'imageId': '67595206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595207&x=5743',
		'title': '',
		'imageId': '67595207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908290&docid=67595208&x=5743',
		'title': '',
		'imageId': '67595208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3908290';

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