var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611285&x=3447',
		'title': '',
		'imageId': '67611285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611278&x=3447',
		'title': '',
		'imageId': '67611278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611281&x=3447',
		'title': '',
		'imageId': '67611281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611279&x=3447',
		'title': '',
		'imageId': '67611279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611284&x=3447',
		'title': '',
		'imageId': '67611284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611277&x=3447',
		'title': '',
		'imageId': '67611277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611275&x=3447',
		'title': '',
		'imageId': '67611275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611274&x=3447',
		'title': '',
		'imageId': '67611274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611280&x=3447',
		'title': '',
		'imageId': '67611280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611276&x=3447',
		'title': '',
		'imageId': '67611276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611283&x=3447',
		'title': '',
		'imageId': '67611283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908902&docid=67611282&x=3447',
		'title': '',
		'imageId': '67611282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3908902';

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