var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400464&x=5428',
		'title': '',
		'imageId': '71400464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400456&x=5428',
		'title': '',
		'imageId': '71400456',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400457&x=5428',
		'title': '',
		'imageId': '71400457',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400458&x=5428',
		'title': '',
		'imageId': '71400458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400459&x=5428',
		'title': '',
		'imageId': '71400459',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400460&x=5428',
		'title': '',
		'imageId': '71400460',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400461&x=5428',
		'title': '',
		'imageId': '71400461',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400462&x=5428',
		'title': '',
		'imageId': '71400462',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400463&x=5428',
		'title': '',
		'imageId': '71400463',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400465&x=5428',
		'title': '',
		'imageId': '71400465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400466&x=5428',
		'title': '',
		'imageId': '71400466',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400467&x=5428',
		'title': '',
		'imageId': '71400467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400468&x=5428',
		'title': '',
		'imageId': '71400468',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400469&x=5428',
		'title': '',
		'imageId': '71400469',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400470&x=5428',
		'title': '',
		'imageId': '71400470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400471&x=5428',
		'title': '',
		'imageId': '71400471',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066462&docid=71400472&x=5428',
		'title': '',
		'imageId': '71400472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4066462';

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