var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67255652&x=3021',
		'title': '',
		'imageId': '67255652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67255658&x=3021',
		'title': '',
		'imageId': '67255658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67255656&x=3021',
		'title': '',
		'imageId': '67255656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67255653&x=3021',
		'title': '',
		'imageId': '67255653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67255654&x=3021',
		'title': '',
		'imageId': '67255654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67255655&x=3021',
		'title': '',
		'imageId': '67255655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67255657&x=3021',
		'title': '',
		'imageId': '67255657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544613&x=3021',
		'title': '',
		'imageId': '67544613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544616&x=3021',
		'title': '',
		'imageId': '67544616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544610&x=3021',
		'title': '',
		'imageId': '67544610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544615&x=3021',
		'title': '',
		'imageId': '67544615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544612&x=3021',
		'title': '',
		'imageId': '67544612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544611&x=3021',
		'title': '',
		'imageId': '67544611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544620&x=3021',
		'title': '',
		'imageId': '67544620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544609&x=3021',
		'title': '',
		'imageId': '67544609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544614&x=3021',
		'title': '',
		'imageId': '67544614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544621&x=3021',
		'title': '',
		'imageId': '67544621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544617&x=3021',
		'title': '',
		'imageId': '67544617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544623&x=3021',
		'title': '',
		'imageId': '67544623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544624&x=3021',
		'title': '',
		'imageId': '67544624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544625&x=3021',
		'title': '',
		'imageId': '67544625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544619&x=3021',
		'title': '',
		'imageId': '67544619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544622&x=3021',
		'title': '',
		'imageId': '67544622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894363&docid=67544618&x=3021',
		'title': '',
		'imageId': '67544618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3894363';

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