var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3914620&docid=67039852&x=87',
		'title': '',
		'imageId': '67039852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914620&docid=67039847&x=87',
		'title': '',
		'imageId': '67039847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914620&docid=67039846&x=87',
		'title': '',
		'imageId': '67039846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914620&docid=67039849&x=87',
		'title': '',
		'imageId': '67039849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914620&docid=67039845&x=87',
		'title': '',
		'imageId': '67039845',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914620&docid=67039844&x=87',
		'title': '',
		'imageId': '67039844',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914620&docid=67039848&x=87',
		'title': '',
		'imageId': '67039848',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914620&docid=67039851&x=87',
		'title': '',
		'imageId': '67039851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914620&docid=67039843&x=87',
		'title': '',
		'imageId': '67039843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914620&docid=67039842&x=87',
		'title': '',
		'imageId': '67039842',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914620&docid=67039850&x=87',
		'title': '',
		'imageId': '67039850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3914620';

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