var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3900368&docid=69078970&x=2345',
		'title': '',
		'imageId': '69078970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900368&docid=69078972&x=2345',
		'title': '',
		'imageId': '69078972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900368&docid=69078967&x=2345',
		'title': '',
		'imageId': '69078967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900368&docid=69078974&x=2345',
		'title': '',
		'imageId': '69078974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900368&docid=69078969&x=2345',
		'title': '',
		'imageId': '69078969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900368&docid=67411911&x=2345',
		'title': '',
		'imageId': '67411911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900368&docid=69078964&x=2345',
		'title': '',
		'imageId': '69078964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900368&docid=69078971&x=2345',
		'title': '',
		'imageId': '69078971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900368&docid=69078965&x=2345',
		'title': '',
		'imageId': '69078965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900368&docid=69078975&x=2345',
		'title': '',
		'imageId': '69078975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3900368';

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