var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704809&x=2235',
		'title': '',
		'imageId': '30704809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704813&x=2235',
		'title': '',
		'imageId': '30704813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704814&x=2235',
		'title': '',
		'imageId': '30704814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704810&x=2235',
		'title': '',
		'imageId': '30704810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704812&x=2235',
		'title': '',
		'imageId': '30704812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704811&x=2235',
		'title': '',
		'imageId': '30704811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704825&x=2235',
		'title': '',
		'imageId': '30704825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704828&x=2235',
		'title': '',
		'imageId': '30704828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704838&x=2235',
		'title': '',
		'imageId': '30704838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704836&x=2235',
		'title': '',
		'imageId': '30704836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704826&x=2235',
		'title': '',
		'imageId': '30704826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704837&x=2235',
		'title': '',
		'imageId': '30704837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704843&x=2235',
		'title': '',
		'imageId': '30704843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704851&x=2235',
		'title': '',
		'imageId': '30704851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704856&x=2235',
		'title': '',
		'imageId': '30704856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2284906&docid=30704848&x=2235',
		'title': '',
		'imageId': '30704848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #2284906';

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