var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961355&x=215',
		'title': '',
		'imageId': '69961355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961350&x=215',
		'title': '',
		'imageId': '69961350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961353&x=215',
		'title': '',
		'imageId': '69961353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961342&x=215',
		'title': '',
		'imageId': '69961342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961357&x=215',
		'title': '',
		'imageId': '69961357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961338&x=215',
		'title': '',
		'imageId': '69961338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961359&x=215',
		'title': '',
		'imageId': '69961359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961340&x=215',
		'title': '',
		'imageId': '69961340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961347&x=215',
		'title': '',
		'imageId': '69961347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961348&x=215',
		'title': '',
		'imageId': '69961348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961349&x=215',
		'title': '',
		'imageId': '69961349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961351&x=215',
		'title': '',
		'imageId': '69961351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961358&x=215',
		'title': '',
		'imageId': '69961358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961339&x=215',
		'title': '',
		'imageId': '69961339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961344&x=215',
		'title': '',
		'imageId': '69961344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961343&x=215',
		'title': '',
		'imageId': '69961343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961345&x=215',
		'title': '',
		'imageId': '69961345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961346&x=215',
		'title': '',
		'imageId': '69961346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961360&x=215',
		'title': '',
		'imageId': '69961360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961356&x=215',
		'title': '',
		'imageId': '69961356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961341&x=215',
		'title': '',
		'imageId': '69961341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961352&x=215',
		'title': '',
		'imageId': '69961352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009302&docid=69961354&x=215',
		'title': '',
		'imageId': '69961354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009302';

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