var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625140&x=1245',
		'title': '',
		'imageId': '69625140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625139&x=1245',
		'title': '',
		'imageId': '69625139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625143&x=1245',
		'title': '',
		'imageId': '69625143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625144&x=1245',
		'title': '',
		'imageId': '69625144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625145&x=1245',
		'title': '',
		'imageId': '69625145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625148&x=1245',
		'title': '',
		'imageId': '69625148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625150&x=1245',
		'title': '',
		'imageId': '69625150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625141&x=1245',
		'title': '',
		'imageId': '69625141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625149&x=1245',
		'title': '',
		'imageId': '69625149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625142&x=1245',
		'title': '',
		'imageId': '69625142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625146&x=1245',
		'title': '',
		'imageId': '69625146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996581&docid=69625147&x=1245',
		'title': '',
		'imageId': '69625147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3996581';

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