var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970276&docid=69025449&x=5031',
		'title': '',
		'imageId': '69025449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970276&docid=69025645&x=5031',
		'title': '',
		'imageId': '69025645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970276&docid=69025444&x=5031',
		'title': '',
		'imageId': '69025444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970276&docid=69025445&x=5031',
		'title': '',
		'imageId': '69025445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970276&docid=69025644&x=5031',
		'title': '',
		'imageId': '69025644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970276&docid=69025448&x=5031',
		'title': '',
		'imageId': '69025448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970276&docid=69025451&x=5031',
		'title': '',
		'imageId': '69025451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970276&docid=69025446&x=5031',
		'title': '',
		'imageId': '69025446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970276&docid=69025447&x=5031',
		'title': '',
		'imageId': '69025447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970276&docid=69025450&x=5031',
		'title': '',
		'imageId': '69025450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970276';

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