var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140609&x=853',
		'title': '',
		'imageId': '71140609',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140610&x=853',
		'title': '',
		'imageId': '71140610',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140611&x=853',
		'title': '',
		'imageId': '71140611',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140612&x=853',
		'title': '',
		'imageId': '71140612',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140613&x=853',
		'title': '',
		'imageId': '71140613',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140622&x=853',
		'title': '',
		'imageId': '71140622',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140628&x=853',
		'title': '',
		'imageId': '71140628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140629&x=853',
		'title': '',
		'imageId': '71140629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140634&x=853',
		'title': '',
		'imageId': '71140634',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140633&x=853',
		'title': '',
		'imageId': '71140633',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140635&x=853',
		'title': '',
		'imageId': '71140635',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140651&x=853',
		'title': '',
		'imageId': '71140651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140645&x=853',
		'title': '',
		'imageId': '71140645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140654&x=853',
		'title': '',
		'imageId': '71140654',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140656&x=853',
		'title': '',
		'imageId': '71140656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140657&x=853',
		'title': '',
		'imageId': '71140657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140658&x=853',
		'title': '',
		'imageId': '71140658',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055505&docid=71140608&x=853',
		'title': '',
		'imageId': '71140608',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055505';

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