var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908581&x=323',
		'title': '',
		'imageId': '67908581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908582&x=323',
		'title': '',
		'imageId': '67908582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908583&x=323',
		'title': '',
		'imageId': '67908583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908580&x=323',
		'title': '',
		'imageId': '67908580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908584&x=323',
		'title': '',
		'imageId': '67908584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908585&x=323',
		'title': '',
		'imageId': '67908585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908594&x=323',
		'title': '',
		'imageId': '67908594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908595&x=323',
		'title': '',
		'imageId': '67908595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908598&x=323',
		'title': '',
		'imageId': '67908598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908601&x=323',
		'title': '',
		'imageId': '67908601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908602&x=323',
		'title': '',
		'imageId': '67908602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908629&x=323',
		'title': '',
		'imageId': '67908629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908608&x=323',
		'title': '',
		'imageId': '67908608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908619&x=323',
		'title': '',
		'imageId': '67908619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908632&x=323',
		'title': '',
		'imageId': '67908632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908637&x=323',
		'title': '',
		'imageId': '67908637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908626&x=323',
		'title': '',
		'imageId': '67908626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908623&x=323',
		'title': '',
		'imageId': '67908623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908616&x=323',
		'title': '',
		'imageId': '67908616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908614&x=323',
		'title': '',
		'imageId': '67908614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908620&x=323',
		'title': '',
		'imageId': '67908620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908650&x=323',
		'title': '',
		'imageId': '67908650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908649&x=323',
		'title': '',
		'imageId': '67908649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920014&docid=67908605&x=323',
		'title': '',
		'imageId': '67908605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920014';

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