var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974826&docid=69142169&x=417',
		'title': '',
		'imageId': '69142169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974826&docid=69142165&x=417',
		'title': '',
		'imageId': '69142165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974826&docid=69142168&x=417',
		'title': '',
		'imageId': '69142168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974826&docid=69142171&x=417',
		'title': '',
		'imageId': '69142171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974826&docid=69142174&x=417',
		'title': '',
		'imageId': '69142174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974826&docid=69142167&x=417',
		'title': '',
		'imageId': '69142167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974826&docid=69142170&x=417',
		'title': '',
		'imageId': '69142170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974826&docid=69142164&x=417',
		'title': '',
		'imageId': '69142164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974826&docid=69142172&x=417',
		'title': '',
		'imageId': '69142172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974826&docid=69142166&x=417',
		'title': '',
		'imageId': '69142166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974826&docid=69142173&x=417',
		'title': '',
		'imageId': '69142173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974826';

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