var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759285&x=2711',
		'title': '',
		'imageId': '70759285',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759280&x=2711',
		'title': '',
		'imageId': '70759280',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759279&x=2711',
		'title': '',
		'imageId': '70759279',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759273&x=2711',
		'title': '',
		'imageId': '70759273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759278&x=2711',
		'title': '',
		'imageId': '70759278',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759284&x=2711',
		'title': '',
		'imageId': '70759284',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759286&x=2711',
		'title': '',
		'imageId': '70759286',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759282&x=2711',
		'title': '',
		'imageId': '70759282',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759271&x=2711',
		'title': '',
		'imageId': '70759271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759275&x=2711',
		'title': '',
		'imageId': '70759275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759272&x=2711',
		'title': '',
		'imageId': '70759272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759287&x=2711',
		'title': '',
		'imageId': '70759287',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759289&x=2711',
		'title': '',
		'imageId': '70759289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759281&x=2711',
		'title': '',
		'imageId': '70759281',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759276&x=2711',
		'title': '',
		'imageId': '70759276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759277&x=2711',
		'title': '',
		'imageId': '70759277',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759283&x=2711',
		'title': '',
		'imageId': '70759283',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759288&x=2711',
		'title': '',
		'imageId': '70759288',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=70759274&x=2711',
		'title': '',
		'imageId': '70759274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041023&docid=71418103&x=2711',
		'title': '',
		'imageId': '71418103',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4041023';

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