var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786510&x=327',
		'title': '',
		'imageId': '69786510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786509&x=327',
		'title': '',
		'imageId': '69786509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786512&x=327',
		'title': '',
		'imageId': '69786512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786503&x=327',
		'title': '',
		'imageId': '69786503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786506&x=327',
		'title': '',
		'imageId': '69786506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786505&x=327',
		'title': '',
		'imageId': '69786505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786507&x=327',
		'title': '',
		'imageId': '69786507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786508&x=327',
		'title': '',
		'imageId': '69786508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786502&x=327',
		'title': '',
		'imageId': '69786502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786501&x=327',
		'title': '',
		'imageId': '69786501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786504&x=327',
		'title': '',
		'imageId': '69786504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003089&docid=69786511&x=327',
		'title': '',
		'imageId': '69786511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003089';

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