var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940501&x=821',
		'title': '',
		'imageId': '69940501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940504&x=821',
		'title': '',
		'imageId': '69940504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940505&x=821',
		'title': '',
		'imageId': '69940505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940506&x=821',
		'title': '',
		'imageId': '69940506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940507&x=821',
		'title': '',
		'imageId': '69940507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940510&x=821',
		'title': '',
		'imageId': '69940510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940509&x=821',
		'title': '',
		'imageId': '69940509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940508&x=821',
		'title': '',
		'imageId': '69940508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940511&x=821',
		'title': '',
		'imageId': '69940511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940513&x=821',
		'title': '',
		'imageId': '69940513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940514&x=821',
		'title': '',
		'imageId': '69940514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940515&x=821',
		'title': '',
		'imageId': '69940515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940518&x=821',
		'title': '',
		'imageId': '69940518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940517&x=821',
		'title': '',
		'imageId': '69940517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940519&x=821',
		'title': '',
		'imageId': '69940519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940520&x=821',
		'title': '',
		'imageId': '69940520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940521&x=821',
		'title': '',
		'imageId': '69940521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940522&x=821',
		'title': '',
		'imageId': '69940522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940523&x=821',
		'title': '',
		'imageId': '69940523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009153&docid=69940524&x=821',
		'title': '',
		'imageId': '69940524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009153';

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