var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205098&x=3646',
		'title': '',
		'imageId': '71205098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205100&x=3646',
		'title': '',
		'imageId': '71205100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205097&x=3646',
		'title': '',
		'imageId': '71205097',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205096&x=3646',
		'title': '',
		'imageId': '71205096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205114&x=3646',
		'title': '',
		'imageId': '71205114',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205115&x=3646',
		'title': '',
		'imageId': '71205115',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205101&x=3646',
		'title': '',
		'imageId': '71205101',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205099&x=3646',
		'title': '',
		'imageId': '71205099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205118&x=3646',
		'title': '',
		'imageId': '71205118',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205078&x=3646',
		'title': '',
		'imageId': '71205078',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205079&x=3646',
		'title': '',
		'imageId': '71205079',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205081&x=3646',
		'title': '',
		'imageId': '71205081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205080&x=3646',
		'title': '',
		'imageId': '71205080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205082&x=3646',
		'title': '',
		'imageId': '71205082',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205116&x=3646',
		'title': '',
		'imageId': '71205116',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205083&x=3646',
		'title': '',
		'imageId': '71205083',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205117&x=3646',
		'title': '',
		'imageId': '71205117',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205121&x=3646',
		'title': '',
		'imageId': '71205121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205132&x=3646',
		'title': '',
		'imageId': '71205132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058222&docid=71205133&x=3646',
		'title': '',
		'imageId': '71205133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4058222';

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