var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634323&x=319',
		'title': '',
		'imageId': '67634323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634181&x=319',
		'title': '',
		'imageId': '67634181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634184&x=319',
		'title': '',
		'imageId': '67634184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634187&x=319',
		'title': '',
		'imageId': '67634187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634203&x=319',
		'title': '',
		'imageId': '67634203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634232&x=319',
		'title': '',
		'imageId': '67634232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634243&x=319',
		'title': '',
		'imageId': '67634243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634256&x=319',
		'title': '',
		'imageId': '67634256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634263&x=319',
		'title': '',
		'imageId': '67634263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634268&x=319',
		'title': '',
		'imageId': '67634268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634235&x=319',
		'title': '',
		'imageId': '67634235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634271&x=319',
		'title': '',
		'imageId': '67634271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634279&x=319',
		'title': '',
		'imageId': '67634279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634285&x=319',
		'title': '',
		'imageId': '67634285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634291&x=319',
		'title': '',
		'imageId': '67634291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634296&x=319',
		'title': '',
		'imageId': '67634296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634326&x=319',
		'title': '',
		'imageId': '67634326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634301&x=319',
		'title': '',
		'imageId': '67634301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634327&x=319',
		'title': '',
		'imageId': '67634327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634332&x=319',
		'title': '',
		'imageId': '67634332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634341&x=319',
		'title': '',
		'imageId': '67634341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634344&x=319',
		'title': '',
		'imageId': '67634344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634190&x=319',
		'title': '',
		'imageId': '67634190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948294&docid=67634178&x=319',
		'title': '',
		'imageId': '67634178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948294';

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