var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906596&x=4129',
		'title': '',
		'imageId': '65906596',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906597&x=4129',
		'title': '',
		'imageId': '65906597',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906598&x=4129',
		'title': '',
		'imageId': '65906598',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906599&x=4129',
		'title': '',
		'imageId': '65906599',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906600&x=4129',
		'title': '',
		'imageId': '65906600',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906601&x=4129',
		'title': '',
		'imageId': '65906601',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906602&x=4129',
		'title': '',
		'imageId': '65906602',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906603&x=4129',
		'title': '',
		'imageId': '65906603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906604&x=4129',
		'title': '',
		'imageId': '65906604',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906605&x=4129',
		'title': '',
		'imageId': '65906605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906606&x=4129',
		'title': '',
		'imageId': '65906606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906607&x=4129',
		'title': '',
		'imageId': '65906607',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906608&x=4129',
		'title': '',
		'imageId': '65906608',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906609&x=4129',
		'title': '',
		'imageId': '65906609',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906593&x=4129',
		'title': '',
		'imageId': '65906593',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906592&x=4129',
		'title': '',
		'imageId': '65906592',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906594&x=4129',
		'title': '',
		'imageId': '65906594',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3840245&docid=65906595&x=4129',
		'title': '',
		'imageId': '65906595',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3840245';

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