var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961920&x=1356',
		'title': '',
		'imageId': '69961920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961928&x=1356',
		'title': '',
		'imageId': '69961928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961922&x=1356',
		'title': '',
		'imageId': '69961922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961923&x=1356',
		'title': '',
		'imageId': '69961923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961936&x=1356',
		'title': '',
		'imageId': '69961936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961927&x=1356',
		'title': '',
		'imageId': '69961927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961930&x=1356',
		'title': '',
		'imageId': '69961930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961924&x=1356',
		'title': '',
		'imageId': '69961924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961918&x=1356',
		'title': '',
		'imageId': '69961918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961932&x=1356',
		'title': '',
		'imageId': '69961932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961919&x=1356',
		'title': '',
		'imageId': '69961919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961933&x=1356',
		'title': '',
		'imageId': '69961933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961926&x=1356',
		'title': '',
		'imageId': '69961926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961925&x=1356',
		'title': '',
		'imageId': '69961925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961934&x=1356',
		'title': '',
		'imageId': '69961934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961929&x=1356',
		'title': '',
		'imageId': '69961929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961935&x=1356',
		'title': '',
		'imageId': '69961935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961931&x=1356',
		'title': '',
		'imageId': '69961931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009312&docid=69961921&x=1356',
		'title': '',
		'imageId': '69961921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009312';

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