var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4050550&docid=71131470&x=3717',
		'title': '',
		'imageId': '71131470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050550&docid=71131469&x=3717',
		'title': '',
		'imageId': '71131469',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050550&docid=71131475&x=3717',
		'title': '',
		'imageId': '71131475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050550&docid=71131466&x=3717',
		'title': '',
		'imageId': '71131466',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050550&docid=71131467&x=3717',
		'title': '',
		'imageId': '71131467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050550&docid=71131471&x=3717',
		'title': '',
		'imageId': '71131471',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050550&docid=71131474&x=3717',
		'title': '',
		'imageId': '71131474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050550&docid=71131472&x=3717',
		'title': '',
		'imageId': '71131472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050550&docid=71131468&x=3717',
		'title': '',
		'imageId': '71131468',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050550&docid=71131473&x=3717',
		'title': '',
		'imageId': '71131473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050550&docid=71131465&x=3717',
		'title': '',
		'imageId': '71131465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4050550';

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