var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219807&x=2533',
		'title': '',
		'imageId': '1219807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219808&x=2533',
		'title': '',
		'imageId': '1219808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219809&x=2533',
		'title': '',
		'imageId': '1219809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219810&x=2533',
		'title': '',
		'imageId': '1219810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219812&x=2533',
		'title': '',
		'imageId': '1219812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219813&x=2533',
		'title': '',
		'imageId': '1219813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219814&x=2533',
		'title': '',
		'imageId': '1219814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219815&x=2533',
		'title': '',
		'imageId': '1219815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219816&x=2533',
		'title': '',
		'imageId': '1219816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219817&x=2533',
		'title': '',
		'imageId': '1219817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219818&x=2533',
		'title': '',
		'imageId': '1219818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=333193&docid=1219819&x=2533',
		'title': '',
		'imageId': '1219819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #333193';

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