var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078587&x=4242',
		'title': '',
		'imageId': '70078587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078589&x=4242',
		'title': '',
		'imageId': '70078589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078591&x=4242',
		'title': '',
		'imageId': '70078591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078592&x=4242',
		'title': '',
		'imageId': '70078592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078593&x=4242',
		'title': '',
		'imageId': '70078593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078594&x=4242',
		'title': '',
		'imageId': '70078594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078595&x=4242',
		'title': '',
		'imageId': '70078595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078596&x=4242',
		'title': '',
		'imageId': '70078596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078597&x=4242',
		'title': '',
		'imageId': '70078597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078598&x=4242',
		'title': '',
		'imageId': '70078598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078599&x=4242',
		'title': '',
		'imageId': '70078599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078600&x=4242',
		'title': '',
		'imageId': '70078600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078601&x=4242',
		'title': '',
		'imageId': '70078601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078602&x=4242',
		'title': '',
		'imageId': '70078602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078603&x=4242',
		'title': '',
		'imageId': '70078603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078604&x=4242',
		'title': '',
		'imageId': '70078604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078605&x=4242',
		'title': '',
		'imageId': '70078605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078606&x=4242',
		'title': '',
		'imageId': '70078606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078607&x=4242',
		'title': '',
		'imageId': '70078607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015153&docid=70078608&x=4242',
		'title': '',
		'imageId': '70078608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015153';

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