var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098261&x=3147',
		'title': '',
		'imageId': '71098261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098272&x=3147',
		'title': '',
		'imageId': '71098272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098263&x=3147',
		'title': '',
		'imageId': '71098263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098274&x=3147',
		'title': '',
		'imageId': '71098274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098260&x=3147',
		'title': '',
		'imageId': '71098260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098259&x=3147',
		'title': '',
		'imageId': '71098259',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098276&x=3147',
		'title': '',
		'imageId': '71098276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098271&x=3147',
		'title': '',
		'imageId': '71098271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098269&x=3147',
		'title': '',
		'imageId': '71098269',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098267&x=3147',
		'title': '',
		'imageId': '71098267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098257&x=3147',
		'title': '',
		'imageId': '71098257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098266&x=3147',
		'title': '',
		'imageId': '71098266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098262&x=3147',
		'title': '',
		'imageId': '71098262',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098265&x=3147',
		'title': '',
		'imageId': '71098265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098275&x=3147',
		'title': '',
		'imageId': '71098275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098264&x=3147',
		'title': '',
		'imageId': '71098264',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098273&x=3147',
		'title': '',
		'imageId': '71098273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098270&x=3147',
		'title': '',
		'imageId': '71098270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098258&x=3147',
		'title': '',
		'imageId': '71098258',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032123&docid=71098268&x=3147',
		'title': '',
		'imageId': '71098268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4032123';

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