var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948547&x=314',
		'title': '',
		'imageId': '69948547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948549&x=314',
		'title': '',
		'imageId': '69948549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948591&x=314',
		'title': '',
		'imageId': '69948591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948583&x=314',
		'title': '',
		'imageId': '69948583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948584&x=314',
		'title': '',
		'imageId': '69948584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948587&x=314',
		'title': '',
		'imageId': '69948587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948597&x=314',
		'title': '',
		'imageId': '69948597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948551&x=314',
		'title': '',
		'imageId': '69948551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948572&x=314',
		'title': '',
		'imageId': '69948572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948560&x=314',
		'title': '',
		'imageId': '69948560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948548&x=314',
		'title': '',
		'imageId': '69948548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948567&x=314',
		'title': '',
		'imageId': '69948567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948555&x=314',
		'title': '',
		'imageId': '69948555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69966596&x=314',
		'title': '',
		'imageId': '69966596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69966597&x=314',
		'title': '',
		'imageId': '69966597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69966594&x=314',
		'title': '',
		'imageId': '69966594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948602&x=314',
		'title': '',
		'imageId': '69948602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948606&x=314',
		'title': '',
		'imageId': '69948606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948612&x=314',
		'title': '',
		'imageId': '69948612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948552&x=314',
		'title': '',
		'imageId': '69948552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948564&x=314',
		'title': '',
		'imageId': '69948564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948577&x=314',
		'title': '',
		'imageId': '69948577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69948600&x=314',
		'title': '',
		'imageId': '69948600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009548&docid=69966595&x=314',
		'title': '',
		'imageId': '69966595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009548';

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