var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245453&x=93',
		'title': '',
		'imageId': '69245453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245452&x=93',
		'title': '',
		'imageId': '69245452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245456&x=93',
		'title': '',
		'imageId': '69245456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245461&x=93',
		'title': '',
		'imageId': '69245461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245465&x=93',
		'title': '',
		'imageId': '69245465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245468&x=93',
		'title': '',
		'imageId': '69245468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245463&x=93',
		'title': '',
		'imageId': '69245463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245464&x=93',
		'title': '',
		'imageId': '69245464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245462&x=93',
		'title': '',
		'imageId': '69245462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245469&x=93',
		'title': '',
		'imageId': '69245469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245470&x=93',
		'title': '',
		'imageId': '69245470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245471&x=93',
		'title': '',
		'imageId': '69245471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245458&x=93',
		'title': '',
		'imageId': '69245458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245460&x=93',
		'title': '',
		'imageId': '69245460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245459&x=93',
		'title': '',
		'imageId': '69245459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245467&x=93',
		'title': '',
		'imageId': '69245467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245457&x=93',
		'title': '',
		'imageId': '69245457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245466&x=93',
		'title': '',
		'imageId': '69245466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245454&x=93',
		'title': '',
		'imageId': '69245454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245455&x=93',
		'title': '',
		'imageId': '69245455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979431&docid=69245451&x=93',
		'title': '',
		'imageId': '69245451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979431';

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