var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010256&docid=69450122&x=3239',
		'title': '',
		'imageId': '69450122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010256&docid=69450123&x=3239',
		'title': '',
		'imageId': '69450123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010256&docid=69450129&x=3239',
		'title': '',
		'imageId': '69450129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010256&docid=69450126&x=3239',
		'title': '',
		'imageId': '69450126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010256&docid=69450125&x=3239',
		'title': '',
		'imageId': '69450125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010256&docid=69450128&x=3239',
		'title': '',
		'imageId': '69450128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010256&docid=69450127&x=3239',
		'title': '',
		'imageId': '69450127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010256&docid=69450124&x=3239',
		'title': '',
		'imageId': '69450124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010256&docid=69450131&x=3239',
		'title': '',
		'imageId': '69450131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010256&docid=69450130&x=3239',
		'title': '',
		'imageId': '69450130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010256';

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