var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500503&x=1731',
		'title': '',
		'imageId': '71500503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500492&x=1731',
		'title': '',
		'imageId': '71500492',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500493&x=1731',
		'title': '',
		'imageId': '71500493',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500488&x=1731',
		'title': '',
		'imageId': '71500488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500501&x=1731',
		'title': '',
		'imageId': '71500501',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500486&x=1731',
		'title': '',
		'imageId': '71500486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500480&x=1731',
		'title': '',
		'imageId': '71500480',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500481&x=1731',
		'title': '',
		'imageId': '71500481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500498&x=1731',
		'title': '',
		'imageId': '71500498',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500496&x=1731',
		'title': '',
		'imageId': '71500496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500490&x=1731',
		'title': '',
		'imageId': '71500490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500500&x=1731',
		'title': '',
		'imageId': '71500500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500494&x=1731',
		'title': '',
		'imageId': '71500494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500502&x=1731',
		'title': '',
		'imageId': '71500502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500484&x=1731',
		'title': '',
		'imageId': '71500484',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500479&x=1731',
		'title': '',
		'imageId': '71500479',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500478&x=1731',
		'title': '',
		'imageId': '71500478',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500477&x=1731',
		'title': '',
		'imageId': '71500477',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500482&x=1731',
		'title': '',
		'imageId': '71500482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500495&x=1731',
		'title': '',
		'imageId': '71500495',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500504&x=1731',
		'title': '',
		'imageId': '71500504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500487&x=1731',
		'title': '',
		'imageId': '71500487',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500489&x=1731',
		'title': '',
		'imageId': '71500489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500497&x=1731',
		'title': '',
		'imageId': '71500497',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500491&x=1731',
		'title': '',
		'imageId': '71500491',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500485&x=1731',
		'title': '',
		'imageId': '71500485',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500483&x=1731',
		'title': '',
		'imageId': '71500483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091233&docid=71500499&x=1731',
		'title': '',
		'imageId': '71500499',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4091233';

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