var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981125&x=595',
		'title': '',
		'imageId': '69981125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981135&x=595',
		'title': '',
		'imageId': '69981135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981138&x=595',
		'title': '',
		'imageId': '69981138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981124&x=595',
		'title': '',
		'imageId': '69981124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981119&x=595',
		'title': '',
		'imageId': '69981119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981122&x=595',
		'title': '',
		'imageId': '69981122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981127&x=595',
		'title': '',
		'imageId': '69981127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981120&x=595',
		'title': '',
		'imageId': '69981120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981121&x=595',
		'title': '',
		'imageId': '69981121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981118&x=595',
		'title': '',
		'imageId': '69981118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981126&x=595',
		'title': '',
		'imageId': '69981126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981137&x=595',
		'title': '',
		'imageId': '69981137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981133&x=595',
		'title': '',
		'imageId': '69981133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981131&x=595',
		'title': '',
		'imageId': '69981131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981132&x=595',
		'title': '',
		'imageId': '69981132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981128&x=595',
		'title': '',
		'imageId': '69981128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981130&x=595',
		'title': '',
		'imageId': '69981130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981129&x=595',
		'title': '',
		'imageId': '69981129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981123&x=595',
		'title': '',
		'imageId': '69981123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981136&x=595',
		'title': '',
		'imageId': '69981136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981134&x=595',
		'title': '',
		'imageId': '69981134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010862&docid=69981270&x=595',
		'title': '',
		'imageId': '69981270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010862';

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