var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065076&x=564',
		'title': '',
		'imageId': '70065076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065067&x=564',
		'title': '',
		'imageId': '70065067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065082&x=564',
		'title': '',
		'imageId': '70065082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065077&x=564',
		'title': '',
		'imageId': '70065077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065078&x=564',
		'title': '',
		'imageId': '70065078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065074&x=564',
		'title': '',
		'imageId': '70065074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065081&x=564',
		'title': '',
		'imageId': '70065081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065066&x=564',
		'title': '',
		'imageId': '70065066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065065&x=564',
		'title': '',
		'imageId': '70065065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065069&x=564',
		'title': '',
		'imageId': '70065069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065070&x=564',
		'title': '',
		'imageId': '70065070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065068&x=564',
		'title': '',
		'imageId': '70065068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065071&x=564',
		'title': '',
		'imageId': '70065071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065072&x=564',
		'title': '',
		'imageId': '70065072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065073&x=564',
		'title': '',
		'imageId': '70065073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065083&x=564',
		'title': '',
		'imageId': '70065083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065080&x=564',
		'title': '',
		'imageId': '70065080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065064&x=564',
		'title': '',
		'imageId': '70065064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065084&x=564',
		'title': '',
		'imageId': '70065084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065079&x=564',
		'title': '',
		'imageId': '70065079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065085&x=564',
		'title': '',
		'imageId': '70065085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014432&docid=70065075&x=564',
		'title': '',
		'imageId': '70065075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014432';

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