var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651297&x=447',
		'title': '',
		'imageId': '67651297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651290&x=447',
		'title': '',
		'imageId': '67651290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651294&x=447',
		'title': '',
		'imageId': '67651294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651286&x=447',
		'title': '',
		'imageId': '67651286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651298&x=447',
		'title': '',
		'imageId': '67651298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651296&x=447',
		'title': '',
		'imageId': '67651296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651284&x=447',
		'title': '',
		'imageId': '67651284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651289&x=447',
		'title': '',
		'imageId': '67651289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651291&x=447',
		'title': '',
		'imageId': '67651291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651293&x=447',
		'title': '',
		'imageId': '67651293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651288&x=447',
		'title': '',
		'imageId': '67651288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651285&x=447',
		'title': '',
		'imageId': '67651285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651287&x=447',
		'title': '',
		'imageId': '67651287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651283&x=447',
		'title': '',
		'imageId': '67651283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651295&x=447',
		'title': '',
		'imageId': '67651295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909035&docid=67651292&x=447',
		'title': '',
		'imageId': '67651292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909035';

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