var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975061&docid=69146938&x=4056',
		'title': '',
		'imageId': '69146938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975061&docid=69146937&x=4056',
		'title': '',
		'imageId': '69146937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975061&docid=69146946&x=4056',
		'title': '',
		'imageId': '69146946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975061&docid=69146956&x=4056',
		'title': '',
		'imageId': '69146956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975061&docid=69146955&x=4056',
		'title': '',
		'imageId': '69146955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975061&docid=69146968&x=4056',
		'title': '',
		'imageId': '69146968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975061&docid=69146969&x=4056',
		'title': '',
		'imageId': '69146969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975061&docid=69146970&x=4056',
		'title': '',
		'imageId': '69146970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975061&docid=69146971&x=4056',
		'title': '',
		'imageId': '69146971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975061&docid=69147001&x=4056',
		'title': '',
		'imageId': '69147001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975061';

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