var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3914471&docid=67755949&x=2443',
		'title': '',
		'imageId': '67755949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914471&docid=67755955&x=2443',
		'title': '',
		'imageId': '67755955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914471&docid=67755956&x=2443',
		'title': '',
		'imageId': '67755956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914471&docid=67755957&x=2443',
		'title': '',
		'imageId': '67755957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914471&docid=67755964&x=2443',
		'title': '',
		'imageId': '67755964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914471&docid=67755963&x=2443',
		'title': '',
		'imageId': '67755963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914471&docid=67755958&x=2443',
		'title': '',
		'imageId': '67755958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914471&docid=67755961&x=2443',
		'title': '',
		'imageId': '67755961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914471&docid=67755962&x=2443',
		'title': '',
		'imageId': '67755962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914471&docid=67755959&x=2443',
		'title': '',
		'imageId': '67755959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914471&docid=67755960&x=2443',
		'title': '',
		'imageId': '67755960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3914471';

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