var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540500&x=5639',
		'title': '',
		'imageId': '70540500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540504&x=5639',
		'title': '',
		'imageId': '70540504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540505&x=5639',
		'title': '',
		'imageId': '70540505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540506&x=5639',
		'title': '',
		'imageId': '70540506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540507&x=5639',
		'title': '',
		'imageId': '70540507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540508&x=5639',
		'title': '',
		'imageId': '70540508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540509&x=5639',
		'title': '',
		'imageId': '70540509',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540510&x=5639',
		'title': '',
		'imageId': '70540510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540511&x=5639',
		'title': '',
		'imageId': '70540511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540512&x=5639',
		'title': '',
		'imageId': '70540512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540513&x=5639',
		'title': '',
		'imageId': '70540513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540514&x=5639',
		'title': '',
		'imageId': '70540514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540515&x=5639',
		'title': '',
		'imageId': '70540515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540516&x=5639',
		'title': '',
		'imageId': '70540516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540517&x=5639',
		'title': '',
		'imageId': '70540517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540518&x=5639',
		'title': '',
		'imageId': '70540518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540519&x=5639',
		'title': '',
		'imageId': '70540519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033311&docid=70540520&x=5639',
		'title': '',
		'imageId': '70540520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4033311';

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